[REQ] Ability to turn of visual rotation of sprite

Discussion and feedback on Construct 2

Post » Sat Feb 02, 2013 4:23 am

I would absolutely love the ability to turn off sprite rotation when moving a sprite on an angle or setting a sprite to move towards an angle using the move to angle at X pixel condition.

Using invisible sprites that control the movement is a burden to the program I'm building, due to the maths used there are no behaviors that will work properly. Only Set Angle and move to at X pixels.

A simple sprite property with a on off toggle would be awesome.

Please and thanks!!!

fake 3d engine test.
B
45
S
12
G
7
Posts: 339
Reputation: 7,899

Post » Sat Feb 02, 2013 6:03 am

You can already do this with the move at angle action. Simply enter angle(self.x, self.y, targetx, targety) for the angle.
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Sat Feb 02, 2013 1:27 pm

Wow thats trippy, i cant see my keyboard now haha
B
44
S
15
G
9
Posts: 1,096
Reputation: 11,013

Post » Sat Feb 02, 2013 2:45 pm

Thanks for that, I somehow missed this in all the forum searching I've done.

This is what that line ended up looking like:
Move Self.Zsize*11 pixels at angle angle(self.X,self.Y,Sprite16.ImagePointX(self.gridline),Sprite16.ImagePointY(self.gridline))

Need to tighten up the math now and it's almost finished.

Again thanks!
B
45
S
12
G
7
Posts: 339
Reputation: 7,899


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests