Right-click context menu #2

Merged
tekki merged 2 commits from feature/right-click-context-menu into master 2026-03-20 12:01:55 +00:00
Collaborator

Closes #1

What changed

  • Browser context menu is now suppressed on the game canvas (disableContextMenu())
  • Right-click in the game world opens a small in-game context menu
  • Two actions: Build (opens build menu) and Folks (opens villager panel)
  • Visual style matches existing overlay objects (dark bg, monospace, green hover)
  • Menu closes on left-click, ESC, or when an action is selected
  • No context menu shown when build mode or farm mode is active (RMB still cancels those as before)
Closes #1 ## What changed - Browser context menu is now suppressed on the game canvas (`disableContextMenu()`) - Right-click in the game world opens a small in-game context menu - Two actions: **Build** (opens build menu) and **Folks** (opens villager panel) - Visual style matches existing overlay objects (dark bg, monospace, green hover) - Menu closes on left-click, ESC, or when an action is selected - No context menu shown when build mode or farm mode is active (RMB still cancels those as before)
claude added 1 commit 2026-03-20 11:58:11 +00:00
claude added 1 commit 2026-03-20 11:58:47 +00:00
tekki approved these changes 2026-03-20 12:01:43 +00:00
tekki merged commit 5828f40497 into master 2026-03-20 12:01:55 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tekki/nissefolk#2
No description provided.