Fancy upgrade shop: sprite nodes + directional nav #85

Merged
cammymoop merged 1 commit from feature/fancy-upgrade-shop into master 2026-03-06 10:04:39 -06:00
Collaborator

Summary

  • Replaces the old VBoxContainer/Button shop with sprite-based FancyUpgradeNode circles and FancyUpgradeShop CanvasLayer
  • Each node shows bought/max count and a floating name label; focused node scales up via tween
  • Info panel at top: upgrade name, description, level/cost, Buy button, Start Round button
  • Navigation: mouse hover auto-focuses nearest node; arrow keys/WASD/gamepad directional input moves focus; Enter or clicking the focused circle buys
  • Grid layout: up to 4 columns, centered below the info panel; re-layouts on visibility change
  • Locked upgrades (unlock_threshold / requires) remain hidden as before
  • Preserves show_shop() and apply_starting_upgrades() interface for GameManager

Test plan

  • Headless runs clean
  • Hover nodes to see focus animation and info panel update
  • Buy an upgrade: count updates, currency deducts
  • Directional input navigates between nodes
  • Start Round button works
## Summary - Replaces the old VBoxContainer/Button shop with sprite-based `FancyUpgradeNode` circles and `FancyUpgradeShop` CanvasLayer - Each node shows bought/max count and a floating name label; focused node scales up via tween - Info panel at top: upgrade name, description, level/cost, Buy button, Start Round button - Navigation: mouse hover auto-focuses nearest node; arrow keys/WASD/gamepad directional input moves focus; Enter or clicking the focused circle buys - Grid layout: up to 4 columns, centered below the info panel; re-layouts on visibility change - Locked upgrades (unlock_threshold / requires) remain hidden as before - Preserves `show_shop()` and `apply_starting_upgrades()` interface for GameManager ## Test plan - [ ] Headless runs clean - [ ] Hover nodes to see focus animation and info panel update - [ ] Buy an upgrade: count updates, currency deducts - [ ] Directional input navigates between nodes - [ ] Start Round button works
- FancyUpgradeNode: Node2D with gradient circle sprite, animated focus
  scale, floating name label, and X/Y count display
- FancyUpgradeShop: CanvasLayer with dark overlay, info panel at top
  (name/desc/stats + buy button), upgrade nodes arranged in a grid;
  navigable via mouse hover or directional (WASD/arrows/gamepad) input
- Swap main.tscn to use new shop; update type annotations in main.gd
  and game_manager.gd

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
cammymoop merged commit 274e59a681 into master 2026-03-06 10:04:39 -06:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cammymoop/semi-vibed-game!85
No description provided.