Skip to content

Add map authoring asset foundation - #64

Open
miskibin wants to merge 3 commits into
mainfrom
cursor/map-editor-foundation-cb82
Open

Add map authoring asset foundation#64
miskibin wants to merge 3 commits into
mainfrom
cursor/map-editor-foundation-cb82

Conversation

@miskibin

@miskibin miskibin commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a RON-backed MapAuthoring overlay schema for the future visual map editor.
  • Add a dev-only in-game Map Editor panel (FOREST_MAP_EDITOR=1, toggle F4) for soft biome-region painting at the hero position.
  • Support session undo/redo, save, and Save + Rebuild for edited biome regions.
  • Hook biome, height, and river/water overrides into the existing worldmap bake pipeline while leaving normal gameplay unchanged when no asset is active.

Walkthrough

map_editor_panel_demo_ready.mp4
Map editor panel
Painted map authoring smoke test

Testing

  • cargo test map_authoring && cargo check && cargo test -p tileworld_core
  • cargo build
  • BEVY_ASSET_ROOT=$PWD FOREST_MAP_EDITOR=1 FOREST_SHOT=/opt/cursor/artifacts/map_editor_panel.png FOREST_CAM="0,60,20,0,0,0" FOREST_NOHUD=1 FOREST_NOCLOUDS=1 FOREST_QUALITY=low FOREST_FOG="4000,9000" FOREST_TIME=0.28 timeout 570 xvfb-run -a -s "-screen 0 1280x720x24" ./target/debug/tileworld_bevy_forest
  • BEVY_ASSET_ROOT=$PWD FOREST_MAP_EDITOR=1 FOREST_CLIP=/tmp/map_editor_panel_clip_ready FOREST_CLIP_FRAMES=45 FOREST_CLIP_FPS=15 FOREST_CLIP_WARMUP=140 FOREST_CAM="0,60,20,0,0,0" FOREST_NOHUD=1 FOREST_NOCLOUDS=1 FOREST_QUALITY=low FOREST_FOG="4000,9000" FOREST_TIME=0.28 timeout 570 xvfb-run -a -s "-screen 0 1280x720x24" ./target/debug/tileworld_bevy_forest

Note: capture logs still report two pre-existing missing rival VO files (rival_fell_a.ogg, rival_fell_b.ogg), unrelated to map authoring; the runs exit 0 and save frames/screenshots.

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 2 commits July 9, 2026 09:17
Co-authored-by: Michał Skibiński <miskibin@users.noreply.github.com>
Co-authored-by: Michał Skibiński <miskibin@users.noreply.github.com>
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
warbell Ready Ready Preview, Comment, Open in v0 Jul 9, 2026 9:49am

@miskibin
miskibin marked this pull request as ready for review July 9, 2026 09:40
Copilot AI review requested due to automatic review settings July 9, 2026 09:40
@cursor

cursor Bot commented Jul 9, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Co-authored-by: Michał Skibiński <miskibin@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants