Add labeled horizontal/vertical markers to spawn curve preview #82

Merged
cammymoop merged 1 commit from feature/wave-spawn-calc-labels into master 2026-03-05 14:58:23 -06:00
Collaborator

Summary

  • Wave number markers (W0–Wn) labeled below the curve in alternating rows
  • Duration multiplier markers (1x/1.25x/1.5x/2x) labeled above the curve with wave number, staggered to avoid collisions
  • Horizontal power-of-10 grid lines across the full curve width, labeled inside the graph (e.g. 10^9 (billion)); always includes the highest power of 10 below the 1x and 2x end-time counts, remaining lines evenly spaced (~6–8 total)
  • _marker_container promoted from Node to Node2D so Label children position correctly

Test plan

  • gdlint passes
  • Headless run exits cleanly
  • Open tools/wave_spawn_preview.tscn in editor — confirm wave labels below curve, duration labels above, and horizontal grid lines with power-of-10 labels inside the graph
## Summary - Wave number markers (W0–Wn) labeled below the curve in alternating rows - Duration multiplier markers (1x/1.25x/1.5x/2x) labeled above the curve with wave number, staggered to avoid collisions - Horizontal power-of-10 grid lines across the full curve width, labeled inside the graph (e.g. `10^9 (billion)`); always includes the highest power of 10 below the 1x and 2x end-time counts, remaining lines evenly spaced (~6–8 total) - `_marker_container` promoted from `Node` to `Node2D` so `Label` children position correctly ## Test plan - [x] gdlint passes - [x] Headless run exits cleanly - [ ] Open `tools/wave_spawn_preview.tscn` in editor — confirm wave labels below curve, duration labels above, and horizontal grid lines with power-of-10 labels inside the graph
Draws dim horizontal lines at selected powers of 10 across the log-scale
curve, labeled inside the graph (e.g. "10^9 (billion)"). Always includes
the highest power of 10 below the 1x end-time count and the highest below
the 2x end-time count; remaining lines are spaced evenly to keep the total
around 6-8 without crowding.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
cammymoop merged commit 4e64356ac8 into master 2026-03-05 14:58:23 -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!82
No description provided.