Chase
Original alpha quality instructions can be found here.
The completed code for this game is available here.
About
Collect as many cherries as possible before the time runs out and avoid being caught by the duck. Each time a cherry is collected, the time remaining resets back to 3 seconds. If the duck catches the player, then a life is lost. The game ends when the time runs out or all lives are lost.
Collect as many cherries as possible before the time runs out and avoid being caught by the duck. Each time a cherry is collected, the time remaining resets back to 3 seconds. If the duck catches the player, then a life is lost. The game ends when the time runs out or all lives are lost.
Controls D pad - moves player
Learning outcome
Step 1 - Create a new game
Navigate to the MakeCode Arcade website at the following address https://arcade.makecode.com and create a new game called chase as shown below:
Step 2 – Create the player sprite and move
The completed code for this step is available here.
Step 3 – Add in different sprites for moving
The completed code for this step is available here.
Step 4 – Add the Cherry and countdown
The completed code for this step is available here.
Step 5 - Eating the cherry
The completed code for this step is available here.
Step 6 – Add the duck
The completed code for this step is available here.
Step 7 – Caught by the duck
The completed code for this step is available here.
Step 8 – More colourful backgrounds
The completed code for this step is available here.