Case 03: Dodge Monsters

Purpose


Create a game to make the player be chased by monsters.

Materials Required


1 x RETRO Arcade for Education

../_images/retro-case-01-01.png

Program


  • Set the game over if the sprite reaches onto the plants and the the sprite wins if it reaches the jewel. On the way of progressing, a monster comes out each two seconds to hit the sprite, the life score starts from 3 and it decreases by 1 if the sprite gets hit by the monster and the game is over if the score decreases to 0.

../_images/retro-case-08-01.png

Program


Downloading Program

After programming, connect the computer with the Retro via the USB cable.

  • ../_images/retro-case-01-10.png

  • Choose hardware “F4”.

    ../_images/retro-case-01-11.png

  • Click the reset button on the Retro and go to the downloading page.

    ../_images/retro-case-01-13.png

  • Match the devices and get connected with “Arcade (app)”.

    ../_images/retro-case-01-12.png

  • Click downloading to compile the program into the Retro.

    ../_images/retro-case-01-14.png

Conclusion


  • Set the background and the movement of the sprite, when it falls into the traps the game is over and it wins when arriving at the jewels. A monster comes out each two seconds to hit the sprite, the life score starts from 3 and it decreases by 1 if the sprite gets hit by the monster and the game is over if the score decreases to 0.