Click a room to select. Drag empty space to orbit. Wheel to zoom.
Map Lab
Level editor for Last Ship Sailing
Level
Palette (8 slots, per-room)
Slot i tints room i's wall pattern in-game.
Reference SU = 150
Typical radii in shipped maps: 270 mid / connector (SU×1.8, most common) 300 large mid (SU×2.0) 330 spawn rooms (SU×2.2) 375 center / hub (SU×2.5)
Spans run roughly ±1350 (SU×9) from origin.
Tools (1/2/3/4 hotkeys)
Group (Shift/Ctrl click)
Shift/Ctrl-click to add/remove items. Drag the gizmo on a multi-room selection to move them as a group; tunnels stretch with their endpoints.
Preset Shapes
Inserts at the orbit center, auto-selects the new pieces so you can drag them as a group with the gizmo.
Selected
Nothing selected. Click a room or tunnel.
Multiple items selected. Drag the gizmo to move them; press Delete to remove all; Ctrl+C to copy.
≥60 ship-passable (default 180) 30–60 tight; rewards smaller chassis <30 sightline / shoot-through only; ships do not fit
Below ~30 the marching cubes may not visually resolve the opening, but the SDF still passes projectiles. Press Delete to remove.
Rooms (0)
Tunnels (0)
Export
"Copy as JS" produces an object literal you can paste directly into the MAP_DATA block in last_ship_sailing_v7_0.html.
Import
Sync with Game HTML
Opens last_ship_sailing_v8VR.html and lists every baked-in map (each
installCustomMap call). Pick one to edit, then save changes straight
back to the file. Uses File System Access (Chrome / Edge) for direct
writes; other browsers fall back to a download of the modified file.
No game file open.
"Save current to game" writes the editor's current map back to the
baked map whose key matches the current map's key.
"Add as new baked map" appends a new installCustomMap call (use a
fresh key to avoid stomping an existing one).
Help
+ Room: click in viewport to place a sphere on the Y=0 plane (radius 200; edit after). + Tunnel: click two rooms in sequence to connect them. Select: click any room or tunnel (or list entry) to edit it. Shift/Ctrl-click to add or remove from the selection. Selected items glow brighter. Group move: with multiple rooms selected, drag the gizmo to move them all together; tunnels between them stretch with the rooms. Copy/Paste: Ctrl+C copies selection, Ctrl+V pastes at an offset. Tunnels are included only when both endpoint rooms are also selected. Preset Shapes: drop a 3+3 triangle or 4+4 square at the origin, pre-selected so you can immediately drag it into place. Delete tool removes whatever you click; or press Del/Backspace to remove the current selection. Esc returns to Select tool / clears selection.