Monday, October 5, 2009

Major breakthrough

Sorry about the lack of progress. This is a big exam and paper month at school, so extra time has been scarce. When I do have extra time these days it is quite tough to want to do anything beyond sleeping. Hair greying game developing is hard to get motivated for at times like these.

That said, my map editor is nearly complete. It works by displaying a graphical image of the level (which is just a bitmap), and you use the mouse to paint 30x30 blocks wherever you want. The x and y position of these blocks is stored in a vector array, and from there is spit out into a text file. The text file is read into the game when the level loads and from there the game determines where collideable walls are and stuff like that. The only part of this procedure I haven't finished up yet is the spitting of the vector array into a text file, and then reading it back into the game.

Fun stuff. Screens soon.