Skip to content

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.

Controls
D pad - moves player

controls

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:

create project

Step 2 – Create the player sprite and move

The completed code for this step is available here.

create player sprite

Step 3 – Add in different sprites for moving

The completed code for this step is available here.

change player sprite

Step 4 – Add the Cherry and countdown

The completed code for this step is available here.

add cherry sprite

Step 5 - Eating the cherry

The completed code for this step is available here.

eating cherry sprite

Step 6 – Add the duck

The completed code for this step is available here.

add duck sprite

Step 7 – Caught by the duck

The completed code for this step is available here.

caught by duck

Step 8 – More colourful backgrounds

The completed code for this step is available here.

background image

Extending the game

Challenges