8000 Use the amount of time passed since the last frame instead of moving a fixed number of pixels per second · Issue #7 · insin/obs-bounce · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Use the amount of time passed since the last frame instead of moving a fixed number of pixels per second #7
Open
@insin

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).

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

      0