How do I make a textbox display how much health I have?

Get help using Construct 2

Post » Fri Sep 04, 2015 4:21 pm

How do I make a textbox display how much health I have?
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Post » Fri Sep 04, 2015 4:40 pm

assuming you have a 'health' variable on your character sprite, you can do it like this

Every tick > Set Textbox to 'charactersprite'.health

of course replace the 'charactersprite' with the name of your actual sprite
B
9
S
3
Posts: 104
Reputation: 1,033

Post » Fri Sep 04, 2015 4:46 pm

tick?
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Post » Fri Sep 04, 2015 4:54 pm

System Every tick, as the event
B
9
S
3
Posts: 104
Reputation: 1,033


Return to How do I....?

Who is online

Users browsing this forum: TRMG and 39 guests