Today I have completed a little milestone and that is converting over Adventureworld’s tileset and maps into a format that can be easily read by lua.
The current map game data is in a format like this:
I’ve decided to use the application Tiled to build up the tileset and maps which will make it much easier to visualise and adjust each screen. It also automatically generates some nice lua tables which will make it easier to import into the game as well.
The original tileset was created using graphic characters (think of it as creating a custom font). The characters were 8×16 pixels, which looked rather small on today’s big screens. I have made a design decision to double the size of the graphics so each ’tile’ is 16×32 pixels in dimension. Having to convert decimal numbers into binary and the translating that into a pixel byte in screen brought back memories of designing sprites by hand with graph paper at school. 🙂
The original game had a tilemap screen size of 64×15 characters. After adjusting the screen resolution with the new ‘doubled’ pixel size of each tile, the final game resolution ends up being 1024×480. I have currently made the game to be 1024×512 but will most likely adjust it to 1024×768 (a better ratio) later on down the track. I have attached a sample map (screen4) to give you an idea on what the game currently looks like.
Constructing the different game states (such as menu, help, instruction screens) and the flows between them.
I’m now back from hibernation after a long break from updating my blog. I’ve also spent a bit of time away from pioneer space sim.
I kind of got a little bit overwhelmed with the detail that pioneer space sim required. I just simply couldn’t keep up with the fast pace of some of the current developers, and it was becoming a chore. It just wasn’t “fun” anymore, so I decided to take a bit of a break from it for a while. I’m sure I will get back into it once I have my ‘mojo’ back as I do enjoy playing space games.
In the meantime, in order to get myself back into the mindset of some more coding after my long break I’ve have been busy writing up and learning some Lua and LÖVE code for Movie Monsters. While there isn’t anything exciting to show just yet, I am learning lots about the LÖVE framework.
I also got in touch with some old friends over my break, and we have been spending time reminiscing over the old computer games and programming we did in the past. As a result I’m now starting to prepare a new computer game project. This one definately add an element of ‘fun’ back into my programming as there is a bit of ‘Nostalgia’ involved as it is my first ever computer game that I wrote (back in 1991). I should have some more details shortly once I have finished gathering all the bits and pieces (and blow off the dust from the old computer printouts).
I’ve said it again, but I do intend on updating this blog a little bit more frequently now that I’ve cleaned out the cobwebs.
It feels nice to be back from hibernation. Lets see how long I can keep the updates flowing this time.