Deploying your game
Making a version for players and the mistakes that break it.
Use Deployment in the File menu. MV can build for Windows, macOS, Linux, Android and iOS (as a folder for a wrapper) and web browsers. MZ builds for Windows, macOS, Android and iOS, and web browsers.
Before you deploy
- Exclude unused files removes graphics and sounds the editor cannot see in use. Files that are only used by plugins or script calls look unused and get removed, which leads to "Failed to load" errors for players. Leave the option off, or check the game afterwards.
- Check file names for case. Windows does not care, the web and phones do.
- Turn off test-only plugins and debug switches.
- Play the deployed version once, not only the test play from the editor.
Web version
A web build has to be served by a web server. Opening index.html straight from the
disk is blocked by most browsers. For testing, any small local web server works; for players,
upload the folder to a host or to itch.io as an HTML game (zip the folder, index.html at
the top level).