How do I to end the game with a score - 0

Get help using Construct 2

Post » Sun Mar 23, 2014 1:38 am

Hi all, I'm finally finishing my first game with constructor 2, I am very happy with this program and would like to thank all who contribute to this community.

ok, I have a problem... I'm almost finished the first level of my game, I am using a point system for hitting the enemy and the enemy subtracts my points if hit my...so I have a question :

How I can make it end the game when the score below zero.

thanks everyone for their help.
B
6
S
1
Posts: 21
Reputation: 467

Post » Sun Mar 23, 2014 6:14 am

Make a condition "compare variables" and set like "score<=0".
Then you can put some actions you want, like destroy everything, restarting the layout, or showing stats.
How to end your game is at your hand.
B
23
S
8
G
1
Posts: 172
Reputation: 2,780

Post » Sun Mar 23, 2014 6:17 am

just make an event for it.

i assume SCORE is a global variable, so: SCORE < 0 ; "insert desired action here"

May I recommend that you take a look at the beautiful manual and perhaps toy around with the basic tutorials before proceeding with your game?
Your inquire was really basic.

much love.
B
43
S
12
G
6
Posts: 446
Reputation: 6,802

Post » Sun Mar 23, 2014 8:49 am

Whit the tutorials and manual really you will learn more quickly than making your game. Anyway you can do both and so improve your creation ;)
B
17
S
5
G
2
Posts: 173
Reputation: 2,085

Post » Sun Mar 23, 2014 1:42 pm

thank.. i found the tutorial....i made :

NEW GROUP :(Next Level)

System compare variebles > great than 500 then WIN SPRITE SET POSITION, ENEMY DESTROY..

VERY EASY..
B
6
S
1
Posts: 21
Reputation: 467


Return to How do I....?

Who is online

Users browsing this forum: varr and 3 guests