Skip to content

fixed update #23

@owmo-dev

Description

@owmo-dev

Add a fixed update method to Engine and Entity class which attempts to maintain roughly 60fps, regardless of the current frame rate. If the browser FPS dips below, it should repeat N times, if it goes above, it should skip frames. The method could be used for physics or other simulations where accuracy is not critical, but good enough will suffice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions