0 Favourites

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

  • 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

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • 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.

  • 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.

  • satish02 , I'm grad I could help!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
132 10,996
Burvey's avatar
Burvey
Unread hot topic
0 Favourites
XBOX ONE UWP performance?
88 9,679
q3olegka's avatar
q3olegka
Unread hot topic
73 5,673
glacierstudios's avatar
glacierstudios