in game timers with blitz3d

Blitz3D Forums/Blitz3D Programming/in game timers with blitz3d

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.

Storm8191, as John Pickford pointed out, you are applying delta-time to the ships velocity, but you failed to apply delta-time to the ships frictional coefficient.

So your code should really look something like this:
;Move the ship
shipxpos# = shipxpos# + (shipxspeed# * delta#)

;Apply friction
shipxspeed# = shipxspeed# * (1.0 - ((1.0 - 0.95)* delta#))  
That should be more desirable.