Pause & Restart game

Get help using Construct 2

Post » Fri Mar 29, 2013 11:40 am

Hey guys,

I'm new to Construct 2 - I've been trailing around the internet for tutorials and help to create what I have so far, which has been very helpful. Although I can't seem to find anything to help my latest problem. I'm creating a money drop sort of game where the player has to catch objects to proceed onto the next stage, although I can't seem to figure out or make my game pause when the player has no health - so the high score doesn't get decreased by any enemies after you already die. Then display a message, and ask the user to use an input to restart the game. Ive tried a bunch of different tutorials out there, such as Rex's pause plugin but no luck so far!

This is what I have -

I can't seem to figure out how to pause the game - and also the game will not make the button appear when the players health's variable is below 10.

Any help on this would be very much appreciated! I understand its probably a bit of a noob question.

Many thanks guys!! Have a good Easter

Posts: 3
Reputation: 281

Post » Fri Mar 29, 2013 5:43 pm

Add another condition to the collision with the enemies and check if the health is bigger than 10.
The reason why the button won't appear is because you've set it to invisible, you need to set it to visible.
Posts: 26
Reputation: 1,007

Post » Fri Mar 29, 2013 7:23 pm

Setting the game's timescale to 0 is usually a quick and easy way to pause a game.

Delta-time and framerate independencezatyka2013-03-29 19:23:40
Posts: 341
Reputation: 12,560

Post » Sat Mar 30, 2013 2:13 pm

That's great thanks guys! I will give it ago!
Posts: 3
Reputation: 281

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 2 guests