Hi I am using Box2d with Blitzmax. I am using Framework BaH.Box2d near the start of the program and then Import other modules I use. I use the Flip 1 command (to sync with my display in the main loop. (I will eventually use delta-time, but I want to use 'Flip 1' on on my laptop which has a 60Hz display).
The problem is - although the program runs - it is clearly not waiting for a vertical blank and is running uninhibited. I have done tests by starting a new program and printing Frames per sec and it is definitely because of the Framework format I am using.
I presume I need to Import a module that I am missing to fix this, but I don't which one would deal with this. I have already done Import BRL.graphics but I still have this problem.
Any help would be appreciated. Thank you.
The problem is - although the program runs - it is clearly not waiting for a vertical blank and is running uninhibited. I have done tests by starting a new program and printing Frames per sec and it is definitely because of the Framework format I am using.
I presume I need to Import a module that I am missing to fix this, but I don't which one would deal with this. I have already done Import BRL.graphics but I still have this problem.
Any help would be appreciated. Thank you.