More bug fixes and slight event bus adjustment
Currently the fix list is as follows:
- Fixes a bug on calculated.gg where the
.fullscreendiv does not maintain width and height - Fixes issues where the game managers were not deconstructed correctly
- Fixes orthographic camera zoom computation on various screen sizes (see this screenshot)
- Fixes a bug where camera settings were not properly updated when the game was paused until the player hit "play" again
- Remove calls to
renderfrom the ReplayViewer
Some adjustments to the API:
- Dropped subscriber support from the
FPSClockin favor of the new global event bus. You can no longer subscribe to it when receiving frames but instead but use theaddFrameListenerevent listener. - Adjusted the calls to tear down a number of managers (static
destructmethod) including theGameManager. Currently only called in theReplayViewercomponentcomponentWillUnmountbut may need to be called before reinitialization as well.