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

Implement 'tick' event #8

Open
premasagar opened this issue Aug 9, 2016 · 0 comments
Open

Implement 'tick' event #8

premasagar opened this issue Aug 9, 2016 · 0 comments

Comments

@premasagar
Copy link
Member

Provide a "tick" event to each creature, say, with the number of milliseconds since the world started. This allows animations to remain consistent as the number of creatures increases, and prevents each creature implementing it's own setTimeout / requestAnimationFrame blocks, which will hit performance.

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