Rotate entire layer around a point?

Discussion and feedback on Construct 2

Post » Sun Aug 28, 2011 6:01 am

Hello.

I'm trying to come up with a way to rotate all the objects on a given layer around a single point. To create an effect much like say rotating a board game keeping all the pieces in place.

Can you pick objects based on layer?
is it possible to alter the rotation or angle of a layer?
like we can with scale and visibility.

If not any ideas on how the effect could be done would be of great help.
because i'm stumped.

Thanks.
B
87
S
14
G
9
Posts: 101
Reputation: 9,937

Post » Sun Aug 28, 2011 6:10 am

You can check this tutorial about using a pivot point for rotating objects if you haven't already, and apply the method to every object of your layer in a loop.

The layer itself won't rotate, but you can move/rotate every object on it.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
262
S
93
G
55
Posts: 7,155
Reputation: 67,079

Post » Sun Aug 28, 2011 6:29 am

Great Thank you.
B
87
S
14
G
9
Posts: 101
Reputation: 9,937


Return to Construct 2 General

Who is online

Users browsing this forum: Phoenixbowman and 5 guests