End of Day 1
December 6th, 2008 3:19 pmWell I’m going to call it a day and pick things up again tomorrow. I’m way behind but I know exactly what I’ve got to get cracking on with tomorrow morning. Here’s a shot of the current version:

There are some pavement tiles now! The reason its taking so long is because I had a crazy idea to generate a tile-based city procedurally on the fly, so currently my time is taken up with getting that to work. Here’s one of the many debug image dumps I’ve made of the tile map:

Its actually just a snapshot of part of the map, which is technically infinite in size. Each pixel is a 4×4 block of tiles. As you can see, all I’m generating procedurally so far is the fact that there’s more pavement the closer to the centre of the city you get. There aren’t any roads yet (note to self: must actually get the damn ROADS in at some point…). The red and yellow pixels in a grid which you might just be able to make out – they’re marking the areas that the map is broken up into. The idea is that the game only needs to hold the player’s current area and the 8 surrounding areas in memory at the same time, allowing me to have an infinite map.
So, on tomorrow I’ve got my work cut out for me. Procedural roads… collisions… traffic?!… I may have to revise my plan if I’m going to get something finished on time.
By the way, the other entries are looking totally awesome. I can’t wait to play them all!