Movement relative to framerate

Blitz3D Forums/Blitz3D Programming/Movement relative to framerate

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.

Sybixsus : I'm not sure if I fully understand, but I'll experiment and see if I get it to work. Thanks!


Sorry if my explanation wasn't great. All I'm saying is store up all your movements ( in variables or type fields ) until the end of the game loop. Then combine them all into one single total amount which your character will move on each axis, and multiply *THAT* by your unit multiplier.

EG: In a complex game, where your character is being affected by all sorts of things, it might be something like this :

The Y value might be affected by +0.2 due to an airflow from below, -0.05 from gravity, and -0.1 from some other force.

Total them to make +0.05 and multiply *THAT* number by your multiplier.