Construct 3 r174

You're viewing a single comment in a conversation. View all the comments
  • 3 Comments

  • Order by
    • [-] [+]
    • 3
    • Ashley's avatar
    • Ashley
    • Construct Team Founder
    • 3 points
    • (2 children)

    No, it's not suitable for that. It doesn't give you any extra "breathing room", since you still have the same computing resources available. For example if your game is already slowing down to 30 FPS due to heavy processing, changing the framerate mode won't affect that, it'll still run at 30 FPS. Besides, even if you do want to do something like multiple passes of AI in one tick, you can do that in events already with a "repeat" event, so you only repeat that particular aspect of the game logic that needs it, rather than wastefully repeating the entire logic of the game.

    • Hmm ok then. What does each mode do then?

      For V-synced, if the frame runs in less than 16ms, for example 10ms, will the OS process just sleep for 6ms?

      Then for Unlimited mode the OS process will just never sleep? It will just immediately start the next frame after the first one is finished?

      I'm very curious now. Any explanation will be very helpful! Thanks!

        • [-] [+]
        • 2
        • Ashley's avatar
        • Ashley
        • Construct Team Founder
        • 2 points
        • (0 children)

        For V-synced, if the frame runs in less than 16ms, for example 10ms, will the OS process just sleep for 6ms?

        Yes. That's also an important power/battery-saving feature.