How Do I Display A Variable On Screen?

Get help using Construct 2

Post » Thu Feb 14, 2013 10:11 pm

How Do I Display A Variable On Screen?

Hi,

Can someone explain how to display a variable on the screen?
I have a text with "Score:" in it and want to append Score variable to it.
Thanks!

JeZ+Lee
B
11
S
3
G
4
Posts: 105
Reputation: 2,950

Post » Thu Feb 14, 2013 10:14 pm

Set text to "Score: " & Score

There is a manual entry explaining that over here
https://www.scirra.com/manual/78/expressions
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Fri Feb 15, 2013 3:19 am

... and an example in my platform tutorial + 'Health' as a bonus :)
B
105
S
20
G
12
Posts: 549
Reputation: 20,320


Return to How do I....?

Who is online

Users browsing this forum: Draconinho, peturfoto and 13 guests