How do I display the score on the game over screen?

Get help using Construct 2

Post » Wed Jul 30, 2014 11:23 am

i've asked this before but so far i didn't get any success, i want to display the final value on the game over screen
ive uploaded a png file that shows the "code" of the scoring process, for any details: just ask
-thanks
You do not have the required permissions to view the files attached to this post.
B
4
S
1
Posts: 54
Reputation: 456

Post » Wed Jul 30, 2014 11:39 am

you wrong man, add new event, system > every tick. add action > choose your text object > set text > "Score : "&score and then press okay.
~Everyone can make GAMEs~
B
58
S
12
G
1
Posts: 414
Reputation: 5,961

Post » Wed Jul 30, 2014 12:16 pm

@Hardty how am i wrong? thats how i want for it to score, i just need to learn how to display the score number when the char is destroyed (on the game over screen)
B
4
S
1
Posts: 54
Reputation: 456

Post » Wed Jul 30, 2014 12:52 pm

@spades1412

Make the score a Global variable instead of Local variable so you can access it in another event or another layout.

Then do:
Code: Select all
Character->Destroyed
   Set text to "Game Over - Final score is " & score
Find all the Construct 2 games that were on Steam Greenlight here
B
36
S
10
G
7
Posts: 475
Reputation: 7,015

Post » Wed Jul 30, 2014 12:58 pm

You already asked the question and then ignored the 2 people who took the trouble to answer.
https://www.scirra.com/forum/viewtopic.php?f=147&t=110871
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Sat Aug 02, 2014 2:24 pm

@codah perhaps cause it didnt work, and i already solved the problem
-thanks anyway
B
4
S
1
Posts: 54
Reputation: 456


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound and 3 guests