Hi, I want to know how to simulate inertia? as an example: when the user moves the sprite to say right, it moves softly and continue to move slightly even after he releases the button (like movement in micro gravity). Can this be done in construct?
Isnt that the default behavior when using platform-behavior?
Take a look on acceleration and deceleration attributes.
I've used platformer already, but never made use of the acceleration attributes. I will take a look at it. Thanks for reply
Its not working as soon as I release the key it stops moving. I want it to keep moving slightly as if it's sliding on ice
Develop games in your browser. Powerful, performant & highly capable.
You want deceleration. Set the value lower or higher depending on which surfaces they're in contact with. A value of 100-300 gives a nice sliding effect.
Thanks Geometrix. I will try that today.
Thanks Geometrix, it worked