inertia

Get help using Construct 2

Post » Tue Feb 25, 2014 2:30 pm

Hello, tell me how to solve the problem. how to do that would be when you release the mouse button, the object continued to move along a predetermined path, and if you press the button, the object is returned under the control of the player? h t t p s ://www.dropbox.com/s/buoriy8b2wkjq3w/test.capx - I can not throw a link, just so (( spaces at the beginning should be removed :)
B
3
S
1
Posts: 23
Reputation: 398

Post » Tue Feb 25, 2014 3:05 pm

You could look at some behaviors, a lot of them have a deceleration value.

For example, the bullet behavior (https://www.scirra.com/manual/90/bullet) :

Acceleration (ye I know, it's not called Deceleration :D)
The rate of acceleration for the bullet, in pixels per second per second. Zero will keep a constant speed, positive values accelerate, and negative values decelerate until a stop (the object will not go in to reverse).
B
39
S
15
G
5
Posts: 295
Reputation: 6,089

Post » Tue Feb 25, 2014 6:03 pm

caiorosisca can only post plain text URLS until they have 500 rep. 2 URLS modified. Why?

Have a look at these 2 capx, they're from some other topic I can't remember which one.

https: //dl.dropboxusercontent .com/u/39282664/drag%20and%20throw.capx

https: //dl.dropboxusercontent .com/u/39282664/dragNthrowJoint.capx
B
11
S
4
G
1
Posts: 272
Reputation: 1,643


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 47 guests