Scoreboard locked to the corner of the screen? (overlay?)

New releases and general discussions.

Post » Thu Oct 16, 2008 2:56 pm

It still just has what i typed - currentLevel or timer or etc. Is there a different syntax for the Text object?
B
2
G
4
Posts: 12
Reputation: 1,074

Post » Thu Oct 16, 2008 10:48 pm

Expressions don't work in the property grid. If you want the text to show the timer, you need to do it in the event sheet editor, ie.

+ Always
-> Text: set text to timer
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,574

Post » Thu Oct 23, 2008 10:57 am

would it not be str(timer)?
B
2
S
2
G
5
Posts: 448
Reputation: 2,546

Post » Thu Oct 23, 2008 12:46 pm

There's no need, if you set a text object's text to a number, it is automatically converted to text.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,574

Previous

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 1 guest