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
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).