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
Each scene currently has it's own animation loop. Instead, move that logic out into a separate class shared with all nodes and scenes, then have nodes register render tasks onto the singleton.
Having a central loop improves performance by reducing function calls and animation frames. Will also separate concerns away from the Scene class (cleaner code).
The text was updated successfully, but these errors were encountered:
trusktr
changed the title
Move the central animation loop out of the Scene class to a separate class for all scenes.
Move the central animation loop out of the Scene class to a separate class with one loop for all scenes.
Apr 18, 2016
Each scene currently has it's own animation loop. Instead, move that logic out into a separate class shared with all nodes and scenes, then have nodes register render tasks onto the singleton.
Having a central loop improves performance by reducing function calls and animation frames. Will also separate concerns away from the Scene class (cleaner code).
The text was updated successfully, but these errors were encountered: