Game Development

Blog 809: Raiding the Datavault

I was starting to flesh out the third section of the tutorial when I realised I was missing a screen. (What do you mean, I keep getting distracted from the minimum shippable vertical slice level?) One of the primary ways you’ll be able to get into places you’re not supposed to be is by finding the codes to keypad locks, except… well, then you need somewhere to store those codes, so you don’t forget them. You need a Notepad.

Then I realised that there was another missing piece of the datavault: the area map. How can you find your way around without a map? (Quite easily, my levels are not going to be particularly large, but indulge me, please.)

Continue reading “Blog 809: Raiding the Datavault”
Game Development

Blog 808: The Trigger Editor (Part 2)

The saga of me wrangling Unity into my personal level editor continues. A few weeks ago I started using Polymorphic Serialisation for my trigger conditions and actions and — so far — this is actually holding up pretty well. There was one annoyance, however, in that adding an action using the list controls created an unsightly empty/null element that you… couldn’t actually do anything with.

Except now I’ve worked out how to do something with it, and it’s simplified a whole heap of other stuff!

Continue reading “Blog 808: The Trigger Editor (Part 2)”
Game Development

Blog 805: Polymorphic Serialisation

I wrote recently of how I intend to tackle scenario-level logic in Exon; not systems like equipment handling or projectile weapon firing, but random bits of hyper-specific “bloke talks to you when you enter his house” or “quest updates when you acquire item” type stuff. This system works but has a few quirks that I’m not entirely comfortable with, so I’ve taken my life in my hands and started to look at a Unity feature that is quite fresh but seems to alleviate those concerns…

Continue reading “Blog 805: Polymorphic Serialisation”
Game Development

Blog 803: Getting Stacked

I’ve had the first pass at Exon‘s inventory screen up and running for a while now, so it’s high time I refined it further. I was using a Slug Rifle the other day and realised that while I put this gun on sale, I didn’t actually put any ammunition for it on sale, and that led me to questions of how ammunition should be handled at all. Which in turn led me to item stacking.

Item stacking is a fun one because, on the face of it, it’s very easy: you just assign a number of “charges” to a particular item, count them up as you find copies of the same item, and count them down with each use.

Oh, my sweet summer child.

Continue reading “Blog 803: Getting Stacked”
Game Development

Blog 802: Buffs

For those that didn’t grow up modding Warcraft III: a “buff” is some lasting effect that is applied to a unit, such as it being stunned or on fire. Needless to say, Exon has lasting effects too. It’s not all impact-and-forget; mechs need to get stunned and corroded and all sorts of other things I haven’t thought of yet.

How hard can it be? You just stick the thing in a list and count down the timer until you turn it off… right?

Ahahahaha.

Continue reading “Blog 802: Buffs”
Game Development

Blog 790: Triggers

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.

Continue reading “Blog 790: Triggers”

Game Development

Blog 789: Exon World Editor

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.

Continue reading “Blog 789: Exon World Editor”