So I have a level editor for Exon. It’s still a bit sketchy around the edges, but it does the job: I can place decorations and modify terrain and live happily ever after.
But in a singleplayer RPG, decorations and terrain are only half the battle. These things have no life but the life I build into them, and that means I need a level scripting system.
Can you see where this is going? Oh yes.
The wonderful world of Unity editor tools is one of the most complex and irritating worlds I’ve ever had the pleasure to explore. Alas, it is one that I have to explore because I want to make it very easy to build levels for Exon. I want it to be as easy as farting out Warcraft III maps was, back in the day. Once I’ve built the engine and all the relevant bits, I want to shut Visual Studio down and never write another line of code for the rest of my life.
To get even close to that ideal, I have to go through a whole WORLD of pain — and the realisation that maybe, just maybe, one bloke in his bedroom can’t hold a candle to one of the greatest engineering marvels of the videogame world. Whatever happens here, nobody will be building the next DotA inside Exon.
I’ve made no secret of the fact that Exon‘s core loop is based on Westwood’s classic and criminally-underrated action-RPG Nox. This manifests itself most clearly in the movement system: hold the right mouse button to cause your hero to walk towards the cursor, leading them around the world like a little mouse following the cheese.
Similarly, I took the melee attack system, where each click causes a single sword slash, damaging whatever has the poor fortune of standing in your blade’s path.
Except then I realised that, actually, I didn’t. Nox has a more complex and interesting “stamina” system controlling its attacks than my naive cooldown attempt, and it contributes immensely to all the feelings I had been struggling to recapture.