How do I use acceleration and deceleration properly

Get help using Construct 2

Post » Wed Jul 15, 2015 10:55 pm

Hi,

How would I create a ball object like a gas pedal.

Whenever I press and hold down right arrow the ball would start accelerate until I let go the arrow then the ball would decelerate slowly come to a stop.

This ball will be rolling on a board which I assume I need to set both objects to solid?

Thank you.
B
24
S
4
Posts: 78
Reputation: 1,308

Post » Thu Jul 16, 2015 2:09 am

Is this setup going to be using physics at all? If so you can play around with the Apply force/Apply impulse conditions on the ball when keys are pressed.
B
52
S
24
G
18
Posts: 295
Reputation: 13,090


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 52 guests

cron