Hi all. There is an example with throwing an object, with a force that depends on the duration of touching the touch.
On the display with 60Hz the object flies with normal force, while on the display with 120Hz - a little bit off the ground.
I tried multiplying the force applied to the object by dt * 60 - but it didn't help (I looked it up here construct.net/en/forum/construct-3/how-do-i-8/game-not-affected-framerate-166409). Just multiplying by dt also had no effect.
I tried to define a variable that would scale the force depending on the current frame rate. I did the calculation ( 1 / dt ) / 60 , and got the coefficient by which I multiplied the force.
And it even seemed to work. But it was extremely unstable. One time it jumped fine, the next time it was sluggish. I do not know what to do. maybe I do not understand something, or in this example there is another variable that causes such instability
I will be very grateful for your help!
An example is available on google drive drive.google.com/file/d/1zaUPgYXSTqQiEYubBILaxRINOE5zknUZ/view