How do I set my physics object in game to work with different framerates / refresh rates?

0 favourites
  • 5 posts
From the Asset Store
Adjusting the game screen for different resolutions (Letterbox scale)
  • Hello all! My first post in the forums.

    I have been having problems with physics behavior and I have tried several ways to fix this but nothing is giving me even decent results.

    Subscribe to Construct videos now

    The problem is that physics object is going slower on smaller framerates (even with 60fps). The difference is so big that the game is not enjoyable or well balanced on different devices.

    I'm pretty sure that there is no good solution for this, but I wanna ask first before scrapping the whole idea down. I have tried different stepping modes already.

    If I can't fix this, is there any good way to fake physics for this kind of feature (throwing ball like objects that doesn't bounce super much)? I tried to play around with bullet behavior but the results were not good at all.

    Thanks in advance!

  • Have you tried "Physics Set Stepping Mode" setting?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Have you tried "Physics Set Stepping Mode" setting?

    Yeah I have tried that. And the results can be seen In the video I posted. In both refresh rater the object has exactly same trajectory but with slow frame rates / refresh rates the object just moves slower.

  • What are you using to launch your projectiles?

    I have games with physics, always use independent frame rate setting and launching things with set velocity ( x and y ) produces consistent results. Tested on PCs, phones, different refresh rate monitor and with Construct 3s unlimited frame rate setting. Seems to work fine in all these tests.

    The only "trick" I use is to set linear damping to 0 then once a projectile hits something set it to 1 or whatever to slow it down gradually

    Give it a try

  • What are you using to launch your projectiles?

    I have games with physics, always use independent frame rate setting and launching things with set velocity ( x and y ) produces consistent results. Tested on PCs, phones, different refresh rate monitor and with Construct 3s unlimited frame rate setting. Seems to work fine in all these tests.

    The only "trick" I use is to set linear damping to 0 then once a projectile hits something set it to 1 or whatever to slow it down gradually

    Give it a try

    Yeah I'm using "Apply force towards position" because I want to aim with my mouse. Not sure tho is it the best way to do what I want. I will check the "set velocity" soon if I can make it work with the aiming.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)