Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frame independent movement. #2

Open
BobbyMcWho opened this issue Nov 19, 2018 · 0 comments
Open

Frame independent movement. #2

BobbyMcWho opened this issue Nov 19, 2018 · 0 comments

Comments

@BobbyMcWho
Copy link

Hey @zenspider ,

I attended your talk at rubyconf, and asked the question about time based rendering since you had mentioned having to turn on vsync to slow the animations to a point that they didn't just zip off the screen. I don't know much about SDL or the strategies used to implement time based rendering, but I wanted to open the discussion here. Here's a tutorial that I came across in a brief search, that seems to implement frame independent movement.

http://lazyfoo.net/tutorials/SDL/44_frame_independent_movement/index.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant