No description
Find a file
Tux 672d717ad9
All checks were successful
CI / format (push) Successful in 18s
CI / build (push) Successful in 11s
CI / test (push) Successful in 10s
CI / engine-check (push) Successful in 38s
CI / perf-smoke (push) Successful in 19s
Fix ground cut-off at zoom-out and controller cursor/click
From in-game testing on a PS5 controller + a non-base window:

- Ground "floating island": the dirt/grass slab (~5000px wide) was
  narrower than the view at max zoom-out, so its edges showed. Widened
  to +/-40000 (drawn once, free); stones scatter over a bounded +/-10000
  band at the original density.
- Left-stick cursor flew to the corner: it warped in window space
  (Input.WarpMouse) while reads used viewport space (GetMousePosition) --
  under canvas_items stretch those diverge. Now warps via
  Viewport.WarpMouse (viewport coords throughout).
- X-click fired on some buttons, not others: a synthesized mouse click's
  GUI hit-test doesn't survive the stretch. X now presses the focused /
  hovered button directly (GuiGetHoveredControl + EmitSignal(Pressed)),
  synthesizing a click only for the map (whose handler reads the live
  cursor world position).

Verified with harnesses at a stretched resolution. Logic 340,
integration 10, perf ~0.41 ms. Verified gate: PASS / SECURE.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 20:17:44 +02:00
.claude Add Phase 0 scaffold: solution, CI, debug overlay, perf gate 2026-06-18 01:21:19 +02:00
.forgejo/workflows Fix CI: name solution explicitly in format/build jobs 2026-06-18 10:28:52 +02:00
assets Add Phase 7 Stage 1 U3: top-bar icon row + hand-authored SVG icons 2026-06-21 13:52:41 +02:00
docs Add Phase 0 scaffold: solution, CI, debug overlay, perf gate 2026-06-18 01:21:19 +02:00
Incorporated.Core Open fresh games at 08:00; make night stars twinkle 2026-06-21 18:01:54 +02:00
resources Add Phase 0 scaffold: solution, CI, debug overlay, perf gate 2026-06-18 01:21:19 +02:00
scenes Add Phase 2: building data-grid, build mode, save/load 2026-06-18 15:35:57 +02:00
shaders Add Phase 1 performance vertical slice (1,000-NPC architecture) 2026-06-18 12:31:20 +02:00
src Fix ground cut-off at zoom-out and controller cursor/click 2026-06-21 20:17:44 +02:00
tests Open fresh games at 08:00; make night stars twinkle 2026-06-21 18:01:54 +02:00
.editorconfig Add Phase 3: economy loop (clock, income, settlement, hire, HUD) 2026-06-18 16:19:20 +02:00
.gitattributes Add Phase 0 scaffold: solution, CI, debug overlay, perf gate 2026-06-18 01:21:19 +02:00
.gitignore Add Phase 0 scaffold: solution, CI, debug overlay, perf gate 2026-06-18 01:21:19 +02:00
CHANGELOG.md Fix ground cut-off at zoom-out and controller cursor/click 2026-06-21 20:17:44 +02:00
CLAUDE.md Add Phase 0 scaffold: solution, CI, debug overlay, perf gate 2026-06-18 01:21:19 +02:00
Directory.Build.props Add Phase 0 scaffold: solution, CI, debug overlay, perf gate 2026-06-18 01:21:19 +02:00
global.json Add Phase 0 scaffold: solution, CI, debug overlay, perf gate 2026-06-18 01:21:19 +02:00
icon.svg Add Phase 0 scaffold: solution, CI, debug overlay, perf gate 2026-06-18 01:21:19 +02:00
icon.svg.import Add Phase 0 scaffold: solution, CI, debug overlay, perf gate 2026-06-18 01:21:19 +02:00
Incorporated.csproj Add Phase 0 scaffold: solution, CI, debug overlay, perf gate 2026-06-18 01:21:19 +02:00
Incorporated.sln Add Phase 0 scaffold: solution, CI, debug overlay, perf gate 2026-06-18 01:21:19 +02:00
project.godot Add Phase 2: building data-grid, build mode, save/load 2026-06-18 15:35:57 +02:00