O'Reilly logo

Construct Game Development by Daven Bigelow

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — creating the Game Over layout

We'll use a Game Over layout to show the player their final score and tell them that they have completed all of the (currently) existing levels.

  1. On this layout, we will have a randomly positioned firework with accompanying firework sound. Create a sound that you would like to be played when the firework explodes and name it Firework.wav before placing it in the project folder.
  2. Create a new layout for our project and name it GameOver. Also, rename the event sheet to GameOver events.
  3. Select a Layout color for the layout by selecting it and viewing its properties. The color LightBlue works well.
  4. Create three text objects, txtCongratulations, txtUseEditor, and txtFinalScore, for this layout. Have their ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required