For starters, I’ve been able to utilise some of my existing codebases to give me a good foundation; I decided to take the codebase from another

New RPG update – 21/10/2024

submited by
Style Pass
2024-10-21 20:30:02

For starters, I’ve been able to utilise some of my existing codebases to give me a good foundation; I decided to take the codebase from another WIP as that has plenty of support for hires bitmap screens (which is what I needed). Input code, file loading (including decompression), bitmap unpacking, hires character plotting were all there, along with cartridge boot code for an EasyFlash cartridge image.

The code from my latest music player I took from Briley 2, as well as the scripting system (well, actually all my games use a version of it as it’s so flexible), experience and character progression system. Also took the window system too, but had to modify it a bit to work with hires screens; turned out not to be as bad as I feared, so most of it is now working.

I have a new proportional font output system that turned out to be way faster than I was expecting, given that it has to plot every character not on a nice 8 pixel boundary, but any pixel position; this means it has to shift every character it outputs, but I added some code to deal with each pixel position (for example, a pixel shift of 0 doesn’t need shifting at all), so it’s fast enough (for me at least). The new code also handles word wrapping, and can wrap text in any sized window (which I’m sure will come in handy later).

Leave a Comment