I have been very bad at posting… Bomberman

A couple of weeks ago we got the final assignment for this course, where we’re going to copy an old retro game. Me and Erik Lindgren are working on a copy of Bomberman.

To be frank, I have not worked anything on the project during Christmas and new year, and I’ve been to the Canaries islands so the communication between me and Erik has been limited, and I have not worked more than a couples of hours on the project. But befor Christmas we had made some progress.

We have taken a lot of the basic code that our teacher wrote for an Arkanoid game, such as the functionality to read and draw sprites and text, and a bunch of other basic engine stuff.

What we’ve, or Erik, managed to do so far is to read a tilemap form a .txt file and print it on the screen, however it does not do any collision checking at the moment.

I’ve written a player-class and you can basicly move around a box with the WASD-keys, and also place a bomb using the B-key, which currently also is a little box that does nothing but wait a couple of seconds and then “explodes” by disappearing and spawning four explosion sprites around it. I had some trouble spawning only one bomb, since the game checks if a key is pressed down and there for it spawns a new bomb for every round the key is pressed down. I did a work around and made it so that the player could only spawn one bomb. The placement of the explosion sprites where something I did have some trouble with as well but I’ll leave it for now.

I put some collision checking in the game as well, between the bomb and a specific tile on the map, and made the tile dissappear, though this is probably all going to be scrapped since it does not use the AxisAligned Bounding Box method.

About Johan Holmér

2014  Programming