Game Dev Digest — Issue #112 - Programming For Fun
Tags: gamedev, unity3d, csharp, news
Published: 2021-10-01 13:31:46

---
title:  Game Dev Digest — Issue #112 - Programming For Fun
published: true
date: 2021-10-01 13:31:46 UTC
tags: gamedev,unity,csharp,news
canonical_url: https://gamedevdigest.com/digests/issue-112-programming-for-fun.html
series: Game Dev Digest - The Newsletter About Unity Game Dev
---

### Issue #112 - Programming For Fun

*This article was originally published on [GameDevDigest.com](https://gamedevdigest.com/digests/issue-112-programming-for-fun.html)*

![Issue #112 - Programming For Fun](https://gamedevdigest.com/assets/social-posts/issue-112.png)

Programming tips in this issue. Have some fun and learn something. Enjoy!

---

[**Speed up your programmer workflows**](https://blog.unity.com/technology/speed-up-your-programmer-workflows)  - In this third and final blog post in the series, we focus on workflows and the features that help programmers get more done in less time.
[_Unity_](https://blog.unity.com/technology/speed-up-your-programmer-workflows)

[**Database System in Unity using Resources and ScriptableObjects**](https://blog.theknightsofunity.com/database-system-in-unity-using-resources-and-scriptableobjects/)  - There is a high probability that you wanted to create a database and make it editable with ease for either a developer or a designer. There are a lot of ways of dealing with this problem, but the way we want to tackle this today is the most friendly from a Unity design perspective.
[_theknightsofunity.com_](https://blog.theknightsofunity.com/database-system-in-unity-using-resources-and-scriptableobjects/)

[**The Command pattern with Scriptable Objects**](https://bronsonzgeb.com/index.php/2021/09/25/the-command-pattern-with-scriptable-objects/)  - In this article, we’ll implement another classic programming pattern in Unity. This time, it’s the command pattern.
[_Bronson Zgeb_](https://bronsonzgeb.com/index.php/2021/09/25/the-command-pattern-with-scriptable-objects/)

[**Searching for a Non-Nullable Reference Type**](https://www.jacksondunstan.com/articles/7267)  - The inventor of null references has called them his billion dollar mistake. We’ve all felt that pain so many times. After a while it can seem like null references are inevitable. They’re just a built-in sharp edge we have to carefully avoid cutting ourselves on. But is this true? Is there some way we can avoid the possibility of a null reference in the first place? Today we’ll go searching for such a mythical type.
[_jacksondunstan.com_](https://www.jacksondunstan.com/articles/7267)

[**Agent actions as entities**](https://coffeebraingames.wordpress.com/2021/09/26/agent-actions-as-entities/)  - I’m going to share to you an ECS pattern that worked for us. The gist is that we modeled the agent actions as separate entities. Buckle up because this is going to be a long wild ride.
[_Coffee Brain Games_](https://coffeebraingames.wordpress.com/2021/09/26/agent-actions-as-entities/)

[**Difficulty Pacing in Puzzledorf: Reflections**](https://stuartspixelgames.com/2021/09/26/difficulty-pacing-in-puzzledorf-reflections/)  - Keep in mind, appropriate difficulty pacing is going to vary based upon many factors, including genre and target audience. I think I cover enough general principles to be useful as a guideline with any game.
[_stuartspixelgames.com_](https://stuartspixelgames.com/2021/09/26/difficulty-pacing-in-puzzledorf-reflections/)

[**Q1K3 – Making Of**](https://phoboslab.org/log/2021/09/q1k3-making-of?)  - This was my third time participating in the js13kGames contest. Play Q1K3 – An homage to Quake in 13kb of JavaScript. _[Not Unity, but still interesting nonetheless!]_
[_phoboslab.org_](https://phoboslab.org/log/2021/09/q1k3-making-of?)

[**Shopify Party**](https://twitter.com/pushmatrix/status/1442839002432802818?utm_source=pocket_mylist)  - We built an internal game at Shopify to make virtual hangouts more fun. It’s called Shopify Party, and I’d love to tell you all about it.
[_Daniel Beauchamp @pushmatrix_](https://twitter.com/pushmatrix/status/1442839002432802818?utm_source=pocket_mylist)

[**Procedurally generating a rounded box mesh**](https://wwwtyro.net/2021/09/24/rounded-box.html)  - If you haven’t heard the story about Steve Jobs, Bill Atkinson, and rounded corners, it’s a fun read. A big takeaway is that rounded corners are everywhere. Let’s take a look at procedurally generating a rounded box mesh.
[_wwwtyro.net_](https://wwwtyro.net/2021/09/24/rounded-box.html)

[**Unity 2021.2.0 Beta 14**](https://unity3d.com/unity/beta/2021.2.0b14)  - Unity 2021.2.0 Beta 14 has been released.
[_Unity_](https://unity3d.com/unity/beta/2021.2.0b14)

## Videos

[![Earth Slam Attack - Unity Engine Game VFX Tutorial](https://gamedevdigest.com/assets/images/7e422922a8ec5da4584815fbabf0aa11.png)](https://www.youtube.com/watch?v=zJR7jB-oTPA)
[**Earth Slam Attack - Unity Engine Game VFX Tutorial**](https://www.youtube.com/watch?v=zJR7jB-oTPA)  - An Earth Slam Attack VFX made in the Unity game engine.
[_A Bit Of Game Dev_](https://www.youtube.com/watch?v=zJR7jB-oTPA)

[**Procedural Recoil System | Unity Tutorial**](https://www.youtube.com/watch?v=geieixA4Mqc)  - In this tutorial I show you how to use recoil to make your guns a lot more punchy! Unfortunately this tutorial doesn't show you how to animate your weapons for the full recoil effect. If you are wanting something like that let me know! I would love to do a Game Study on one of your favourite game's recoil.
[_Gilbert_](https://www.youtube.com/watch?v=geieixA4Mqc)

[**Decals & Stickers in Unity Shader Graph and URP**](https://www.youtube.com/watch?v=f7iO9ernEmM)  - Decals have been available natively in HDRP for a while now, but not URP. Luckily, there are ways to add our own. In this tutorial, learn how to use some neat tricks involving space transformations and the depth buffer to make decals of our own which project a texture onto flat or curved surfaces!
[_Daniel Ilett_](https://www.youtube.com/watch?v=f7iO9ernEmM)

[**Hex Grid Movement in Unity 2021 P1 - Creating a hex grid**](https://www.youtube.com/watch?v=htZijEO7ZmE)  - In this tutorial we will a hex grid movement system in Unity 2021 in URP. It will be similar to what strategy games like Civilization or Heroes III has. First video will be about creating a HexGrid data structure to be able to find the neighbours of a hex tile. In the second video of this series we will create a shader that will help us later to show a range of movement. In the last video of this series we will add a character an implement a Breadth First Search algorithm to find how far our hero can move.
[_Sunny Valley Studio_](https://www.youtube.com/watch?v=htZijEO7ZmE)

[**How Utility AI Helps NPCs Decide What To Do Next | AI 101**](https://www.youtube.com/watch?v=p3Jbp2cZg3Q)  - Sometimes the AI in a videogame has lots of perfectly valid actions it can take, but deciding which one can be quite difficult. Utility AI is one approach to help solve it, by calculating how useful that action is based on the current context.
[_AI and Games_](https://www.youtube.com/watch?v=p3Jbp2cZg3Q)

[**Unity Animation Rigging Tutorial (Super Easy In Just 10 Minutes!)**](https://www.youtube.com/watch?v=CY789ni2QXI)  - It's totally possible to animate ANYTHING with Photoshop and Unity in just 10 minutes! Here's how!
[_Thomas Brush_](https://www.youtube.com/watch?v=CY789ni2QXI)

[**Simple Question Dialog in Unity! (Yes-No Ok-Cancel Unity Tutorial)**](https://www.youtube.com/watch?v=msCGC22vKQM)  - Learn how to make a simple but extremely useful Question Dialog Window in Unity! Perfect for asking the Player a question like "Do you want to Quit the game?", "Really change settings?" and so on. Also you can easily change the buttons from Yes/No to Ok/Cancel or anything else. Since the Question Dialog works with Delegates it is super adaptable to any scenario.
[_Code Monkey_](https://www.youtube.com/watch?v=msCGC22vKQM)

[**Adding a Spell Checker to Unity**](https://www.youtube.com/watch?v=QBMxmfl-_7M)  - Unity doesn't have a built in spell checking tool. So let's make one!
[_Game Dev Guide_](https://www.youtube.com/watch?v=QBMxmfl-_7M)

[**Unity Creator Spotlight: A Township Tale by Alta**](https://www.youtube.com/watch?v=6GdpcfNW9xw)  - Join the amazing team at Alta as they give us a crib tour of their open-world RPG VR game, A Township Tale. Boramy and Victor show us how they designed their procedurally generated biomes and cave systems, keep community engaged with a robust content strategy and manage a team of technical as well as non-technical employees by creating built-in Editor solutions.
[_Unity_](https://www.youtube.com/watch?v=6GdpcfNW9xw)

[**Unity Creator Spotlight: Boyfriend Dungeon by Kitfox Games**](https://www.youtube.com/watch?v=p_w-fneCNzM)  - How does a game like Boyfriend Dungeon come to life? We get the answers from the team at Kitfox! In this video, we discuss the origins and inspiration behind the game and get a look at the workflow behind the game’s narrative. We go into the engine to look at the physics system, gameplay, and more, all while answering questions from our community.
[_Unity_](https://www.youtube.com/watch?v=p_w-fneCNzM)

[**How I learned Unity in 3 simple* steps**](https://www.youtube.com/watch?v=vFjXKOXdgGo)  - Welcome to the first episode of Developing - a new series in which I create my own video game. I’m starting from the very first step: choosing a game engine and learning how to use it! *I mean, the steps are, like, *conceptually* simple. But actually really difficult in practice. So, yeah.
[_Game Maker's Toolkit_](https://www.youtube.com/watch?v=vFjXKOXdgGo)

## Assets

[![Magio - Interactive Effect Engine - URP/HDRP - BETA](https://gamedevdigest.com/assets/images/f6868d92-4f30-a7c6-96ae-79bdba8e6d5c.jpg)](https://assetstore.unity.com/packages/tools/particles-effects/magio-interactive-effect-engine-urp-hdrp-beta-203817?aid=1011l8NVc)
[**Magio - Interactive Effect Engine - URP/HDRP - BETA**](https://assetstore.unity.com/packages/tools/particles-effects/magio-interactive-effect-engine-urp-hdrp-beta-203817?aid=1011l8NVc)  - Spark your game with procedural magic effects, make your explosions burn the environment or puzzle players with elemental interactions, Magio can do it all. Magio comes with 6 performatic procedural effects and 3 High Quality variants aimed at games with high visual fidelity. You can also easily create your own or modify existing effect to work with Magio as all effects are done in Unity's Visual Effects Graph!

Core of Magio is to make any effect to fit any mesh or skinned mesh instantly and make it interactive with the surrounding effects and environmental variables. Ignite, spread, extinguish/nullify and customize effects as you will. Every effect will be unique, procedurally generated in real-time and fitted to the attached gameobjects.

Save $100 until 11th October 2021!
[_Arctibyte (OAVA)_](https://assetstore.unity.com/packages/tools/particles-effects/magio-interactive-effect-engine-urp-hdrp-beta-203817?aid=1011l8NVc) **Affiliate**

[**Voxels**](https://github.com/Tuntenfisch/Voxels?)  - GPU-based implementation of Dual Contouring in Unity for destructible voxel terrain.
[_Tuntenfisch_](https://github.com/Tuntenfisch/Voxels?) *Open Source*

[**Polyhydra**](https://github.com/IxxyXR/polyhydra-upm?)  - A toolkit for the procedural generation of geometric forms in Unity.
[_IxxyXR_](https://github.com/IxxyXR/polyhydra-upm?) *Open Source*

[**extTerrain2D - 2D Terrain for Unity**](https://github.com/Iam1337/extTerrain2D?)  - extTerrain2D is a tool dedicated to create 2D terrains by beizer curve. It generates a mesh with two materials (two submesh) and colliders.
[_Iam1337_](https://github.com/Iam1337/extTerrain2D?) *Open Source*

[**UnityNuGet**](https://github.com/xoofx/UnityNuGet?)  - This project provides a seamlessly integration of a curated list of NuGet packages within the Unity Package Manager.
[_xoofx_](https://github.com/xoofx/UnityNuGet?) *Open Source*

[**Dependencies Hunter Unity3D Tool**](https://github.com/AlexeyPerov/Unity-Dependencies-Hunter?)  - This tool finds unreferenced assets by scanning all files in your Unity project.
[_AlexeyPerov_](https://github.com/AlexeyPerov/Unity-Dependencies-Hunter?) *Open Source*

[**msgpack-unity3d**](https://github.com/deniszykov/msgpack-unity3d?)  - MessagePack and JSON serializer for Unity3D.
[_deniszykov_](https://github.com/deniszykov/msgpack-unity3d?) *Open Source*

[**extOSC - Open Sound Control Protocol for Unity**](https://github.com/Iam1337/extOSC?)  - extOSC (Open Sound Control Protocol) is a tool dedicated to simplify creation of applications with OSC protocol usage in Unity (Unity3d).
[_Iam1337_](https://github.com/Iam1337/extOSC?) *Open Source*

[**Native Collections**](https://github.com/jacksondunstan/NativeCollections?)  - A small library of native collections like NativeArray suitable to be used with Unity 2018.1 or greater. No additional packages (e.g. ECS or Burst) are required.
[_jacksondunstan_](https://github.com/jacksondunstan/NativeCollections?) *Open Source*

[**NaughtyCharacter**](https://github.com/dbrizov/NaughtyCharacter?)  - Third Person Controller for Unity.
[_dbrizov_](https://github.com/dbrizov/NaughtyCharacter?) *Open Source*

[**Project Verse**](https://github.com/xentripetal/ProjectVerse?)  - A fully moddable Farming and Trading game.
[_xentripetal_](https://github.com/xentripetal/ProjectVerse?) *Open Source*

[**Simple Finite State Machine for Unity (C#)**](https://github.com/thefuntastic/Unity3d-Finite-State-Machine?)  - State machines are a very effective way to manage game state, either on your main game play object (Game Over, Restart, Continue etc) or UI (buttonHover, buttonPress etc) or on individual actors and NPCs (AI behaviours, Animations, etc).
[_thefuntastic_](https://github.com/thefuntastic/Unity3d-Finite-State-Machine?) *Open Source*

[**DeepSnowFootprint**](https://github.com/ZGeng/DeepSnowFootprint?)  - A unity shader solution to generate footprints on thick snow surfaces.
[_ZGeng_](https://github.com/ZGeng/DeepSnowFootprint?) *Open Source*

[**WebXR Export**](https://github.com/De-Panther/unity-webxr-export?)  - Develop and export WebXR experiences using the Unity Engine.
It integrates the WebXR JavaScript API to Unity WebGL and lets you develop experiences in the familiar editor using C#.
[_De-Panther_](https://github.com/De-Panther/unity-webxr-export?) *Open Source*

[**AnotherFileBrowser**](https://github.com/SrejonKhan/AnotherFileBrowser?)  - Just another File Dialog for Unity, with easy implementation.
[_SrejonKhan_](https://github.com/SrejonKhan/AnotherFileBrowser?) *Open Source*

[**Water Demo**](https://github.com/shanecelis/water-demo)  - This is a port of Evan Wallace's Water Demo from WebGL to Unity.
I ported this as an exercise to investigate different real-time caustics implementations. I've only surveyed a handful of research papers on real-time caustics, but it seems like Evan's work would be suitable for publication for both its simplicity and performance.
[_shanecelis_](https://github.com/shanecelis/water-demo) *Open Source*

[**Unity Frame to Mouse Tool**](https://gitlab.com/-/snippets/2181425)  - When moving the scene view camera around the Unity editor, if you pan far enough the camera rotation gets wonky. This adds a tool to Unity to frame the camera without having to manually select an object to center the editor camera on.
[_avatar Jeiel Aranal_](https://gitlab.com/-/snippets/2181425) *Open Source*

[**CONVERT, EDIT, RECORD YOUR PHOTOS, VIDEOS AND GAMEPLAY**](https://www.humblebundle.com/software/convert-edit-record-photos-videos-gameplay-software?partner=unity3dreport)  - Capture, create, and convert! Save the moments that matter to you. Record them, edit them, and then convert them! In our new bundle, you’ll find everything you need to make memories, with software like Movavi Video Converter Premium 2021, Movavi Video Editor Plus 2021, and Movavi Screen Recorder 21. Plus, your purchase will support Make-A-Wish, JDRF Diabetes Foundation, and even Choose Your Own Charity!
[_Humble Bundle_](https://www.humblebundle.com/software/convert-edit-record-photos-videos-gameplay-software?partner=unity3dreport) **Affiliate**

## Spotlight

[![Boreal Tenebrae](https://gamedevdigest.com/assets/images/d17f5cc89de41711dee9ffbcba148e57.png)](https://www.reddeergames.com/games/boreal-tenebrae/)
[**Boreal Tenebrae**](https://www.reddeergames.com/games/boreal-tenebrae/)  - Boreal Tenebrae will take you on a retro-style adventure, with a mysterious atmosphere and horror elements. The game is inspired by 90s classics and the best TV series.
[_Snot Bubbles Productions_](https://www.reddeergames.com/games/boreal-tenebrae/)



---

You can subscribe to the free weekly newsletter on [GameDevDigest.com](https://gamedevdigest.com)

This post includes affiliate links; I may receive compensation if you purchase products or services from the different links provided in this article.