Change angle of sprite without changing image?

Get help using Construct 2

Post » Sat Dec 14, 2013 3:22 pm

How can I change the angle of a sprite without changing it's pre-existing image.

e.g. you've drawn a slope and want something moving to align to that slope, so all you want to change is the internal angle value of the sprite but keep the image the same.

When I go to change the angle, the image rotates (as you might expect). Any way so that the image stays the same regardless of angle?
B
6
S
2
Posts: 55
Reputation: 614

Post » Sat Dec 14, 2013 3:28 pm

If you're using the bullet behavior you can set the 'set angle' property to 'No'. Then you can set the bullet's angle of motion independently from it's angle.

If you're just moving a sprite there's the 'move at angle' action.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,630

Post » Tue Aug 25, 2015 8:04 pm

Nice.
Last edited by Mr X on Wed Aug 26, 2015 9:21 am, edited 1 time in total.
B
7
S
1
Posts: 37
Reputation: 509

Post » Tue Aug 25, 2015 9:06 pm

thanks
B
7
Posts: 13
Reputation: 320


Return to How do I....?

Who is online

Users browsing this forum: stevenode and 10 guests