How do I get a text to display the angle of a sprite

Get help using Construct 2

Post » Thu Jan 05, 2017 5:34 am

I've got a "Text" object coded to "Set text to Sprite3.Angle"
The Text block disappears and isn't showing the angle of Sprite3.
I'd appreciate if someone can show the correct code/method to type to get a text to show the angle of a sprite.
B
34
S
8
G
2
Posts: 13
Reputation: 2,834

Post » Thu Jan 05, 2017 6:05 am

that works. try setting text to round(sprite3.angle). also, try resizing your text object a little larger.
B
86
S
43
G
71
Posts: 601
Reputation: 43,619

Post » Fri Jan 06, 2017 7:24 am

Thanks @spacedoubt
round(sprite3.angle) worked perfectly
The text didn't need resizing.
B
34
S
8
G
2
Posts: 13
Reputation: 2,834


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider] and 23 guests