The world seems to have gone to hell. Countries are on the verge of collapsing, economies held together with sticky tape and Pritt stick, kids getting beaten up by police on the streets of London and Liberals turning out to be utter sell-outs.
Yet for some reason that I can’t quite fathom, when I should be at my most radical, with all of my activist engines on full boost, I am excited about my trade. My trade? Video games. That’s right. I’m so very excited about games, about making them, playing them, learning about them.
I’ve talked about making games with a message, subversive games, but that’s not why I’m loving them at the moment. My guess is that coding is a problem I enjoy solving and something over which I have some control. It is an area in which I can experiment, ask questions and get answers.
I’m still kind of dumbfounded that I have anything at all on the screen and despite my tardiness in recent times, I have made great strides and the results of that will be visible soon.
I managed to get boost::signals (or is it the single ‘s’? I can never remember) working. I had to drag the source for the signals library into my Xcode project, but that worked just fine. I also updated to the latest version of Xcode 4 and I’m particularly enjoying the Assistant mode, but I can’t really talk about that I don’t think, so let’s stop right there.
I am really surprised at just how powerful boost::signals and boost::bind are, and I will be using them a fair bit now.
I’ve also been thinking about the design and have some more ideas on that. Happy to share too.
Remember I talked about two phases to the game? Material and Energy? Well now I know how to switch phases. I want to do a twist on “game over” – it’s called “it’s never over” – when your energy drops to a critical level in the Material phase, the game switches to Energy mode. Everything becomes brighter, ethereal, vector-like and yes, glowing and sparkly. I like the sound of that. And to get back to material mode (reincarnate?) you need to accumulate sufficient energy. Or rather, “recycle” it. Everything will get smoother, more dream-like. So that’ll be a particle system then.
[Update: 21:44 – I’ve just got the threshold value-checking in and I was just thinking aloud – how about if the switch from material phase to energy phase was under player control? And the phasing is quite fast and frantic. Other games have jump and shoot as “panic mechanics” – I could have “the switch” – I’m usually good with names so I’ll have to come up with something suitably pretentious to describe it. For now, it’s just “the switch”.
[Update 22:09 Eureka! Energy gradually goes down in material phase, culminating in death with zero energy unless you switch to energy mode, in which case energy starts increasing gradually. In material phase, you use large amounts of energy for more energy-expensive moves. In energy phase, you gain large amounts of energy, but you lose material (i.e. room structure, perhaps the floor or the hull of the spacecraft) – I like this – and it could be fun if the rate at which you need to switch phase varies according to environmental factors]