Making a RTS game #26: Levelling up our units! 1/2 (Unity/C#)

Let’s continue our RTS and implement an upgrade system for our units!

Mina Pêcheux
C# Programming

--

⬅️ Tutorial #25: Implementing behaviour trees for our units 3/3| TOC | Tutorial #27: Levelling up our units! 2/2 ➡️

📕 Get the ebook and bonus material on Gumroad!
🚀 Find the code of this tutorial series on my Github!

The last episodes were quite dense — we learnt about a big programming pattern, the behaviour tree, and we applied it to our units to redesign their AI. Today, let’s go back to something a bit simpler: we’ll continue working on our units and focus on the upgrade, or level up, system.

The system in itself is not too hard to code up, but I will introduce various concepts to properly implement all of the features — so, once again, I’ll split it in two parts to make it more digestible :)

Today, we’ll introduce the ins-and-outs of our level up system, setup the overall process and start modifying our UI. Then, next time, we’ll see how to define custom evolution functions, we’ll finish up our UI, add some “level up sound” and even some VFX using shaders!

Designing our upgrade system

--

--

Mina Pêcheux
C# Programming

I’m a freelance full-stack web & game developer. I’m passionate about topics like CGI, music, data science and more! Find me at: https://minapecheux.com :)