show score when you lose?

Get help using Construct 2

Post » Thu Feb 27, 2014 1:28 am

how can show score on screen when you lose like in flappy bird?
B
8
S
2
Posts: 54
Reputation: 1,001

Post » Thu Feb 27, 2014 1:30 am

ImageImageImageImage
B
157
S
66
G
41
Posts: 2,599
Reputation: 34,825

Post » Thu Feb 27, 2014 2:25 am

Two words my friend: global variables.

Global variables are persistent over different layouts, so you can store a global variable of score when you die and then fetch it on the game over screen or score screen. The latest version of Construct 2 comes with a Flappy bird template you should look into.
B
6
S
1
Posts: 43
Reputation: 536

Post » Thu Feb 27, 2014 3:32 am

cool thanks guys i got it all worked out
B
8
S
2
Posts: 54
Reputation: 1,001


Return to How do I....?

Who is online

Users browsing this forum: AndreasR, HellMax, tarek2 and 10 guests