v1.0-web - Mystery Tower is available directly in the browser!


This is a quick update after a long while...

Now Mystery Tower can be played directly in the browser! I was talking to a friend and remembered that Unity has the option to export to HTML5/webasm, so I decided to give it a go.

This game was made in Unity 2019.1.10f1. Even if back in the day that was a LTS version, it's not supported anymore. I ran into two issues:

  1. libtinfo5 was missing (http://answers.unity.com/answers/1793072/view.html)
  2. This version uses Python2 in the web build script (which is baffling considering that Python3 has been around since 2009, and Python2 reached its official end-of-life in 2020)

If, like me, you are using an obsolete Unity version, you may need to make these changes to build for the web:

  • <Unity 2019 install dir>/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emcc.py: Change a few 'is not' operators to !=
  • <Unity 2019 install dir>/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/tools/shared.py: Change a few 'is not' operators to !=
  • <Unity 2019 install dir>/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/tools/shared.py: Change the 'from distutils.spawn import find_executable' import to 'from shutil import which as find_executable'

Files

mystery-tower-html5-webasm.zip Play in browser
Version v1.0 May 07, 2023

Get Mystery Tower

Leave a comment

Log in with itch.io to leave a comment.