How do I make set the score without decimal?

Get help using Construct 2

Post » Tue Dec 06, 2016 12:51 pm

ok, if have no problem if it simple text but when it come to webstorage, i do have it.
first of all

I only know how to put Set text to Round(score) ---- eg score: 10000
but when it come to webstorage it goes like this : set text to webstorage.Localvalue("score") eg. score 10000.0000

ok how do i do this? i want remove the decimal...
B
7
S
2
Posts: 25
Reputation: 575

Post » Tue Dec 06, 2016 12:57 pm

place an "int" before it and set the value inside the ()
Image
B
108
S
24
G
18
Posts: 1,373
Reputation: 22,824

Post » Tue Dec 06, 2016 1:04 pm

straight and simple! wow it really work now...thanks...really.
B
7
S
2
Posts: 25
Reputation: 575


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests