How do I REMOVE the decimal from score?

Get help using Construct 2

Post » Tue Dec 30, 2014 4:58 pm

GlobalNumber TotalDistance=0

Image

When it displays the score and hign score there is a decmal. How do I remove that? I tried ceil.

Image

Here is the gameover layout
Image

Thanks!!
B
6
S
1
G
2
Posts: 4
Reputation: 1,369

Post » Tue Dec 30, 2014 5:07 pm

Solved.

"You Game Over!
score:"&round(TotalDistance)&"
Highscore:"&WebStorage.LocalValue("highscore")

I also changed the ceil to round.
B
6
S
1
G
2
Posts: 4
Reputation: 1,369


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests