Case 01: Aircraft Battle¶
Create a game of aircraft battle via the Retro.
Create a spirite project, set move it with buttons and set it stay in screen with “on” and start screen with clouds.
Set life to 3 in the on start block. Choose on game update every seconds block and set it as 1 sec, set the projectile catapult from side VX 0 VY 50. Set change life by -1 while crashing the enemy and destroy it.
While pressing button A, launch the projectiles from the spirite, set the speed from X as 0 and Y as -70. Set the effect of the projectiles in fire, when that projectile crashes onto the enemies, both of them are destroyed and the score plus 1.
After programming, connect the computer with the Retro via the USB cable.
Choose hardware “F4”.
Click the reset button on the Retro and go to the downloading page.
Match the devices and get connected with “Arcade (app)”.
Click downloading to compile the program into the Retro.
Control the movement of the spirite in the screen, set the life in 3. When it crashes onto the enemy, the life score decreases 1, the game is over when the score is 0; press button A to launch the projectiles, the score adds 1 each time when the enemy gets hit.