Noob question about maximum speed

Get help using Construct 2

Post » Fri May 24, 2013 11:57 am

Hi, it's my first post on this forum :)

I'm using physics behavior. How can I set maximum speed limit to flying machine in my game? I thought about simulating air resistance. Could it work?

And what are the main differences between CocoonJS and PhoneGap?

Sorry for my bad english, it's not my first language.
B
3
Posts: 7
Reputation: 214

Post » Fri May 24, 2013 1:06 pm

How do you move your physic object ? With an behavior ? (Like 8 directions)

If yes just set the speed with flyingmachine set speed to flyingmachine.speed * air_resistance (air_resistance should be a variable, with the actual air resistance like 0.95)
B
15
S
6
G
6
Posts: 512
Reputation: 5,550

Post » Fri May 24, 2013 2:26 pm

I'm using events, for example: if Up arrow is down, Apply Physics force 50 at angle Player.Angle etc. No other behavior than Physics is used.
B
3
Posts: 7
Reputation: 214


Return to How do I....?

Who is online

Users browsing this forum: mercuryus and 17 guests