allegro Archive

  • Scrolling Tilemaps

    Scrolling Tilemaps

    My game engine now has scrolling tilemaps in it. I have arbitrarily chosen each tile to be 32×32 pixels, and the maps to contain 256×256 tiles. This gives me a virtual display of 8192×8192 pixels to make tile-based games in. 8192×8192 pixels is a lot… just over...

    Full Story

  • Key debouncing and pause modes

    Key debouncing and pause modes

    For the curious I have spent the past week (off and on) making a pause button work. Yes, after a week of coding I have managed to allow the player to press the ‘P’ key and see a little “The game is paused, press P...

    Full Story

  • Engine? Framework? Toolkit? The difficulty of naming things

    Engine? Framework? Toolkit? The difficulty of naming things

    I’m working away on my un-named project, which is starting to take shape nicely. When it’s eventually finished it’ll be some sort of game engine-thing for making 2D style sprite based games – shooters, platformers, and so on. I have no idea what to call...

    Full Story

  • It makes you think…

    It makes you think…

    sitting in a traffic jam. They’re not very mentally stimulating, the most interest being the insides of your nostrils and the car in front. So while slowly shuffling my way home today I had a think about the design of my game environment. I’ve just...

    Full Story

  • It's all about the data…

    It's all about the data…

    It’s my opinion, probably because I’ve written lots of database-driven apps, that all software can be reduced to a simple set of data structures, relations between the data structures, and the operations on those data structures. Take, for example, this blog. There is a database...

    Full Story