How do I change the Minimum Framerate?

0 favourites
  • 1 posts
From the Asset Store
Simplistic hyper-casual game with nature elements. Tap to switch between the 4 elements and reach a better score.
  • Hello,

    I read the Delta-time and framerate independence tutorial. In particular this part:

    t very low framerates, dt can become very large. For example, at 5 FPS, dt is 0.2. An object moving at 500 pixels per second is therefore moving 100 pixels per tick. This can cause it to "teleport" through walls or miss collisions with other objects.

    Games are usually unplayable at such low framerates, but it is even worse if they become unstable like that. To help the game stay reliable even at very low framerates, Construct 2 does not let dt get larger than 0.1.

    In my game, in which I use the Bullet behavior, sometimes happens that collisions are missed when FPS is low. I would like to decrease the minimum framerate from 0.1 to something lower.

    How can I do it? If it is impossible from C2 IDE, could you tell me what javascript file do I have to modify to change that value?

    Thank you very much in advance! :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)