Game Dev Digest — Issue #225 - Math, Optimization, Flash Deals and more!
Tags: gamedev, unity3d, csharp, news
Published: 2024-03-08 14:49:50

---
title:  Game Dev Digest — Issue #225 - Math, Optimization, Flash Deals and more!
published: true
date: 2024-03-08 14:49:50 UTC
tags: gamedev,unity,csharp,news
canonical_url: https://gamedevdigest.com/digests/issue-225-math-optimization-flash-deals-and-more.html
series: Game Dev Digest - The Newsletter About Unity Game Dev
---

### Issue #225 - Math, Optimization, Flash Deals and more!

*This article was originally published on [GameDevDigest.com](https://gamedevdigest.com/digests/issue-225-math-optimization-flash-deals-and-more.html)*

![Issue #225 - Math, Optimization, Flash Deals and more!](https://gamedevdigest.com/assets/social-posts/issue-225.png)

Some more interesting posts for you heading into the weekend. Plus don't miss those flash deals! Enjoy!

---

[**My favourite animation trick: exponential smoothing**](https://lisyarus.github.io/blog/programming/2023/02/21/exponential-smoothing.html)  - There’s a certain simple animation thing that I’ve been using almost since I’ve ever started doing anything related to graphics. I use it for rotating & moving the camera, for moving figures in a turn-based game, for moving UI elements, for smoothing volume changes in my audio lib, everywhere! So I decided I’ll write about it. The trick itself is nothing new, - in fact, you’ve probably already heard about or even used it, - but I’ll also show it in some examples and explain how it works mathematically :)
[_lisyarus.github.io_](https://lisyarus.github.io/blog/programming/2023/02/21/exponential-smoothing.html)

[**Ace of Aces: or, why you should Do Maths as a game designer**](https://paxsims.wordpress.com/2024/03/02/ace-of-aces-or-why-you-should-do-maths-as-a-game-designer/?)  - Every now and again you come across something that stretches your brain in a new direction. Last week I stumbled on a magic trick of a Choose Your Own Adventure: Al Leonardi’s Ace of Aces, a paper computer running a first-person shooter, programmed in 1980—eleven years before Wolfenstein 3D, the “first” first-person shooter.
[_paxsims.wordpress.com_](https://paxsims.wordpress.com/2024/03/02/ace-of-aces-or-why-you-should-do-maths-as-a-game-designer/?)

[**Helldivers 2 Trailers Review**](https://www.derek-lieu.com/blog/2024/3/3/helldivers-2-trailers-review?)  - The Helldivers 2 trailers are a great example of how easy it is to make a trailer which does not highlight a game's hooks and strengths. They are overall very well made, but there is one which stands out because of how much it DOESN'T stand out.
[_derek-lieu.com_](https://www.derek-lieu.com/blog/2024/3/3/helldivers-2-trailers-review?)

[**My thoughts on writing a Minecraft server from scratch (in Bash)**](https://sdomi.pl/weblog/15-witchcraft-minecraft-server-in-bash/)  - For the past year or so, I've been thinking about writing a Minecraft server in Bash as a thought excercise. I once tried that before with the Classic protocol (the one from 2009), but I quickly realized there wasn't really a way to properly parse binary data in bash. Take the following code sample:
[_sdomi.pl_](https://sdomi.pl/weblog/15-witchcraft-minecraft-server-in-bash/)

[**Optimizing Texture Memory (VRAM) & Size**](https://www.poiyomi.com/blog/2022-10-17-texture-optimization?)  - Here's some notes on optimizing texture size, on both worlds and avatars, to reduce VRAM usage and download size. These are geared toward PC optimization, but outside of specific formats, they apply to mobile platforms (like Quest) as well.
[_poiyomi.com_](https://www.poiyomi.com/blog/2022-10-17-texture-optimization?)

[**Refactoring C# Code – 4 Essential Techniques Simplified**](https://www.devleader.ca/2024/02/29/refactoring-c-code-4-essential-techniques-simplified/)  - I’ve been writing code for 20+ years, and along the way, I’ve written a ton of code that I needed to go back and refactor. It happens. In fact, it’s almost guaranteed if you want to keep a codebase alive as you’re evolving it. As a result, I’ve done a lot of refactoring C# code and want to share with you some simple refactoring techniques which can be especially useful if you’re just getting started.
[_devleader.ca_](https://www.devleader.ca/2024/02/29/refactoring-c-code-4-essential-techniques-simplified/)

[**VR Conservatory Part 1: Rainy Glass Shader**](https://www.toadstorm.com/blog/?p=742)  - My goal is to build a conservatory (the plants kind, not the music kind) because I like green spaces and growing plants in 3D. This is also sure to create exciting technical nightmares for me because plants are hard to optimize and transparency cheats are a real performance killer.
[_toadstorm.com_](https://www.toadstorm.com/blog/?p=742)

[**Deep Dive: How we got one million players to give a dam about Timberborn**](https://www.gamedeveloper.com/marketing/deep-dive-how-we-got-one-million-players-to-give-a-dam-about-timberborn?)  - Mechanistry comms manager Michal Amielanczyk reveals the marketing strategy that helped Timberborn's popularity soar with only two years in early access.
[_gamedeveloper.com_](https://www.gamedeveloper.com/marketing/deep-dive-how-we-got-one-million-players-to-give-a-dam-about-timberborn?)

## Videos

[![Learn C# Beginner Complete Course!](https://gamedevdigest.com/assets/images/yt-pReR6Z9rK-o.jpg)](https://www.youtube.com/watch?v=pReR6Z9rK-o)
[**Learn C# Beginner Complete Course!**](https://www.youtube.com/watch?v=pReR6Z9rK-o)  - Here is a FREE video with all the Video Lectures for the Beginner section of my complete C# course!
[_Code Monkey_](https://www.youtube.com/watch?v=pReR6Z9rK-o)

[**Unity Profiler Walkthrough & Tutorial | Unity**](https://www.youtube.com/watch?v=xjsqv8nj0cw)  - In this video, we look at an overview of the Unity Profiler in Unity 2022 LTS.
[_Unity_](https://www.youtube.com/watch?v=xjsqv8nj0cw)

[**Sprite Fusion - Obscenely Easy TileMap Editor with Godot and Unity Integration**](https://www.youtube.com/watch?v=q2asdl9Iwnc)  - Today we are checking out Sprite Fusion, a free browser based tilemap editor with integrated support for Godot, Unity, GB Studio as well as PNG and JSON exports. It makes creating tile based game levels super easy.
[_Gamefromscratch_](https://www.youtube.com/watch?v=q2asdl9Iwnc)

[**Don't use the Unity Animator, Use Code Instead! - Tutorial**](https://www.youtube.com/watch?v=I3_i-x9nCjs)  - Unity developers often create messy animator tabs. Animating like a programmer allows you to clean it up, and have more control of your animations. This is how to set up your animations in any project.
[_Small Hedge Games_](https://www.youtube.com/watch?v=I3_i-x9nCjs)

[**4 Game design Methods you NEED to Know!**](https://www.youtube.com/watch?v=sR7x9joEV-8)  - Are you struggling to design your next game? Well here are 4 Game Design Methods that could help you get you started!
[_IndieDev Corner_](https://www.youtube.com/watch?v=sR7x9joEV-8)

[**Horror Games Don't Have to be Scary...**](https://www.youtube.com/watch?v=tO_Qa9TRsr0)  - I was invited to make a game in 21 days for $3,000 against 5 other GameDevs. I Developed the Game in Unity, and this is a Devlog of the progress i made. Horror Games Dont actually have to be scary, theres plenty more that they can be, as emotions are at the foundation of the genre. This is by far the largest Game Development challenge ive ever been in, and im really proud of how i did.
[_Wishbone Games_](https://www.youtube.com/watch?v=tO_Qa9TRsr0)

[**EVERY Post-Processing effect in Unity | What you NEED to know**](https://www.youtube.com/watch?v=xxM6AUHqTMA)  - Unity went through a lot of changes when they introduced URP and HDRP, and so there's now a lot of outdated information about how to use post-processing.
[_Sasquatch B Studios_](https://www.youtube.com/watch?v=xxM6AUHqTMA)

## Assets

[![Flash Deals Are Back!](https://gamedevdigest.com/assets/images/1709907401.png)](https://assetstore.unity.com/?flashdeals=true&amp;aid=1011l8NVc)
[**Flash Deals Are Back!**](https://assetstore.unity.com/?flashdeals=true&amp;aid=1011l8NVc)  - Flash Deals assets start at 70% off and will drop to 60% off after 24 hours, and then to 50% off after another 24. New assets are added every 24 hours!
[_Unity_](https://assetstore.unity.com/?flashdeals=true&amp;aid=1011l8NVc) **Affiliate**

[**Game Dev Toolbox - Master Unity, Unreal Engine, Blender And More - Software Bundle**](https://www.humblebundle.com/software/game-dev-toolbox-master-unity-unreal-engine-blender?partner=unity3dreport)  - Become a versatile game developer

Looking to become a game developer? This bundle of video courses will serve as your foundation. Learn to create stunning in-game assets with Blender, ranging from stylized character models to detailed environments—and acquire the skills required to bring those creations to life in Unreal Engine. Master programming in C#, the versatile programming language that will help you work in Unity, create apps and games for Android, and much more.

Pay what you want for over 20 courses—a value of over $2,500—and help support charity Alzheimer's Research UK!
[_Humble Bundle_](https://www.humblebundle.com/software/game-dev-toolbox-master-unity-unreal-engine-blender?partner=unity3dreport) **Affiliate**

[**Game Architecture, World Building, And AI**](https://www.humblebundle.com/books/game-architecture-worldbuilding-and-ai-taylor-francis-books?partner=unity3dreport)  - Worldbuilding & more for game makers
Game makers aspiring and pro alike, don’t miss out on this bundle of books presenting a wealth of knowledge related to the subtler aspects of your craft. Once Upon a Pixel examines the storytelling and worldbuilding techniques driving recent hits like Red Dead Redemption 2 and The Last of Us. The Indie Game Developer Handbook runs you through all aspects of running a dev studio, from initial concept to release. Game Design Deep Dive: Platformers delves into the history and design evolution of this enduring genre.
Get all these books and more, valued at over $1,200, and help support the Hidden Genius Project!
[_Humble Bundle_](https://www.humblebundle.com/books/game-architecture-worldbuilding-and-ai-taylor-francis-books?partner=unity3dreport) **Affiliate**

[**Precomputed-Culling**](https://github.com/Prographers/Precomputed-Culling?)  - Public repository for Precomputed Culling.
[_Prographers_](https://github.com/Prographers/Precomputed-Culling?) *Open Source*

[**LineRenderer2D**](https://github.com/QThund/LineRenderer2D?)  - Scripts for rendering pixel-perfect GPU-calculated lines in 2D (Unity URP 2D Renderer).
[_QThund_](https://github.com/QThund/LineRenderer2D?) *Open Source*

[**Unity-Prefab-Collider-Generator**](https://github.com/ltmx/Unity-Prefab-Collider-Generator?)  - Unity PCG Generates a Box-Collider Encapsulating Every Child Mesh, Collider or Transform. _[Also [Unity Custom Primitives](https://github.com/ltmx/Unity-Custom-Primitives) by ltmx]_
[_ltmx_](https://github.com/ltmx/Unity-Prefab-Collider-Generator?) *Open Source*

[**MemorySnapshotAnalyzer**](https://github.com/facebookexperimental/MemorySnapshotAnalyzer?)  - Analysis tooling for memory snapshots of managed code runtimes, specifically, Unity Memory Snapshots.
[_facebookexperimental_](https://github.com/facebookexperimental/MemorySnapshotAnalyzer?) *Open Source*

[**LiteEntitySystem**](https://github.com/RevenantX/LiteEntitySystem?)  - Pure C# HighLevel API for multiplayer games
[_RevenantX_](https://github.com/RevenantX/LiteEntitySystem?) *Open Source*

[**Unity3D-Python-Communication**](https://github.com/offchan42/Unity3D-Python-Communication?)  - A very fast, simple, and general inter-process communication example between Unity3D C# and Python, using ZeroMQ
[_offchan42_](https://github.com/offchan42/Unity3D-Python-Communication?) *Open Source*

[**LSystemsInUnity**](https://github.com/pboechat/LSystemsInUnity?)  - L-System is a rewriting system used mainly to model the development of plants. L-Systems in Unity enables you to rapidly create plants in your Unity games. _[Also [Roadgen](https://github.com/pboechat/roadgen?), a Road network generation tool for Unity by pboechat]_
[_pboechat_](https://github.com/pboechat/LSystemsInUnity?) *Open Source*

[**serializereferenceeditor**](https://github.com/elmortem/serializereferenceeditor?)  - Unity SerializeReference Editor
[_elmortem_](https://github.com/elmortem/serializereferenceeditor?) *Open Source*

[**EditDistributionTools**](https://github.com/HashEdits/EditDistributionTools?)  - A collection of C# scripst to ease the distribution of modifications of fbx files in Unity
[_HashEdits_](https://github.com/HashEdits/EditDistributionTools?) *Open Source*

[**AI_Debugger**](https://github.com/TheWiselyBearded/AI_Debugger?)  - This repository contains a Unity-based AI debugging tool that leverages GPT Assistants for runtime analysis. At design time, it creates a pdf of all the code. At runtime, it scans environment for objects within a specified proximity and uses Reflection to gather information about their classes, methods, and variables.
[_TheWiselyBearded_](https://github.com/TheWiselyBearded/AI_Debugger?) *Open Source*

[**Flexi**](https://github.com/PhysaliaStudio/Flexi?)  - Ability System Framework for Unity
[_PhysaliaStudio_](https://github.com/PhysaliaStudio/Flexi?) *Open Source*

[**URP-Fog-Volumes**](https://github.com/sinnwrig/URP-Fog-Volumes?)  - Implementation of Raymarched Volumetric Fog in Unity's Universal Render Pipeline
[_sinnwrig_](https://github.com/sinnwrig/URP-Fog-Volumes?) *Open Source*

[**UnityTilemapMask**](https://github.com/CalmlyGrass/UnityTilemapMask?)  - SpriteMask component but for Tilemaps
[_CalmlyGrass_](https://github.com/CalmlyGrass/UnityTilemapMask?) *Open Source*

[**lithium-ui**](https://github.com/Niikelion/lithium-ui?)  - reactive ui framework for Unity based on UI Elements
[_Niikelion_](https://github.com/Niikelion/lithium-ui?) *Open Source*

[**RTSCameraController-Cinemachine**](https://github.com/Nickk888SAMP/RTSCameraController-Cinemachine?)  - A RTS style Camera Controller for Unity 3D's Cinemachine system.
[_Nickk888SAMP_](https://github.com/Nickk888SAMP/RTSCameraController-Cinemachine?) *Open Source*

[**The Best of Synty Game Dev Assets #2**](https://www.humblebundle.com/software/best-synty-game-dev-assets-2-remix-software?partner=unity3dreport)  - Build a low-poly wonderland. Bring your game to life with this massive bundle of distinctive, stylized low-poly 3D assets from Synty! You’ll get assets usable in Unity and Unreal to fit a wide spectrum of settings—everything from Ancient Rome and various flavors of the modern day, to far-future sci-fi! Included are dozens upon dozens of characters, buildings, interior and environmental props, special effects, and more. Craft grand Greek-inspired temples, neon-drenched urban nightclubs, and sleek, deadly starships, and people them memorable characters appropriate to their settings. Pay what you want for this jam-packed bundle and help support Girls Who Code with your purchase!
[_Humble Bundle_](https://www.humblebundle.com/software/best-synty-game-dev-assets-2-remix-software?partner=unity3dreport) **Affiliate**

[**Become An Audio Hero With Royalty Free Music And Sound Effects**](https://www.humblebundle.com/software/become-an-audio-hero-with-royalty-free-music-and-sound-effects-bundle-software?partner=unity3dreport)  - Your audio needs solved, forever. Creators of all stripes, this is the all-inclusive audio bundle you’ve been waiting for! Within you’ll find a treasure trove of royalty-free, forever-licensed music and sound effects perfect for whatever your project. Are you scoring an action flick? Need a suitable soundtrack for your game or VR project? Looking for a slick sound package for your YouTube channel? This bundle has you covered. Pay what you want for over $3,500 worth of stellar audio assets and help support the Children’s Miracle Network.
[_Humble Bundle_](https://www.humblebundle.com/software/become-an-audio-hero-with-royalty-free-music-and-sound-effects-bundle-software?partner=unity3dreport) **Affiliate**

[**DragonECS**](https://github.com/DCFApixels/DragonECS?)  - C# Entity Component System framework
[_DCFApixels_](https://github.com/DCFApixels/DragonECS?) *Open Source*

[**unity-addressable-importer**](https://github.com/favoyang/unity-addressable-importer?)  - A rule based addressable asset importer
[_favoyang_](https://github.com/favoyang/unity-addressable-importer?) *Open Source*

[**DevLocker**](https://github.com/NibbleByte/DevLocker?)  - Tools and other good stuff for Unity
[_NibbleByte_](https://github.com/NibbleByte/DevLocker?) *Open Source*

[**Publisher Of The Week Sale**](https://assetstore.unity.com/publisher-sale?aid=1011l8NVc)  - 50% off Neo Star Studios. Neo Star Studios specializes in crafting high-quality 3D assets that prioritize performance efficiency to meet the needs of indie developers. Elevate your game with their studio’s blend of creativity and efficiency. PLUS, get [Vast Desert Environment](https://assetstore.unity.com/packages/package/id/199543?aid=1011l8NVc) for FREE with code NEOSTAR
[_Unity_](https://assetstore.unity.com/publisher-sale?aid=1011l8NVc) **Affiliate**

## Spotlight

[![Old School Rally](https://gamedevdigest.com/assets/images/yt-UoM0bz7zZH8.jpg)](https://store.steampowered.com/app/2824660/Old_School_Rally/)
[**Old School Rally**](https://store.steampowered.com/app/2824660/Old_School_Rally/)  - A nostalgic racing game that combines the charm of classic retro style visuals with the thrill of international rally competitions.

_[You can ge tthe game in Early Access on [Steam](https://store.steampowered.com/app/2824660/Old_School_Rally/) and follow them on [Twitter](https://twitter.com/Sakis25/status/1763686453106659505)]_
[_Frozen Lake Games_](https://store.steampowered.com/app/2824660/Old_School_Rally/)



---

[![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.