Featured Articles:

Showing posts with label unity intermediate. Show all posts
Showing posts with label unity intermediate. Show all posts

Thursday, November 12, 2026

Saving and Loading In Unity (PlayerPrefs vs JSON vs Binary vs The ECS System, And Which One I Use)

I thought it was a good idea to write something about saving and loading in Unity. I get a lot of interest on the socials about what the best way is to save and load in Unity and how I implement it in my own games. There are actually several ways to do this, and it may sound scary at first, but it's actually really easy if you know what you're doing. Let's start with the basics and then gradually move on to a better way to do it. I'll also show you which method I use to save and load data in my projects. It really depends on what you want to save and what kind of game you're building. You can imagine that a simple game that only needs to store data like volume or resolution settings implements a different structure than a supermarket simulator that needs to store thousands of game objects and their locations.


Let's dive in!

Tuesday, November 10, 2026

Why Your Unity Physics Aren't Working: Rigidbody, Colliders, And Triggers Explained

Welcome to another blog post about one of my favorite systems in Unity. Physics! I love experimenting with it, and sometimes I just have an open test scene where I play around and see how many things I can demolish, or shoot as far into the sky as possible (particularly fun with a sphere that has a camera attached to it 🤪 But it can be quite frustrating if it doesn't behave the way you want it to. Well, there are three pieces of the puzzle: the Rigidbody in Unity, colliders, and triggers. 


Let me explain how they all work.

Tuesday, November 3, 2026

Your Unity Game Stutters Because You Keep Destroying Bullets: Object Pooling Explained

Welcome to another blog post about the trick that stops your game from stuttering every time the player holds down the fire button: object pooling in Unity. If you've ever built a shooter, a bullet hell, or anything that spawns lots of short-lived objects, you've probably felt it. Everything runs smoothly, and then the action heats up and the frame rate starts hiccuping.


Let's see what it is and how we can implement it to improve your frame rate!

Monday, September 7, 2026

Delegates, Events, Actions and Func in Unity: When to Use Each One

Welcome to another blog post about one of those C# topics that trips up almost every solo game developer at some point: delegates, events, Action, and Func. If you've ever stared at a tutorial and thought "okay but why would I use this over just calling a method directly," well, ..you're in the right place. 

Let's take a look shall we?