feat(editor): in-game map editor mode with undo/redo (#13) - #354
Open
Aduersarius wants to merge 2 commits into
Open
feat(editor): in-game map editor mode with undo/redo (#13)#354Aduersarius wants to merge 2 commits into
Aduersarius wants to merge 2 commits into
Conversation
Activate visual map editing from /play without leaving the session. Reuses the construction editor stack (palette, PNG brush, publish) and adds paint history shortcuts, Alt+drag rectangle fill, blocked-tile overlay toggle, and a publish warning with live players-on-map count. Gameplay movement and clicks are suppressed while editing. Co-authored-by: Nikolay Golovin <Aduersarius@users.noreply.github.com>
cursor
Bot
force-pushed
the
feat/ingame-map-editor-13
branch
from
September 6, 2026 14:12
8943917 to
c779106
Compare
Activate visual map editing from /play without leaving the session. Reuses the construction editor stack (palette, PNG brush, publish) and adds paint history shortcuts, Alt+drag rectangle fill, blocked-tile overlay toggle, and a publish warning with live players-on-map count. Gameplay movement and clicks are suppressed while editing. Co-authored-by: Nikolay Golovin <Aduersarius@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ships the in-game visual map editor for #13 on top of the already-merged
/construccionstack (palette, PNG brush, publish/discard/revert APIs)./play: accounts with game-data admin permission see Editar mapa; activates without reload/navigation. Visible Modo edición banner. Non-permitted accounts never see the control.suppressGameplayInputso painting does not walk the character.Ctrl/Cmd+Z,Ctrl/Cmd+Y/ Shift+Z) via local paint history against the tile paint API.Deferred (incremental MVP)
/playsession).Differentiation
No prior open PR targeted #13. Reuses merged world-builder editor APIs and
/construccionUI inside/play— not a kitchen-sink converter/protocol dump.Test plan
node --experimental-strip-types --test frontend/lib/editor/paintHistory.test.ts(undo/redo, inverse tiles, rect)/play: Editar mapa appears; non-admin: hiddenTracks #13.