Weird, unable to rotate one image while able to other one

Discussion and feedback on Construct 2

Post » Sat Nov 15, 2014 12:50 am

Hi Guys,

Sorry this is my first day of construct. So apologies if i am asking the obvious. I am trying to test canon kind object that follows the mouse angle. While i am able to do it with one of the sample construct tutorial image, same thing i am not able to (fully) do with my inkscape image. I am able to rotate it by following the mouse but only half way through.. i have attached the capx. Please can you assist me kindly?

My inkscape image sucks i know, this is just to test functionality so dint bother to spend time on art yet :lol:
You do not have the required permissions to view the files attached to this post.
B
4
Posts: 6
Reputation: 214

Post » Sat Nov 15, 2014 1:43 am

@satish02 ,

If you double click on either Sprite you will open the Image editor. Notice that the human sprite has its orientation to the right, while your canon faces upwards. Construct 2 calculates angles from the starting from the right (0 degrees) and by going clockwise you have 6 o'clock= 90 degrees, 9 o'clock= 180 (or -180) degrees, 12 o'clock= 270 (or -90) degrees...

So, within the Image editor, just hit the arrow that turns the image 90 clockwise (or download the attached file)...

Note that you could have both actions that control the angles on the same every tick event.
You do not have the required permissions to view the files attached to this post.
composer - multimedia artist
www.eli0s.com/en/
B
68
S
26
G
4
Posts: 1,146
Reputation: 9,649

Post » Sat Nov 15, 2014 12:05 pm

eli0s wrote:@satish02 ,

If you double click on either Sprite you will open the Image editor. Notice that the human sprite has its orientation to the right, while your canon faces upwards. Construct 2 calculates angles from the starting from the right (0 degrees) and by going clockwise you have 6 o'clock= 90 degrees, 9 o'clock= 180 (or -180) degrees, 12 o'clock= 270 (or -90) degrees...

So, within the Image editor, just hit the arrow that turns the image 90 clockwise (or download the attached file)...

Note that you could have both actions that control the angles on the same every tick event.


Excellent! Thanks a lot eli0s. That did the trick.
B
4
Posts: 6
Reputation: 214

Post » Sat Nov 15, 2014 12:36 pm

@satish02 , I'm grad I could help!
composer - multimedia artist
www.eli0s.com/en/
B
68
S
26
G
4
Posts: 1,146
Reputation: 9,649


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 2 guests