Plane flight

Get help using Construct 2

Post » Tue Aug 04, 2015 11:27 pm

I want to simulate a plane flight (when you hold a button/press the screen the plane would fly up and when you release the plane will fall). What I want to achieve is something like the plane in the mobile game Sky Glider (If you press the screen for long enough the plane will continue to go upwards even if you release it). I tryed to do it with physics but could not get the effect. Any ideea?
B
14
S
3
G
1
Posts: 69
Reputation: 950

Post » Sat Aug 08, 2015 2:02 pm

Add the Physics Behavior to your plane and apply Force:

Image


You could add some logic on the iForce variable when you are applying force.
B
15
S
6
Posts: 105
Reputation: 1,356

Post » Sat Aug 08, 2015 2:09 pm

There is a file in c:\Program Files\Construct 2\templates\Template-Flying.capx It does what you need.
ImageImageImageImage
B
157
S
65
G
41
Posts: 2,594
Reputation: 34,748


Return to How do I....?

Who is online

Users browsing this forum: Hardty, SputnikCZ and 1 guest