Game Dev Digest — Issue #96 - Programming and preparing your game
Tags: gamedev, unity3d, csharp, news
Published: 2021-05-28 11:27:38

---
title:  Game Dev Digest — Issue #96 - Programming and preparing your game
published: true
date: 2021-05-28 11:27:38 UTC
tags: gamedev,unity,csharp,news
canonical_url: https://gamedevdigest.com/digests/issue-96-programming-and-preparing-your-game.html
series: Game Dev Digest - The Newsletter About Unity Game Dev
---

### Issue #96 - Programming and preparing your game

*This article was originally published on [GameDevDigest.com](https://gamedevdigest.com/digests/issue-96-programming-and-preparing-your-game.html)*

![Issue #96 - Programming and preparing your game](https://gamedevdigest.com/assets/social-posts/issue-96.png)

Short but sweet this week. Tons of great tips packed into the list this week. Enjoy!

---

[**Game Programming: Time Slicing**](http://allenchou.net/2021/05/time-slicing/)  - What if the job takes too long to fit in a single frame? Or what if the job is just taking longer than we’d like? Then we can split the work across multiple frames. This is the core idea of time slicing, another optimization technique I picked up at work and one of my longtime favorites.
[_allenchou.net_](http://allenchou.net/2021/05/time-slicing/)

[**Preparing your game for deterministic netcode**](https://yal.cc/preparing-your-game-for-deterministic-netcode/)  - Deterministic netcode relies on each game client coming to an identical state given the same initial state and inputs per frame. _[and the [Hacker News](https://news.ycombinator.com/item?id=27253890) discussion]_
[_YellowAfterlife_](https://yal.cc/preparing-your-game-for-deterministic-netcode/)

[**Introduction to The P3 Optimization Framework**](https://thegamedev.guru/unity-performance/p3-optimization-framework/)  - A framework that whispers in your ear what your best next step is at any given point in your Unity optimization journey. A framework that takes you from zero to 72 FPS, from 72 to 90 FPS, from 90 to 120.
[_The Gamedev Guru_](https://thegamedev.guru/unity-performance/p3-optimization-framework/)

[**GPU Mesh Voxelizer Part 1**](https://bronsonzgeb.com/index.php/2021/05/22/gpu-mesh-voxelizer-part-1/)  - In this article, we’ll start porting my naive mesh voxelizer to a multithreaded mesh voxelizer that runs on the GPU through Compute Shaders. First, we’ll set up the compute shader to position all the voxel grid points. Then, we’ll draw the grid points directly from the Compute Buffer on the GPU. From there, we’ll discuss how we can use the Separating Axis Theorem (SAT) to test for collisions between voxels and triangles.
[_Bronson Zgeb_](https://bronsonzgeb.com/index.php/2021/05/22/gpu-mesh-voxelizer-part-1/)

[**How To Use Every Node in Unity Shader Graph**](https://danielilett.com/2021-05-20-every-shader-graph-node/)  - Shader Graph ships with a lot of nodes. Over 200, as of Shader Graph 10.2! With such a vast array of features at your disposal, it’s easy to get lost when you’re searching for the perfect way to make the shader you have in mind. This tutorial shows you every single node in action, complete with examples, explanations of every input and output, and even best practices for certain nodes!
[_danielilett.com_](https://danielilett.com/2021-05-20-every-shader-graph-node/)

[**8 Tips For Animating Active Ragdolls**](https://www.reddit.com/r/Unity3D/comments/nmec0u/8_tips_for_animating_active_ragdolls/)  - Got asked for some tips about how I animate my Active Ragdolls so here's a list of some of the techniques that I have learnt over the last few months to help save everyone some time.
[_reddit.com_](https://www.reddit.com/r/Unity3D/comments/nmec0u/8_tips_for_animating_active_ragdolls/)

[**Moving platforms in a 2D side scroller Unity game**](https://pavcreations.com/moving-platforms-in-a-2d-side-scroller-unity-game/)  - In a good 2D side-scroller game, moving platforms can pose quite a challenge to the player. They can be more tricky to pass since they do not remain static in one place. Their behavior changes over time and that often requires learning their movement patterns. It is a fun new element that you can add to your game. In this tutorial we are going to look into the implementation of reusable moving platforms. _[also read [this article](https://medium.com/nerd-for-tech/moving-platforms-in-unity-86d0c6f05d85) by James West]_
[_pavcreations.com_](https://pavcreations.com/moving-platforms-in-a-2d-side-scroller-unity-game/)

## Videos

[![I Made The Legend of Zelda but it's 3D](https://gamedevdigest.com/assets/images/6c25329276abab73074bdfcc28bfd371.png)](https://www.youtube.com/watch?v=Kp6LP-G-DGs)
[**I Made The Legend of Zelda but it's 3D**](https://www.youtube.com/watch?v=Kp6LP-G-DGs)  - I Made The Legend of Zelda but it's 3D... People seemed to really like what I did last time when I Made Super Mario Bros but it's 3D, so I decided to do the exact same thing again, but this time for the Legend of Zelda. This time I went all out because I recreated the entire overworld, including enemies and items.
[_CodyCantEatThis_](https://www.youtube.com/watch?v=Kp6LP-G-DGs)

[**How to Create Realtime VFX in Unity**](https://www.youtube.com/watch?v=2zzZaStaAbE)  - Ever wanted to learn the full process behind creating realtime VFX in unity? In this video, Sandra Ferri breaks down her amazing realtime VFX, and shows you exactly how you can re-create your own!
[_Stylized Station_](https://www.youtube.com/watch?v=2zzZaStaAbE)

[**Basics of Mipmaps in Unity Part 2! Shaders, Bias, and Texture2DLOD! | Game Dev Tutorial**](https://www.youtube.com/watch?v=2G0Sime3OH0)  - Mipmaps are scaled down versions of textures Unity generates which look and perform better when the texture shrinks on the screen. In this video, I wrap up this series on mipmaps by investigating how the renderer chooses which mip level to use and how you can influence this with SampleTexture2DLOD and mipmap biases. I also show how to sample textures outside of the fragment shader stage.
[_Ned Makes Games_](https://www.youtube.com/watch?v=2G0Sime3OH0)

[**Cloud Content Delivery technical workshop | Unity**](https://www.youtube.com/watch?v=J9XbISBpfp0)  - Rolling out regular content updates is crucial for any live game in order to keep players coming back. Making sure that the right players get the right content at the right time is just as important, and using a combination of efficient content management, cloud storage and a trusted content delivery network can help you achieve that goal.
[_Unity_](https://www.youtube.com/watch?v=J9XbISBpfp0)

## Assets

[![Mega Bundle Sale! Mega Bundles to chart your course](https://gamedevdigest.com/assets/images/37904b60-5479-cb6d-aed5-57c2e88a598c.jpg)](https://assetstore.unity.com/mega-bundles/chart-your-course?aid=1011l8NVc)
[**Mega Bundle Sale! Mega Bundles to chart your course**](https://assetstore.unity.com/mega-bundles/chart-your-course?aid=1011l8NVc)  - Save up to 95% on level-design assets to chart your course, create vast environments, and stylize your storytelling. Last days of the sale!

$14.99 Bundle - save up to 76%
This bundle contains: [Loading Screen Studio](https://assetstore.unity.com/packages/tools/gui/loading-screen-studio-169978?aid=1011l8NVc), [Swarm Of Bats](https://assetstore.unity.com/packages/vfx/particles/swarm-of-bats-46570?aid=1011l8NVc), [Umbra Boundary Builder](https://assetstore.unity.com/packages/tools/level-design/umbra-boundary-builder-68134?aid=1011l8NVc), and [Runtime Transform Gizmos](https://assetstore.unity.com/packages/tools/modeling/runtime-transform-gizmos-125537?aid=1011l8NVc).

$29.99 Bundle - save up to 83%
This bundle contains everything from the $14.99 bundle, plus [Dungeon Maker](https://assetstore.unity.com/packages/tools/level-design/dungeon-maker-184902?aid=1011l8NVc), [Fog Volume 3](https://assetstore.unity.com/packages/tools/particles-effects/fog-volume-3-81802?aid=1011l8NVc), [Jujube Map Editor | 3D Level Designer](https://assetstore.unity.com/packages/tools/game-toolkits/jujube-map-editor-3d-level-designer-176992?aid=1011l8NVc), [VertPaint](https://assetstore.unity.com/packages/tools/painting/vertpaint-100282?aid=1011l8NVc), and [Simple Waypoint System](https://assetstore.unity.com/packages/tools/animation/simple-waypoint-system-2506?aid=1011l8NVc).

$39.99 Bundle - save up to 95%
This bundle contains everything from the $14.99 and $29.99 bundles, plus [Grabbit - Editor Physics Transforms](https://assetstore.unity.com/packages/tools/utilities/grabbit-editor-physics-transforms-182328?aid=1011l8NVc), [TerraWorld - Automated Level Designer](https://assetstore.unity.com/packages/tools/terrain/terraworld-automated-level-designer-156561?aid=1011l8NVc), [Mesh Deformation Full Collection](https://assetstore.unity.com/packages/tools/modeling/mesh-deformation-full-collection-47061?aid=1011l8NVc), [Asset Usage Finder](https://assetstore.unity.com/packages/tools/utilities/asset-usage-finder-59997?aid=1011l8NVc), [Medieval Village Environment](https://assetstore.unity.com/packages/3d/environments/fantasy/medieval-village-environment-121867?aid=1011l8NVc), [Impostors - Runtime Optimization](https://assetstore.unity.com/packages/tools/utilities/impostors-runtime-optimization-188562?aid=1011l8NVc), [Advanced Terrain Grass](https://assetstore.unity.com/packages/tools/terrain/advanced-terrain-grass-100014?aid=1011l8NVc), [Fullscreen Editor](https://assetstore.unity.com/packages/tools/utilities/fullscreen-editor-69534?aid=1011l8NVc), [Mantis LOD Editor - Professional Edition](https://assetstore.unity.com/packages/tools/modeling/mantis-lod-editor-professional-edition-37086?aid=1011l8NVc), [Sci-Fi Effects](https://assetstore.unity.com/packages/vfx/particles/sci-fi-effects-20416?aid=1011l8NVc), [Technie Collider Creator](https://assetstore.unity.com/packages/tools/level-design/technie-collider-creator-62628?aid=1011l8NVc), [TileWorldCreator](https://assetstore.unity.com/packages/tools/level-design/tileworldcreator-29055?aid=1011l8NVc), [uContext Pro](https://assetstore.unity.com/packages/tools/level-design/ucontext-pro-141831?aid=1011l8NVc), [Task Atlas](https://assetstore.unity.com/packages/tools/utilities/task-atlas-185959?aid=1011l8NVc), and [DreamOS - Complete OS UI](https://assetstore.unity.com/packages/tools/gui/dreamos-complete-os-ui-188483?aid=1011l8NVc).
[_Unity_](https://assetstore.unity.com/mega-bundles/chart-your-course?aid=1011l8NVc)

[**Fast Play Mode**](https://github.com/DVGen/UnityTips/tree/main/FastPlayMode)  - Want to enter play mode faster in Unity? Starting with Unity 2019.3, you can disable a few options to enter play mode almost immediately. It is a big time saver during development. There are times when you still want to use the standard Domain Reload and Scene Reload options, so be sure to check out Unity's information below.
Watch the [video](https://www.youtube.com/watch?v=ikbJ6y-4Vv0), read [Unity's Blog Post](https://blog.unity.com/technology/enter-play-mode-faster-in-unity-2019-3Unity) and the [docs](https://docs.unity3d.com/2019.3/Documentation/Manual/ConfigurableEnterPlayMode.html)
[_DVGen_](https://github.com/DVGen/UnityTips/tree/main/FastPlayMode) *Open Source*

[**Asmdef Helper**](https://github.com/naninunenoy/AsmdefHelper)  - Unity assembly definition utilities. This library solves inconveniences of assembly definitions in unity.
[_naninunenoy_](https://github.com/naninunenoy/AsmdefHelper) *Open Source*

[**Persistity**](https://github.com/grofit/persistity)  - A pipeline based data persistence framework (a bit like ETL) for game developers for use with Unity, Monogame or other .net based engines/frameworks.
Its an async pipeline for handling complex extract/transform/load interactions for your models in any format (xml/json/binary out the box).
[_grofit_](https://github.com/grofit/persistity) *Open Source*

[**Unity HFSM**](https://github.com/Inspiaaa/UnityHFSM)  - A simple yet powerful hierarchical finite state machine for the Unity game engine. It is scalable and customisable by being class-based, but also supports functions (or lambdas) for fast prototyping. It has a special focus on the temporal aspects of state transitions, making it ideal for timing and synchronisation sensitive problems.
[_Inspiaaa_](https://github.com/Inspiaaa/UnityHFSM) *Open Source*

[**LeoEcsLite - Lightweight C# Entity Component System framework**](https://github.com/Leopotam/ecslite)  - Performance, zero/small memory allocations/footprint, no dependencies on any game engine - main goals of this project.
[_Leopotam_](https://github.com/Leopotam/ecslite) *Open Source*

[**HUMBLE SOFTWARE BUNDLE: MEGA SOUND DESIGNER LOOP CRATE VOL 2**](https://www.humblebundle.com/software/mega-sound-designer-loop-crate-vol-2-software?partner=unity3dreport)  - Loot Crate Vol 1 did so well, we’ve made another, featuring more than 13,000 royalty-free assets you can use to make music magic! Discover Mixcraft 9 Recording Studio, Voltage Modular Ignite, DCO-106 Synthesizer, and more in the new Mega Sound Designer Loop Crate Vol 2 bundle. Plus, your purchase helps support Little Kids Rock & Stop AAPI Hate!

$921 WORTH OF AWESOME STUFF
PAY $1 OR MORE
[_Humble Bundle_](https://www.humblebundle.com/software/mega-sound-designer-loop-crate-vol-2-software?partner=unity3dreport) **Affiliate**

[**HUMBLE SOFTWARE BUNDLE: ROYALTY-FREE RPG GAME DEVELOPMENT ASSETS**](https://www.humblebundle.com/software/royalty-free-rpg-game-dev-assets-software?partner=unity3dreport)  - Creating an RPG but don’t have a deft hand at art assets? Not everyone can be an artist or visual designer. Not to worry, thanks to GameDev Market and the RPG Game Dev bundle you’ll gain access to thousands of assets like Omega Modern Graphics Pack, RPG Game 1700+ Icons, Medieval Fantasy Characters, and Customisable Pixel Art Character Kit to help add some spark to your creations! Plus, your purchase helps support Child’s Play, AbleGamers, and our May Charity of the Month, Active Minds!

$436 WORTH OF AWESOME STUFF
PAY $1 OR MORE
[_Humble Bundle_](https://www.humblebundle.com/software/royalty-free-rpg-game-dev-assets-software?partner=unity3dreport) **Affiliate**

## Spotlight

[![Clan O’Conall](https://gamedevdigest.com/assets/images/36c44f86a898de7dcf558f49323c526c.png)](https://clanoconall.com/)
[**Clan O’Conall**](https://clanoconall.com/)  - Clan O’Conall is a 2D art-led action-adventure puzzle-platformer rich with Celtic folklore. Players strategically switch between three siblings, heirs to Chief Ardan’s throne, as they fight through the evil spirits and deadly bosses to stop Caoranach, the Mother of Demons, from killing their father, stealing the power of the Crown of the Stag, and ultimately igniting a new war between the Aos Sí and the mortals. A beautiful foray into Celtic mythology set alongside a rich soundtrack by Moonwalk Audio.

_[Get the game on [Steam](https://store.steampowered.com/app/843180/Clan_OConall_and_the_Crown_of_the_Stag/)]_
[_Hit Grab_](https://hitgrab.com/game/clan-oconall/)



---

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.