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
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: