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.
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.