Week 6 – Bomberman level

In this week of Game Programming 1 we started working on our map for our bomberman level. The original bomberman level is built up by three different types of blocks, solid blocks, background blocks and breakable blocks. So we decided to create a class for each one of these blocks. To more easily edit the level, we wanted to load in the level from a txt file. We had alot of problems with getting this to work, but by looking back at previous lectures, we could figure it out. The txt file is constructed of numbers, each specific number is used to decide which block should spawn. The position of each block is set in the constructor of our gamestate by a simple formula.

About Axel Vesterlund

2014  Programming