Game Dev Digest — Issue #219 - Level Up Your Code
Tags: gamedev, unity3d, csharp, news
Published: 2024-01-19 15:26:54

---
title:  Game Dev Digest — Issue #219 - Level Up Your Code
published: true
date: 2024-01-19 15:26:54 UTC
tags: gamedev,unity,csharp,news
canonical_url: https://gamedevdigest.com/digests/issue-219-level-up-your-code.html
series: Game Dev Digest - The Newsletter About Unity Game Dev
---

### Issue #219 - Level Up Your Code

*This article was originally published on [GameDevDigest.com](https://gamedevdigest.com/digests/issue-219-level-up-your-code.html)*

![Issue #219 - Level Up Your Code](https://gamedevdigest.com/assets/social-posts/issue-219.png)

Enjoy another week of tutorials, tips and good coding practices!

---

[**PID Controllers in Unity3D**](https://vazgriz.com/621/pid-controllers/?)  - This post will cover the use of PID controllers in video games. If you’ve ever used your car’s cruise control, flown a quadrocopter, or piloted a rocket, then there’s a good chance that you’ve used a PID controller. A PID controller is a type of control loop that’s used for automation.
[_vazgriz.com_](https://vazgriz.com/621/pid-controllers/?)

[**Custom SRP 2.4.0**](https://catlikecoding.com/unity/custom-srp/2-4-0/)  - Post FX Passes and Textures
[_catlikecoding.com_](https://catlikecoding.com/unity/custom-srp/2-4-0/)

[**When Random Numbers Are Too Random: Low Discrepancy Sequences**](https://blog.demofox.org/2017/05/29/when-random-numbers-are-too-random-low-discrepancy-sequences/)  - Random numbers can be useful in graphics and game development, but they have a pesky and sometimes undesirable habit of clumping together.
[_blog.demofox.org_](https://blog.demofox.org/2017/05/29/when-random-numbers-are-too-random-low-discrepancy-sequences/)

[**The Ten Commandments of Refactoring**](https://www.ahalbert.com/technology/2024/01/06/ten_commadments_of_refactoring.html?)  - Refactoring by Martin Fowler is a book showing how to refactor code - restructuring a codebase to improve it without changing its functionality. While I can’t share the entire catalog in a book review, I can share the general principles the author espouses for refactoring _[Also check out [Refactoring Legacy Code with the Strangler Fig Pattern](https://shopify.engineering/refactoring-legacy-code-strangler-fig-pattern) from Shopify]_
[_ahalbert.com_](https://www.ahalbert.com/technology/2024/01/06/ten_commadments_of_refactoring.html?)

[**Importance of Contrast (The Game Music of Jurassic World Primal Ops: GDC 2023)**](https://www.gamedeveloper.com/audio/importance-of-contrast-the-game-music-of-jurassic-world-primal-ops-gdc-2023-)  - A continuation of the article series based on Winifred Phillips’ top-rated GDC 2023 lecture discussing her award-winning Jurassic World Primal Ops musical score. Included: how to incorporate thematic material into a chaotic musical score.
[_gamedeveloper.com_](https://www.gamedeveloper.com/audio/importance-of-contrast-the-game-music-of-jurassic-world-primal-ops-gdc-2023-)

[**The Specification Design Pattern In C#: What You Need To Know**](https://www.devleader.ca/2024/01/11/the-specification-design-pattern-in-c-what-you-need-to-know/?)  - The Specification Design Pattern is a software design pattern that allows developers to create reusable, composable, and extensible specifications that can be used to select objects from a collection based on business rules. This pattern is useful for validating complex business rules and filtering objects from large collections in a clean and concise way. By implementing the Specification Design Pattern, software engineers can improve the readability, maintainability, and scalability of their code.
[_devleader.ca_](https://www.devleader.ca/2024/01/11/the-specification-design-pattern-in-c-what-you-need-to-know/?)

[**How to Texture Scooby-Doo Mystery Machine Van**](https://80.lv/articles/how-to-texture-scooby-doo-mystery-machine-van/)  - Jordi Cortés showed us the texturing workflow behind the Scooby-Doo Chevy SuperVan project, explained how every detail of the Mystery Machine was made in Mari and Maya, and shared some tips for artists.
[_80.lv_](https://80.lv/articles/how-to-texture-scooby-doo-mystery-machine-van/)

[**Dive into the URP 3D Sample**](https://blog.unity.com/engine-platform/dive-into-the-urp-3d-sample)  - This robust sample features four environments with different art styles, rendering paths, and scene complexity to help you learn how to create and scale rich graphics across many platforms. From low- to high-end mobile, PC to console, and VR, we wanted to make a visually engaging experience so you can better learn and use URP. The sample is designed to help you build, optimize, and scale your next game efficiently against your target hardware.
[_Unity_](https://blog.unity.com/engine-platform/dive-into-the-urp-3d-sample)

## Videos

[![How to Make Effective Indie Game Thumbnails and Press Kits (Asset Extraction, Design, + more)](https://gamedevdigest.com/assets/images/yt-IFvSuq77FQo.jpg)](https://www.youtube.com/watch?v=IFvSuq77FQo)
[**How to Make Effective Indie Game Thumbnails and Press Kits (Asset Extraction, Design, + more)**](https://www.youtube.com/watch?v=IFvSuq77FQo)  - Wowee there's a lot to talk about in this video. Here's 45 minutes of how to make effective indie game thumbnails and indie game press kits from the perspective of a content creator. This video is for both small and large content creators, as well as indie game developers, to give insight into the mindset of how I personally go about creating YouTube thumbnails and using assets from indie games.
[_Olexa_](https://www.youtube.com/watch?v=IFvSuq77FQo)

[**Better Singletons in Unity C#**](https://www.youtube.com/watch?v=LFOXge7Ak3E)  - Pure Singletons, Generic Singletons and even the Null Object Singleton in this video that will take you Zero to Hero with the Singleton Programming Pattern in Unity C#!
[_git-amend_](https://www.youtube.com/watch?v=LFOXge7Ak3E)

[**Level up your code with game programming design patterns: Object pool | Tutorial**](https://www.youtube.com/watch?v=U08ScgT3RVM)  - In this video, you’ll learn more about object pooling, how it can provide performance optimization by reducing the processing power required of the CPU to run repetitive create and destroy calls, and how to use it in your Unity projects.
[_Unity_](https://www.youtube.com/watch?v=U08ScgT3RVM)

[**Time Travel with VFX - 80 Level Podcast**](https://www.youtube.com/watch?v=gouOy_cDpU4)  - Trent Claus, VFX supervisor from Lola Visual Effects joined our podcast. Learn about the complex process of creating realistic aging effects for characters in major films: from the challenges of preserving actors' unique features to the intricacies of the facial anatomy. Trent shares fascinating insights into the evolution of VFX and how AI is shaping its future, as well as behind-the-scenes stories from top-tier movie projects, including Marvel Cinematic Universe.
[_80lv_](https://www.youtube.com/watch?v=gouOy_cDpU4)

[**How to make a City Builder! (High Level Overview feat. Pioneers of Pagonia)**](https://www.youtube.com/watch?v=DSycRC48r5c)  - Here's a high level overview on how to make a City Builder game using Pioneers of Pagonia as an example. These kinds of games involve some interesting mechanics like Building Types, Pathfinding, Task System, Time Control and a bunch more.
[_Code Monkey_](https://www.youtube.com/watch?v=DSycRC48r5c)

[**Drag & Drop anything in Unity - Inventory/Spells/World Placement/Trading**](https://www.youtube.com/watch?v=kz1IsNlTToc)  - hey Unity developers, if you're building a game you've probably needed to drag and drop something. Whether it's an ability an item or maybe you wanted to just place something into the world. In this video I'm going to show you exactly how to use the unity drag and drop system
[_Jason Weimann_](https://www.youtube.com/watch?v=kz1IsNlTToc)

## Assets

[![Unity Awards Asset Sale](https://gamedevdigest.com/assets/images/1705596300.png)](https://assetstore.unity.com/?on_sale=true&amp;orderBy=1&amp;rows=96&amp;aid=1011l8NVc)
[**Unity Awards Asset Sale**](https://assetstore.unity.com/?on_sale=true&amp;orderBy=1&amp;rows=96&amp;aid=1011l8NVc)  - Save 50% on award winning assets. Get these award-winning art and tool assets now, including: [Hot Reload - Edit Code Without Compiling](https://assetstore.unity.com/packages/tools/utilities/hot-reload-edit-code-without-compiling-254358?aid=1011l8NVc), [Gaia Pro 2023](https://assetstore.unity.com/packages/tools/terrain/gaia-pro-2023-terrain-scene-generator-263149?aid=1011l8NVc), [Feel](https://assetstore.unity.com/packages/tools/particles-effects/feel-183370?aid=1011l8NVc), [Text Animator](https://assetstore.unity.com/packages/tools/gui/text-animator-for-unity-254677?aid=1011l8NVc) and more!
[_Unity_](https://assetstore.unity.com/?on_sale=true&amp;orderBy=1&amp;rows=96&amp;aid=1011l8NVc) **Affiliate**

[**SDFTextureGenerator**](https://github.com/cecarlsen/SDFTextureGenerator?)  - Signed Distance Field (SDF) texture generator for Unity.
[_cecarlsen_](https://github.com/cecarlsen/SDFTextureGenerator?) *Open Source*

[**UExtension**](https://github.com/ls9512/UExtension?)  - UExtension is a basic type extension library for .Net and Unity projects. It integrates a large number of commonly used, efficient and convenient extension methods, which helps to greatly improve development efficiency.
[_ls9512_](https://github.com/ls9512/UExtension?) *Open Source*

[**unity-key-value-store**](https://github.com/gilzoide/unity-key-value-store?)  - Key-Value Store save system interface and implementations for Unity
[_gilzoide_](https://github.com/gilzoide/unity-key-value-store?) *Open Source*

[**FMOD-Syntax**](https://github.com/RoyTheunissen/FMOD-Syntax)  - Generates code to allow invoking FMOD events with a strongly-typed syntax.
[_RoyTheunissen_](https://github.com/RoyTheunissen/FMOD-Syntax) *Open Source*

[**Doinject**](https://github.com/mewlist/Doinject)  - Asynchronous DIContainer for Unity
[_mewlist_](https://github.com/mewlist/Doinject) *Open Source*

[**VTools**](https://github.com/VictorHHT/VTools)  - Victor Toolkit for Unity Game and Editor Development, including Custom Preview, Revelear, Hiearchy, Scene Loader, Snap To Surface, Editor Tween, Highlighter and more
[_VictorHHT_](https://github.com/VictorHHT/VTools) *Open Source*

[**unity-google-drive**](https://github.com/elringus/unity-google-drive)  - Google Drive SDK for Unity game engine
[_elringus_](https://github.com/elringus/unity-google-drive) *Open Source*

[**Compact Events**](https://assetstore.unity.com/packages/tools/utilities/compact-events-269481?aid=1011l8NVc)  - UnityEvents can now be collapsed and expanded just like a list!
[_GreenFrederik_](https://assetstore.unity.com/packages/tools/utilities/compact-events-269481?aid=1011l8NVc) **Affiliate**

[**Cinematic Explosions FREE**](https://assetstore.unity.com/packages/vfx/particles/fire-explosions/cinematic-explosions-free-257086?aid=1011l8NVc)  - FREE, high-quality, cinematic explosions w/ dynamic lighting.
[_Mirza Beig_](https://assetstore.unity.com/packages/vfx/particles/fire-explosions/cinematic-explosions-free-257086?aid=1011l8NVc) **Affiliate**

[**Universal UI SFX**](https://assetstore.unity.com/packages/audio/sound-fx/universal-ui-sfx-269513?aid=1011l8NVc)  - FREE 180+ Universal UI Sound Effects. Suitable for different styles and genres.
[_Pedro Hertz SFX_](https://assetstore.unity.com/packages/audio/sound-fx/universal-ui-sfx-269513?aid=1011l8NVc) **Affiliate**

[**The Complete Learn To Code Bundle**](https://www.humblebundle.com/software/complete-learn-to-code-bundle-2024-software?partner=unity3dreport)  - Coding for AI, games & more
Interested in learning about the intersection of game development and the rapidly advancing technologies driving AI? This bundle of video courses from Mammoth Interactive will get you up to speed! Learn how to implement, manage, and optimize large language models like GPT with the cutting edge toolkit Ollama. Drill down on the basics of popular game engines like Unity, Unreal, and Godot, hone your programming skills in languages like JavaScript and Python, and much more!
Pay what you want for this bundle of over 40 comprehensive courses and help support charity with your purchase!
[_Humble Bundle_](https://www.humblebundle.com/software/complete-learn-to-code-bundle-2024-software?partner=unity3dreport) **Affiliate**

## Spotlight

[![We Could Be Heroes](https://gamedevdigest.com/assets/images/yt-IsUR41tKe1U.jpg)](https://store.steampowered.com/app/2563030/We_Could_Be_Heroes/)
[**We Could Be Heroes**](https://store.steampowered.com/app/2563030/We_Could_Be_Heroes/)  - We Could Be Heroes is a retro style, action packed beat ‘em up in the style of classic 90s arcade titles. Featuring stunning pixel art, a huge array of attacks and destructible environments. Become a hero and fight bad guys while stopping crimes and rescuing innocent civilians along the way.

_[You can visit their [website](https://www.cebcode.com/) and wishlist it on [Steam](https://store.steampowered.com/app/2563030/We_Could_Be_Heroes/)]_
[_CebCode Games_](https://store.steampowered.com/app/2563030/We_Could_Be_Heroes/)



---

[![Call Of Dookie](https://gamedevdigest.com/assets/images/1705068448.png)](https://store.steampowered.com/app/2623680/Call_Of_Dookie/)

My game, Call Of Dookie. [Demo available on Steam](https://store.steampowered.com/app/2623680/Call_Of_Dookie/)

---

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.