move scale factors to constraints
Some checks failed
GDScript Auto-Formatting / Auto-Format GDScript Code (pull_request) Failing after 12s
GDScript Linting / GDScript Code Quality Check (pull_request) Failing after 11s

This commit is contained in:
2025-09-27 21:20:15 +04:00
parent 9b83bec37d
commit 77971497a4
5 changed files with 16 additions and 8 deletions

View File

@@ -11,8 +11,16 @@ const MIN_RESOLUTION := Vector2i(720, 480)
# Animation constants
const FADE_DURATION := 0.3
# Scale factor constants for consistent UI interactions
const BUTTON_HOVER_SCALE := 1.1
const BUTTON_PRESS_SCALE := 0.95
const UI_CONTROL_HIGHLIGHT_SCALE := 1.1
# Game-specific scale constants
const TILE_SELECTED_SCALE := 1.1
const TILE_HIGHLIGHTED_SCALE := 1.1
const TILE_NORMAL_SCALE := 1.0
# UI spacing constants
const UI_MARGIN := 20