accelerations/deceleration code

Blitz3D Forums/Blitz3D Programming/accelerations/deceleration code

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You could multiply the speed by 1.001 or whatever values suits when accelerating, and when no key is pressed, multiply the speed by 0.99.

Other than that, you could make use of SIN/COS to produce curves for accelerating and decelerating.