Skip to content
This repository was archived by the owner on Sep 12, 2023. It is now read-only.
This repository was archived by the owner on Sep 12, 2023. It is now read-only.

Make deltaTime accessible by Actor Scripts #151

@Byterset

Description

@Byterset

The example project runs at vastly different speeds on different emulators. I suggest to make a global variable deltaTime available to all actor scripts so that every script that potentially updates something has the time difference to the last frame available (so movement can be time based). Calculating this in every script you need it for every update seems like a waste of ressources

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