Unify menu presentation and fix UI regressions

This commit is contained in:
Alexander Sellite 2026-07-30 10:46:15 -04:00
parent 3734d4a168
commit b18d9392d8
35 changed files with 588 additions and 361 deletions

12
ui/ui_motion.gd Normal file
View file

@ -0,0 +1,12 @@
class_name UIMotion
extends RefCounted
const BUBBLE_VERTICAL_SPEED: float = 420.0
const BUBBLE_TRANSITION_OVERLAP_DELAY: float = 0.05
const UTILITY_ENTER_DURATION: float = 0.19
const UTILITY_EXIT_DURATION: float = 0.15
const UTILITY_ENTER_SCALE: float = 0.97
static func bubble_duration(distance: float) -> float:
return maxf(absf(distance) / BUBBLE_VERTICAL_SPEED, 0.08)