Game Timing

BlitzMax Forums/BlitzMax Programming/Game Timing

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.

Wave,

I uderstand the concept and what you provided was a good summary. I only set the framerate at 30 so I could debug an issue that was occuring at a slow framerate.

However, when I changed the framerate to 30 I discovered a possible bug is ImageCollide2 and of course a number of problems being caused by collision detection.

Here is a question:

How do you deal with object colision where the object bounce off one and another? For example. if an object moves right four pixels and there is a collision you can move the object left 4 pixels. However, if you throw delta time into the picture it now becomes a problem since the speed at collision may not be the same as the speed of the frame during the collision.