chore(map-editor): bump to v0.3.0; cheatsheet + README sync
Updates the in-editor Cheatsheet to reflect the new G binding and the Esc cascade; bumps manifest.module and the file header to v0.3.0; adds a Menu UI section to README.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
23
init.lua
23
init.lua
@@ -1,4 +1,4 @@
|
||||
-- sporel-module-map-editor v0.2.0c.4
|
||||
-- sporel-module-map-editor v0.3.0
|
||||
-- Interactive map editor — Rev 4 UX architecture (see design paper
|
||||
-- 2026-05-28-autotile-blob-styles-design.md §11 + plan stub
|
||||
-- 2026-05-28-map-editor-blob-v2.md). 0.2.0b adds the bottom palette
|
||||
@@ -591,19 +591,20 @@ local ui = (function()
|
||||
{ key="I", action="Show / hide this cheatsheet" },
|
||||
{ key="S", action="Save current map to work.map.json" },
|
||||
{ key="E", action="Erase tile at mouse cell" },
|
||||
{ key="R", action="Cycle tile rotation 0->90->180->270 (Direct-mode override)" },
|
||||
{ key="H", action="Toggle tile flip 0<->1 (Direct-mode override)" },
|
||||
{ key="R", action="Cycle tile rotation 0->90->180->270 (Direct only)" },
|
||||
{ key="H", action="Toggle tile flip 0<->1 (Direct only)" },
|
||||
{ key="0", action="Reset transform (rot=0, flip=0)" },
|
||||
{ key="D", action="Toggle debug overlay (per-cell slot/rot labels)" },
|
||||
{ key="G", action="Toggle world overlay (Auto-Tile: map-grid + dots; Direct: cell-grid)" },
|
||||
{ key="Esc", action="Quit editor" },
|
||||
{ key="LMB-drag canvas (Auto-Tile)", action="Stroke-paint vertices (any-corner fill)" },
|
||||
{ key="RMB-drag canvas (Auto-Tile)", action="Stroke-clear vertices" },
|
||||
{ key="G", action="Toggle world overlay" },
|
||||
{ key="Esc", action="Close modal / close menu / quit" },
|
||||
{ key="LMB on menu category", action="Open dropdown" },
|
||||
{ key="LMB-drag canvas (Auto-Tile)", action="Stroke-paint map-tiles (any-corner fill)" },
|
||||
{ key="RMB-drag canvas (Auto-Tile)", action="Stroke-clear map-tiles" },
|
||||
{ key="LMB-drag canvas (Direct)", action="Stroke-paint cells (override with slot+rot+flip)" },
|
||||
{ key="RMB-drag canvas (Direct)", action="Stroke-clear overrides" },
|
||||
{ key="LMB on palette swatch", action="Select slot (1-14) as active tile" },
|
||||
{ key="RMB on Layer row", action="Toggle layer visibility" },
|
||||
{ key="LMB on Layer row", action="Set as active layer" },
|
||||
{ key="LMB on palette swatch", action="Select slot (1-14) as active tile" },
|
||||
{ key="RMB on Layer row", action="Toggle layer visibility" },
|
||||
{ key="LMB on Layer row", action="Set as active layer" },
|
||||
}
|
||||
|
||||
-- =====================================================================
|
||||
@@ -1455,7 +1456,7 @@ input.bind("reset_transform", { "0" }) -- 0.2.0c
|
||||
input.bind("toggle_debug_overlay", { "d" }) -- 0.2.0c.3
|
||||
input.bind("toggle_world_overlay", { "g" }) -- 0.2.0c.4
|
||||
|
||||
engine.print("map-editor v0.2.0c.4: ready. Tab=mode, I=help, G=grid, D=debug, S=save, E=erase, R=rotate, H=flip, 0=reset, ESC=quit")
|
||||
engine.print("map-editor v0.3.0: ready. Tab=mode, I=help, G=grid, D=debug, S=save, E=erase, R=rotate, H=flip, 0=reset, ESC=quit / close")
|
||||
|
||||
-- =====================================================================
|
||||
-- Frame hooks
|
||||
|
||||
Reference in New Issue
Block a user