Joe Body 201215898

Dependencies:   mbed

Navigation

  • From the Main Menu the A button will take you into one of the play, highscore or instructions options.
  • The B button will return you to the Main Menu from either the highscore or instruction screens, though this is prompted on screen.
  • When in the Main Menu Pot1 can be used to adjust the contrast and the volume control by the speaker is active.
  • When the game is over the B button can be used to return to the Main Menu, again this is prompted.
  • To return to the Main Menu while the game is being played the reset button must be pressed, this will not save your score or anything about the game.

In Game

  • While in the game the A button is used to shoot while you aim with the Joystick.
  • You have control over the cross while the objective of the game is to rack up as many points shooting the moving head.
  • There is a slight reload time on each shot so you are unable to spam A if you miss.
  • Once you miss 6 times the game will end and your score will be saved.
  • When hit by a falling spike the game will transition and the head will vanish.
  • 4 new spikes will spawn which you need to avoid, being hit by 1 of these will decrease your remaining miss chances by 5.
  • When the game is in this state you must avoid these spikes by tilting the device, the Joystick will have no effect.
  • The head will move progressively faster as the game goes on, make use of the clock power up by shooting it when it appears, this will slow the head down to a more manageable level hopefully helping you to reach a higher score.

Highscore

  • If you have a SD card inserted into the device the game can save your highest score.
  • A decent score is somewhere around 25.

Revisions of main.cpp

Revision Date Message Actions
18:c600a6545e81 2020-05-20 spikemode uses accelerometer ; File  Diff  Annotate
16:7c612029d9c9 2020-05-19 game over and returns to main menu ; File  Diff  Annotate
15:01a69bdb85e9 2020-05-19 game over screen simple; File  Diff  Annotate
14:66a1965318cb 2020-05-19 initial meanu, play and istruction working, will attempt to implement highscore using sd card, time permitting; File  Diff  Annotate
13:cfdfe60a2327 2020-05-18 good bit of a clean up to create and test new functions withing classes with ease; File  Diff  Annotate
10:6c574b8524df 2020-05-18 spikes /working better; File  Diff  Annotate
9:2836fc3d9ede 2020-05-18 added falling spikes to be avoided; File  Diff  Annotate
8:0b9a824c75fe 2020-05-17 nothing isnt working, only having problems on accuracy of buttons. goof point to come back to* File  Diff  Annotate
7:04a7826ff7e4 2020-05-17 game gets harder as peed progressivly gets faster. implemented a cock power up to change speed back down; File  Diff  Annotate
6:d560ecc21ae6 2020-05-17 button 8 pressed, changes state of aim sprite checks collision File  Diff  Annotate
5:c37f4ed2cad3 2020-05-17 collision checker and reset, now will make it only check when a pressed.; File  Diff  Annotate
4:6f898b000797 2020-05-14 not a working commit but want to go to this point if what i try from here fails; File  Diff  Annotate
3:5d28062d0a2d 2020-04-30 heston is moving randombly,; can now move basket in all directions File  Diff  Annotate
2:56b31902c800 2020-04-30 added second sprite, have an actual idea for the game now, this sprite is a head that will ,ove randombly the other will be user controlled and will shoot the head; File  Diff  Annotate
1:1144f48b5965 2020-04-22 there's a basket thing that moves side to side! woo! File  Diff  Annotate
0:b7f1f47bb26a 2020-02-03 ELEC2645 starter project File  Diff  Annotate