Page 90 - Touchcode_C7_Flipbook
P. 90
PROJECT
EAT THE FRUIT
Create a game with three sprites, one will be a Player sprite, second will be Fruit sprite and
another will be a Junk food sprite.
Objective of the game:
Move your sprite around the screen and eat as much fruit as you can before the time
runs out!
Every time the fruit is caught, points are added, and the timer is restored.
You will be given three lives to play the game, once you hit third time to the junk food,
your game will be over.
Code:
Output:
Touchcode-VII
88
88 Touchcode-VII

