A Big Ol' Screen of Characters
More updates:
- I've written a simple "sprite set" class which acts as a container of sprite identifiers. It's effectively an array of sprite ids, except with an extra function that allows you to specify a block of sprite names that end in incrementing digits, such as mysprite_000 through to mysprite_584 for example. I'm hoping it will be useful for animation, but it's also useful as a bitmap font class.
- Text is working now, at least for single lines. It's a heavily modified version of the code I already had in the partially completed Ice Slider code; unfortunately the internals of my sprite sytem meant I had to rewrite a fair bit. The code is pretty scrappy in places but it does the job for now. The screenshot shown shows various test pieces of text spinning around on the screen, including a big counter in the centre.
Next up: timers, then rudimentary input, then audio. And then the prototype is done?
Actually, let me show you what I did for an example.
lol notes since my code is a mess
lol, well, I didn't remember it being that nasty. Hur hur, /spam.
God I hate font stuff :3