Skip to content

five-on-it / apps/tools/src/play

apps/tools/src/play ​

The play loop: export the levels once, start the game (npm run dev:web: the server on the level asked for and the renderer in a browser) and keep re-exporting while the editor saves. One Ctrl+C stops everything. A level that is not an editor scene (a .json level file given by path) just starts the game.

Functions ​