Printable version

This version is formatted for printing or saving as a PDF.

Candy dash

A foggy candy dash game.
Level 4
45 mins

Goal 🎯

Explore a working candy dash game and add customisations to the code and environment.

Play the game

  • Play ▶️ the game to explore how it works.
  • Think about: How the score is calculated, what the different jelly bean colours mean, and how spooky the environment is.

Change the 3D environment and character

  • Add a gradient sky with custom colours.
  • Choose a new map material and colour.
  • Tip: Don’t change the map terrain as this will impact where the trees are placed.
  • Change the character model and colours.
  • Find the tree model code and choose different trees and colours.
The candy dash project modified with a blue sky, three new tree types and purple floor.

Change the user interface

  • Explore the text elements of the game. Do you want a different welcome message? Are you happy with the colours used for the ‘say’ blocks. Experiment with different colour combinations.
The UI text in the game has changed to a purple and red background with white text.

Adjust the player movement

  • Explore the player movement blocks.
  • Are you happy with how the player reacts to a ‘yucky’ candy? Do you want a longer or shorter delay or a different animation?
  • Are you happy with the player movement animation? Should they fly instead?

Add fog to your game

  • From Scene, choose Effects and drag the ‘set fog’ block under any start.
The set fog block is shown with a grey colour and Exp2 selected.

Game sounds

  • Find the code blocks that play sounds based on interactions.
  • Are you happy with the sounds? Explore different options and try different speeds to create different effects.
  • Does the whole game need a theme sound? If so, add the ‘play theme’ sound block at the top of any start and experiment with the settings.

Take it further

  • Add more obstacles to the world. Be careful not to place them where a bean might spawn.
  • Change the scoring system so that getting a ‘yucky’ bean reduces your score.
  • Repurpose the entire game for a completely different theme, such as star collector in a rainbow themed world.

This project is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Flock XR® and the Flock XR purple bird are trademarks registered to Flip Computing Ltd.