Game Dev Digest — Issue #89 - Code Driven
Tags: gamedev, unity3d, csharp, news
Published: 2021-04-09 12:27:02

---
title:  Game Dev Digest — Issue #89 - Code Driven
published: true
date: 2021-04-09 12:27:02 UTC
tags: gamedev,unity,csharp,news
canonical_url: https://gamedevdigest.com/digests/issue-89-code-driven.html
series: Game Dev Digest - The Newsletter About Unity Game Dev
---

### Issue #89 - Code Driven

*This article was originally published on [GameDevDigest.com](https://gamedevdigest.com/digests/issue-89-code-driven.html)*

![Issue #89 - Code Driven](https://gamedevdigest.com/assets/social-posts/issue-89.png)

Time to write some code! Shaders, animations, patterns and more. Enjoy!

---

[**Generate a Maze using Compute Shaders in Unity**](https://bronsonzgeb.com/index.php/2021/04/03/generate-a-maze-using-compute-shaders-in-unity/)  - This article covers the basics of Compute Shaders. We’ll generate a simple maze using a basic Compute Shader and the binary tree maze algorithm. This relatively simple explanation of Compute Shaders will serve us for more complex examples in future articles.
[_Bronson Zgeb_](https://bronsonzgeb.com/index.php/2021/04/03/generate-a-maze-using-compute-shaders-in-unity/)

[**Unity Shadergraph: How to properly use booleans in a shader?**](https://exiin.com/blog/unity-shadergraph-how-to-properly-use-booleans-in-a-shader/)  - Using Shadergraph the same way as a texture in substance designer is a huge trap!
[_exiin.com_](https://exiin.com/blog/unity-shadergraph-how-to-properly-use-booleans-in-a-shader/)

[**Dependencies**](https://www.notion.so/Dependencies-b1ee0ae718cf4aff95bd3c23c4887088)  - A Unity design pattern to handle GetComponent caching and dependencies. _[Also check out [Index](https://www.notion.so/Index-8c49dc7f08e241238ca8b933268d2661) - A Unity design pattern to handle global asset references]_
[_Lazlo's Unity Patterns & Tips_](https://www.notion.so/Dependencies-b1ee0ae718cf4aff95bd3c23c4887088)

[**Enter the Boss Room: our new multiplayer sample game**](https://blogs.unity3d.com/2021/04/08/enter-the-boss-room-our-new-multiplayer-sample-game/)  - Explore Unity’s new, experimental netcode library and the underlying patterns of a multiplayer game in our small scale cooperative RPG, Boss Room
[_Unity_](https://blogs.unity3d.com/2021/04/08/enter-the-boss-room-our-new-multiplayer-sample-game/)

[**Crouching controls in 2D pixel-perfect platformers**](https://pavcreations.com/crouching-controls-in-2d-pixel-perfect-platformers/)  - Crouching, next to jumping, can be found in many classic as well as modern indie platformers. It introduces another layer to character controls that can enhance the gameplay experience. From the perspective of game design, crouching expands our level building capabilities. We can now not only include platforms to jump over but also crawl under. In this tutorial we are going to look at an example of implementation of this simple yet powerful concept.
[_pavcreations.com_](https://pavcreations.com/crouching-controls-in-2d-pixel-perfect-platformers/)

[**CompressWebGL build manually from command line (brotli)**](https://unitycoder.com/blog/2021/04/07/compress-webgl-build-manually-from-command-line-brotli/)  - Building brotli compressed webgl release can take hours (if you have large 3d models in the project..), and you cannot do anything with the project while unity is compressing it. Solution: Make (really fast) uncompressed builds from unity, then compress the webgl data files manually from commandline!
[_unitycoder.com_](https://unitycoder.com/blog/2021/04/07/compress-webgl-build-manually-from-command-line-brotli/)

[**Unity 2021.2.0 Alpha 12**](https://unity3d.com/unity/alpha/2021.2.0a12)  - Unity 2021.2.0 Alpha 12 has been released.
[_Unity_](https://unity3d.com/unity/alpha/2021.2.0a12)

## Videos

[![Pixel Art Class - Fully Lit Isometric Tiles in Unity!](https://gamedevdigest.com/assets/images/0d593a99ddf8871af15a198c2afe4646.png)](https://www.youtube.com/watch?v=xpL44Ztyy1Q)
[**Pixel Art Class - Fully Lit Isometric Tiles in Unity!**](https://www.youtube.com/watch?v=xpL44Ztyy1Q)  - Hey Pals! Here's another video on isometric pixel art in Unity. I really love how this one came out, as I get to share a lot of the lessons I learned that were actually very frustrating to set up for me. There are a lot of pitfalls in this process so thankfully I can save you from all of them lol.
[_AdamCYounis_](https://www.youtube.com/watch?v=xpL44Ztyy1Q)

[**Active Ragdolls; What Are They And How They Work**](https://www.youtube.com/watch?v=hQub6caVlpY)  - Lorcan here, despite the wobbly feet of the torque ragdoll, I think I can say it was worth taking the time away from development to finally do this video. I've been sitting on all this footage of ragdoll experiments, driving family members crazy going on about Torque and force driven such and such, that's it's good to finally use it for something.
[_Birdmask Studio_](https://www.youtube.com/watch?v=hQub6caVlpY)

[**OVERWATCH REINHARDT'S SHIELD in Unity**](https://www.youtube.com/watch?v=m7GimQakt3A)  - Check out Reinhardt's Shield from Overwatch recreated in Unity! Such and awesome effect! The amount of shader shenanigans for this was a bit bigger then usual, but it was totally worth it, I think it came out nicely!
[_Gabriel Aguiar Prod._](https://www.youtube.com/watch?v=m7GimQakt3A)

[**Unity Basics - Shader Code in Universal Render Pipeline**](https://www.youtube.com/watch?v=gY1Mx4kkZPU)  - We've covered Shader Graph a lot on this channel, but so far we've largely avoided using shader code. There are plenty of resources for the built-in render pipeline, but not as many for URP - so in this installment of Unity Basics, we will cover vertex and fragment shaders in URP!
[_Daniel Ilett_](https://www.youtube.com/watch?v=gY1Mx4kkZPU)

[**Complete Procedural Animation In 25 Minutes**](https://www.youtube.com/watch?v=abrJ3LXjLzA)  - Procedural Animation and Inverse Kinematics - When you're too lazy to create keyframes, just write some code!
[_Timi Tayo_](https://www.youtube.com/watch?v=abrJ3LXjLzA)

[**How to use Animation Transitions (Unity Tutorial)**](https://www.youtube.com/watch?v=2_Hn5ZsUIXM)  - In this Unity game development tutorial we’re going look at how we can easily control when to transition from one animation to another from our scripts.
[_Ketra Games_](https://www.youtube.com/watch?v=2_Hn5ZsUIXM)

[**The Basics of SmoothStep, a Useful Shader Function in Unity URP | Game Dev Tutorial**](https://www.youtube.com/watch?v=I6HVbfMx2s4)  - SmoothStep is a very useful function, very often appearing in shaders. In this video, I explain how it works and go over how you can use it. Then, I show a few ways to incorporate it into your project!
[_Ned Makes Games_](https://www.youtube.com/watch?v=I6HVbfMx2s4)

[**Game Events - Power & Simplicity in Unity3D**](https://www.youtube.com/watch?v=lgA8KirhLEU)  - Learn how to use simple, easy to understand, scriptable objects with events to build an extensible and manageable game architecture or just solve the killer problems of cross referencing Unity3d gameobjects & prefabs across scenes.
[_Jason Weimann_](https://www.youtube.com/watch?v=lgA8KirhLEU)

[**Coding Shorts: Demystifying Bitwise Operators in C#**](https://www.youtube.com/watch?v=qWCUoLCRY38)  - In this video, I try and explain how binary and bitwise operators can work together with enumerations in C#.
[_swildermuth_](https://www.youtube.com/watch?v=qWCUoLCRY38)

[**How to make a Level Editor in Unity**](https://www.youtube.com/watch?v=eWBDuEWUOwc)  - In this beginner easy tutorial I will show you how to make a level editor for your game. this tutorial will try to create a similar idea to Super Mario Maker, but allows you to edit your levels while playing. I will go over how to create customisable items that can be placed anywhere with cool visual effects and more!
[_Zyger_](https://www.youtube.com/watch?v=eWBDuEWUOwc)

## Assets

[![Sprint into Spring Sale](https://gamedevdigest.com/assets/images/55885724-07ff-4d53-a33e-b7c0e8316a64.png)](https://assetstore.unity.com/spring-sale?aid=1011l8NVc)
[**Sprint into Spring Sale**](https://assetstore.unity.com/spring-sale?aid=1011l8NVc)  - The Spring Sale will officially begin this Monday on April 12!

The Spring Sale will have 500+ of our most popular assets at 50% off. You can [check out the sale](https://assetstore.unity.com/spring-sale?aid=1011l8NVc) now!

We are also bringing back our popular Daily Deals, one high value asset each day that is available at 70% off.
* Monday [GeNa Pro – Terrains, Villages, Roads & Rivers](https://assetstore.unity.com/packages/tools/terrain/gena-pro-terrains-villages-roads-rivers-183186?aid=1011l8NVc) (Save $100)
* Tuesday [Naninovel – Visual Novel Engine](https://assetstore.unity.com/packages/tools/game-toolkits/naninovel-visual-novel-engine-135453?aid=1011l8NVc) (Save $105)
* Wednesday [MicroSplat - Ultimate Bundle](https://assetstore.unity.com/packages/tools/terrain/microsplat-ultimate-bundle-180948?aid=1011l8NVc) (save $126)
* Thursday [Poly Art Animals Forest Set](https://assetstore.unity.com/packages/3d/characters/animals/poly-art-animals-forest-set-128568?aid=1011l8NVc) (Save $100)
* Friday [DETAILED - Medieval Castle](https://assetstore.unity.com/packages/3d/environments/fantasy/detailed-medieval-castle-178027?aid=1011l8NVc) (Save $97)
* and more each day until April 30th!
[_Unity_](https://assetstore.unity.com/spring-sale?aid=1011l8NVc) **Affiliate**

[**Unity Inspect+ Plugin**](https://github.com/yasirkula/UnityInspectPlus)  - This plugin helps you view an object's Inspector in a separate tab/window, copy&paste the values of variables in the Inspector and inspect all variables of an object (including non-serializable and static variables) in an enhanced Debug mode.
[_yasirkula_](https://github.com/yasirkula/UnityInspectPlus) *Open Source*

[**Fluid Behavior Tree**](https://github.com/ashblue/fluid-behavior-tree)  - Behavior trees for Unity3D projects. Written with a code driven approach to maximize maintainability on large projects with the builder pattern. _[You really should check out all of [Ash Blue's work](https://github.com/ashblue), including [Fluid Dialogue](https://github.com/ashblue/fluid-dialogue), [Oyster Package Generator](https://github.com/ashblue/oyster-package-generator) and more]_
[_Ash Blue_](https://github.com/ashblue/fluid-behavior-tree) *Open Source*

[**Tex2DArrayCreator.cs**](https://gist.github.com/Cyanilux/e672f328c4cafb361b490a5943c1c211)  - EditorWindow for creating & editing Texture 2D Arrays.
[_Cyanilux_](https://gist.github.com/Cyanilux/e672f328c4cafb361b490a5943c1c211) *Open Source*

[**UnityVolumeRendering**](https://github.com/mlavik1/UnityVolumeRendering)  - A volume renderer, made in Unity3D.
[_mlavik1_](https://github.com/mlavik1/UnityVolumeRendering) *Open Source*

[**HUMBLE BOOK BUNDLE: GAME DEV, DESIGN & GRAPHICS BY MERCURY**](https://www.humblebundle.com/books/game-dev-design-graphics-mercury-books?partner=unity3dreport)  - Stop dreaming about making games and start doing it! Grab ebooks like Game Dev, Design & Graphics by Mercury, Classic Game Design With Unity 2/E, and Photograph Enhancement Videos Using Photoshop CC 2021.
Plus, your purchase helps support Whale and Dolphin Conservation!
$1,180 WORTH OF AWESOME STUFF
PAY $1 OR MORE
[_Humble Bundle_](https://www.humblebundle.com/books/game-dev-design-graphics-mercury-books?partner=unity3dreport) **Affiliate**

[**HUMBLE SOFTWARE BUNDLE: INTRO TO CODE 2021**](https://www.humblebundle.com/software/intro-to-code-2021-software?partner=unity3dreport)  - With this brand new bundle, you’ll master the world’s most popular languages by building real, portfolio-ready projects. From building games in popular styles - including RPGs, strategy games, idle games, and more - to web development, mobile apps, data science, and machine learning, the skills you’ll learn can be expanded upon to form strong foundations for your future projects.
$1,400 WORTH OF AWESOME STUFF
PAY $1 OR MORE
_[You may also like the [Learn You More Code](https://www.humblebundle.com/books/learn-you-more-code-no-starch-press-books?partner=unity3dreport) bundle from Humble as well]_
[_Humble Bundle_](https://www.humblebundle.com/software/intro-to-code-2021-software?partner=unity3dreport) **Affiliate**

## Spotlight

[![Puzzledorf](https://gamedevdigest.com/assets/images/acf63332d1cb3731d7bf70f328b9600e.png)](https://stuartspixelgames.com/2021/04/09/puzzledorf-steam-page-live/)
[**Puzzledorf**](https://stuartspixelgames.com/2021/04/09/puzzledorf-steam-page-live/)  - It’s been a long journey getting to this point, and a long-time dream of mine to have a commercial game available on PC and Steam. Long before Steam ever existed I remember making small games with my friends on old commodore 64’s, Visual Basic, Game Maker and The Games Factory. At the time, all I wanted to make was either an RPG or a Sonic clone.

Well, now here I am putting my own mark on the gaming landscape with Puzzledorf. It’s not a Sonic-clone, but the world does give a bit of an RPG-type vibe, a sense of adventure from some of my favourite old classics. I really wanted to give players a sense that they were journeying through a magical world.

It really means a lot to me getting here. A lot has happened. But I am very pleased to be releasing this game soon, currently planned for release in July 2021.

I look forward to sharing the adventure with you.

_[Check out the [Steam page](https://store.steampowered.com/app/1580560/Puzzledorf/?beta=0)]_
[_Stuart's Pixel Games_](https://stuartspixelgames.com/2021/04/09/puzzledorf-steam-page-live/)



---

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.