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
85
S
14
G
9
Posts: 100
Reputation: 9,885

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
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Sun Aug 28, 2011 6:29 am

Great Thank you.
B
85
S
14
G
9
Posts: 100
Reputation: 9,885


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 14 guests