Albert Tan Mulligan Submission

Dependencies:   mbed

Boxhead Wiki Page

Table of Contents

  1. Boxhead Wiki Page

Boxhead Wiki Page

Firstly, before the game starts, the contrast needs to be set. To save processing power, each menu puts the gamepad to sleep, and therefore the contrast cannot be set during the menu. Therefore it must be set beforehand, and can be checked by adjusting pot 1 and pressing the restart button to make sure it has taken effect. On my board, I found the best contrast was to have pot 1 point straight upwards, giving the board a contrast of 0.55. When the contrast is properly set, the screen should look something like the one below. https://os.mbed.com/media/uploads/Albutt/menu.png

When the game loads up, the user should immediately be greeted with this menu screen. When A is pressed, an animation similar to the one represented below will appear. https://os.mbed.com/media/uploads/Albutt/animation_1.png https://os.mbed.com/media/uploads/Albutt/animation_2.png

After the animation ends, the Boxhead game will run, showing this screen. https://os.mbed.com/media/uploads/Albutt/gamerun.png

To play the game, only the joystick and the A button are need. The joystick is used to control the main character (the large on in the center), who can only move in up/down/left/right directions. Pressing A will fire a bullet in the direction that the character is facing.

The enemy (the small one to the right) will walk directly towards the main character. However, they can travel in a diagonal direction, giving them an advantage over the main character. It takes one bullet to kill an enemy.

When an enemy is shot, it immediately returns to a random edge of the map. There will be one enemy to start, and another will spawn every 10 seconds. The game counts each kill as one point.

At any point, the user main press the start button to pause the game, showing something similar to the screen below.

https://os.mbed.com/media/uploads/Albutt/pausepage.png

Pressing B will end the pause menu.

When one of the enemies touches the main character, the game ends. When that happens, the following "blood" animation below will run.

https://os.mbed.com/media/uploads/Albutt/deathanimation.png

After the blood animation, a death menu like the one below will appear.

https://os.mbed.com/media/uploads/Albutt/deadpage.png

Pressing B returns the game to the main menu, where the whole process restarts.


All wikipages