The blog

Everything I learn, written down.

Unity tutorials, devlogs and lessons from shipping mobile games solo: the code that worked, the mistakes that didn’t, and how to skip them.

Articles
8
Topics
4
RSS

Showing 8 articles

  • Tutorial4 min read

    A Unity inventory system with ScriptableObjects

    Items as ScriptableObject assets, slots as plain C#, stacking and splitting in two methods, and saves that still load after you rename or delete an item.

    Read

  • Tutorial4 min read

    Procedural dungeons in Unity with BSP

    Split the map until the pieces are room-sized, put a room in each, join every split with a corridor, and use a seed so one number always gives one dungeon.

    Read

  • Tutorial2 min read

    Object pooling in Unity, the built-in way

    Unity has shipped a generic object pool since 2021. How to use UnityEngine.Pool properly: prewarming, resetting state, and the one mistake that corrupts a pool.

    Read

  • Game design2 min read

    Why your mobile joystick feels wrong

    Three numbers decide whether an on-screen joystick feels sharp or mushy: the dead zone, the travel radius and where the stick’s centre sits.

    Read

  • Tutorial2 min read

    Save files that survive your next update

    A change to your save format can wipe a player’s progress. A version number, one migration step per version and a safe write stop it from ever happening.

    Read

  • Tutorial2 min read

    Enemy AI you can read at a glance

    A finite state machine in plain C#: patrol, chase and search as small classes, with every transition in one place. No behaviour tree required.

    Read