Add global scroll speed setting.

This commit is contained in:
2026-02-04 00:00:52 +08:00
parent 7bc4246375
commit 753a2b1030
2 changed files with 10 additions and 0 deletions

9
rhythm_game/settings.gd Normal file
View File

@@ -0,0 +1,9 @@
@abstract class_name Settings extends Object
## World coordinate units (pixels) per beat.
static func get_note_scroll_speed() -> float:
return _note_scroll_speed
# ======== IMPLEMENTATION ======== #
static var _note_scroll_speed: float = 20.0

View File

@@ -0,0 +1 @@
uid://k0no5veq8xco