Pausing Your Game
There are times you may want to pause your game.
Turn In: This is an extra activity, nothing needs to be turned in.
This is an extra activity that is not fully developed but provided to answer a student question.
Some work, research, experimentation, and testing is required.
Copy one of your games and test with that copy.
You will need an event to pause the game and a different event to start the game back up. Assuming you have added the keyboard, set a Keyboard event when the P is pressed to pause the game and a different event when the S is pressed to start the game back up. If already using P or S then choose different letters.
When the P is pressed, the action should be System->Set time scale to 0. When the S is pressed, the action should be System->Set time scale to 1.0
In the Construct2 Tutorials are a simple and an advanced game pause tutorial. Read through and try the information provided in those tutorials as time and interest permits.
A Simple Pause menu
Advanced game pausing
Copyright © 2021 Eric Schumm. Permission granted to freely use this in your classroom.