Sometimes Copy and Paste works..
Having finally put the nice simple swooshy spawning sound back into the game, and got a couple of nice test levels up and running, and inside the scoreboard, and then got the whole “Nth position on the online scoreboard” display going, I decided to move onto more pressing matters.
I already copy and pasted most of the control scheme stuff early on in the project, so to help give the game a little consistency, and so as not to have to recode the whole thing, today I copy and pasted the visable control scheme settings on the main menu. It worked fine before, so there was no need to “fix” it…
Sometimes Copy and Paste doesn’t work at all..
And then I loaded in a test level, and wandered around, shooting the aliens with a Joypad.
Or, at least I would’ve, had the player been shooting!
I quickly flicked through the available control schemes, only to discover that by some inexplicable bit of messing up, the player could no longer fire his weapon… ARGH!!!
I checked the code..
Looked at the code..
Wondered what was wrong.
Randomly tweaked some more.
Started to panic..
But usually Copy and Paste does actually work..
And then, about half an hour later, I realised that the level I was testing on was a “Pacifism” style level, and that I hadn’t included any weapons on it..
I need to shove a reminder on the screen somewhere for that!!
So, the control schemes are all nicely working as they should.
The menu now has highscores working properly, and even a couple of nice shiny buttons to set off the Highscore Updates, and switch over to Editor mode.
Everything’s coming along great.
We’re nearly there!!