Shop nav: move_* actions, process-based autorepeat #86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/shop-nav-input"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
ui_left/right/up/downevent handling with per-frameInput.get_vector("move_left","move_right","move_up","move_down")so analog sticks give a proper direction vectorNAV_INITIAL_DELAY(0.35s) repeats atNAV_REPEAT_INTERVAL(0.12s) while heldui_acceptand mouse click still handled event-based (single-fire, correct)Test plan
Replace event-based ui_left/right/up/down with per-frame polling of Input.get_vector("move_left","move_right","move_up","move_down") so analog sticks work naturally. First press navigates immediately, then waits NAV_INITIAL_DELAY (0.35s) before repeating at NAV_REPEAT_INTERVAL (0.12s). Direction change > 60° resets the timer for instant response. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>