How do I rotate an object and keep it at its location

Get help using Construct 2

Post » Sat Feb 14, 2015 4:02 pm

I'm using tilebackground set to an Array so i can implement a save system on a build screen

I have added a rotate button so corner pieces can be rotated. However they are rotated on it's X point (set to 0 I assume) And ends up rotated into a different cell.
/// /O/ //0 ///
/0/ /// /// //0
/// /// /// ///

I tried adding and minus-ing X and Y values, but it always rotates from the same point in a different location.

Also, will my Array save rotated images? would it be simper to just add pre-rotated tiles? :/
B
9
S
3
Posts: 102
Reputation: 987

Post » Sat Feb 14, 2015 5:01 pm

can u upload a capx example? try adding multiple origin points , oh but on tilebackground those are disabled, try use rotate clockwise or rotate counter clockwise and just stop them when u want .. hope it fixes ur issue
ImageImage
B
54
S
14
G
64
Posts: 1,252
Reputation: 39,475

Post » Thu Sep 10, 2015 5:13 pm

wow, i hadn't even realized you answered me.
turns out my mid point was just off. thank you *sigh
B
9
S
3
Posts: 102
Reputation: 987


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], KnightStudio, LI0NHART, saour and 11 guests