Skip to content

Choppy frame pacing with 60fps app on 60hz display (CPP / Windows / Neko / Hashlink) #2026

@twilson90

Description

@twilson90

As long as I've been trying OpenFl/Lime, I've had issues getting consistent frame pacing.
I'm trying to get to the bottom of why this is happening and if it's an issue specific to my system (Windows 11, decent specs).

In my project.xml I simply have:

<window background="#FFFFFF" fps="60" vsync="true" />

When I compile a very simple program with some moving objects, targeting windows, neko or hashlink, it is very choppy, especially in windowed mode (fullscreen less so):

2026-01-26.19-29-36.mp4

In the bottom left I have a frame time graph (using Lib.getTimer()) and it doesn't represent what I'm seeing.

OpenFl has always been like this for me since first trying it years ago, so it's not a recent development. I don't know if there's just something consistently wrong in my configuration.
It doesn't matter how light/heavy the load is, visually it just seems to chug and it never looks smooth.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions