How do I create instant movement/stopping?

Get help using Construct 2

Post » Mon Apr 13, 2015 7:10 am

Hi there

How do I make an object move up/down at varying speeds from slow to fast, without have an acceleration/deceleration delay for stopping and moving.

In other words, I want to make an object move upwards at very fast speed, and then suddenly stop right where it is without a slowing-down effect like as if it's sliding on ice.

So basically just very basic, simple movement with no acceleration/deceleration values; just speed.

Thanks
B
9
S
2
Posts: 7
Reputation: 914

Post » Mon Apr 13, 2015 7:38 am

Heh, all good I found the solution.

Use 8Direction behaviour, then set the Acceleration to 10000 for instant movement. For instant stopping, call the Action: 8Direction: Stop
B
9
S
2
Posts: 7
Reputation: 914

Post » Mon Apr 13, 2015 8:04 am

Also look at Vector X and Vector Y which sets the "speed" directly in x and y ...
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
33
G
47
Posts: 1,194
Reputation: 30,832


Return to How do I....?

Who is online

Users browsing this forum: gamecorpstudio, Yahoo [Bot] and 26 guests