I have a aeroplane in my game

Get help using Construct 2

Post » Tue Mar 08, 2016 10:34 am

I have a aeroplane in my game that is hovering above the layer. i want it to repeat going back and forth when it reach the end of the layout so I done sprite is outside layout sprite rotate - 90 degrees clockwise. All good and well but when it hover back the opposite direction it turns upside down how can i solve that and make sure it is upright.
Posts: 22
Reputation: 1,074

Post » Tue Mar 08, 2016 5:45 pm

Hi there,

I am not quite sure what you mean, and I don't know what Behaviour you are using (Bullet?), but perhaps you could try the following action:

Event - Plane hits edge of layout
-- Action - PLANE: Set Mirrored
-- Action - PLANE:BULLET: Set Bullet angle of motion 0, or 180, depending on which direction you want it to go next.

If the plane is only travelling Left or Right then he can be Mirrored. You might need to disable "Set Angle" on the Object under the Bullet behaviour settings otherwise it will always set the animation to the angle of motion. If you aren't using the Bullet behaviour then Mirroring should work fine without any other adjustments.
Posts: 59
Reputation: 686

Return to How do I....?

Who is online

Users browsing this forum: amazingdream, Fenix18 and 22 guests