-
-
Notifications
You must be signed in to change notification settings - Fork 2
fix: animate ambient animations based on the game time #127
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work 🔥
Only two small questions :)
|
I addressed both of your points. Please take another look if you are satisfied 😃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks for your awesome work as always 👍
fix #119
I created a function to allow listening for game time ticks. The callbacks get some info, including a delta for ambient animations.
This delta is calculated based on the game time seconds passed this tick. I just played around with the values which looked nice for the ocean.