Infinite Scroll

A quick update today. I have got most of the infrastructure coded up for supporting the infinitely scrolling levels for my Pac-Man 256 clone. My level editor is good enough for drawing out what I’m calling level ‘chunks’. The game engine can now load these chunks and stitch them together to create a seamless (well, technically there is a seam…) scrolling level. I’m using a circular buffer for the map/chunks so that they can be loaded into memory once and then reused as necessary, capping memory usage.

Next up, gameplay!

Updated: