Input lag

This forum is currently in read-only mode.
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • Any ideas how to lower the lag even more, to the twoframes from the Madster explanation?

    I know it looks like it is more, but it isn't. We're just more sensitive to mouse lag than to button lag.

    Also, it's two frames AND A VSYNC.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Two frames and a V-sync should be around 50ms lag - surely not as obvious as the video that was posted. Is there something else going on here as well maybe? Perhaps if Windows is updating the mouse at 50Hz, and drawing at 60Hz, you could lose another frame, and perhaps another being Construct's fault for getting input at the wrong time or something. (I'll check if it gets input before or after V-sync - it should definitely be after!)

    Still, I guess the hardware mouse cursor is the best way to make it less noticable. We'd need a new plugin for that. Basically it would override the OS cursor image, rather than using a sprite following the mouse with lag and all. The mouse position known by Construct will still lag for the same reasons, but it won't appear to with the actual cursor itself.

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