How do I copy the score to the "game over" screen\layout?

Get help using Construct 2

Post » Mon Jul 21, 2014 11:08 am

so i finished the scoring process and now i would like to know: how do i make the player's score appear on the game over screen?
(help)
-thanks
B
4
S
1
Posts: 54
Reputation: 456

Post » Mon Jul 21, 2014 11:13 am

I don't know if you are switching layout or where you have stored the score value, so I suggest a robust solution.

Set GlobalVariableScore to ProcessedScore.
On the game-over screen you might have a text box.
Text box set text to "Score " & GlobalVariableScore
It's time for me to return the favor :)
B
32
S
9
G
8
Posts: 132
Reputation: 4,870

Post » Mon Jul 21, 2014 11:18 am

With global variables , store it (set value ) and it will be available to use it on any layout.

Just make sure , you dont reset variables on start of the layout!!! (been there twice lol)
Hire or Offer a project

Portfolio

Scirra new Shop
B
34
S
5
G
1
Posts: 118
Reputation: 2,663


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 2 guests