Skip to content

Use the amount of time passed since the last frame instead of moving a fixed number of pixels per second #7

Description

@insin

We're ignoring the seconds passed to script_tick(seconds), which tells us how much time has passed since the last frame.

We should use this when calculating movement and physics, as this means the script probably only works as intended at the frame rate I developed it at (60fps).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions