Posted October 01, 2018 by soapbubble
#patch notes
A new build of Morpheus is available!
On the surface, not much has changed but underneath there have been several huge improvements made in the underlying web engine that powers Morpheus. What made Morpheus unplayable after as little as a minute of gameplay was that no effort was being made by the application to release memory. In addition, while auto-save made it easy to restore a crashed game it was less convenient to restart the game.
As the player roamed about, the browser was hanging on to every video, audio, image and WebGL context. Eventually the browser would run out of memory and the application would fail. This issue was exacerbated by the recent preloading behavior, that would aggressively preload scenes before a player enters them. I previously had made some effort to clean up memory but there were bugs and eventually I would disable the code. Well for the past two weekends I turned on the unloading behavior and fixed bugs. There is still some memory leakage, but an order of magnitude less than before.
Improvements to motion controls. The game sets a baseline when entering a scene. Once in the scene tilting the phone will rotate the panorama in that direction. The more the phone is tilted, the faster the rotation. Returning to baseline will halt the rotation. I would like to add some additional damping when near baseline, but is pretty close to what I want.
A reload button has been added to the game menu to quickly reload the game without having to exit the application. Press the button in the top-left corner to access the game menu.
Various bug fixes include: