- Install node.js
- Clone this repo and navigate to it in a terminal
- Run:
npm install
npm start
- Run the game and navigate to
localhost:8080/?editor
- To load a saved map go to
localhost:8080/?editor={YOUR MAP DATA}
- Drag the mouse around to move the camera
- Hold shift and click to create ground polygons
- Drag the mouse on polygon vertices or objects to move them
- Use the arrow keys to select current treasure/coral
- To place coral, hold the
1
key and click - To place treasure, hold the
2
key and click - Hold ctrl and click to delete polygons or objects
- Press space to save the map by copying the map data to the clipboard