Add global scroll speed setting.
This commit is contained in:
9
rhythm_game/settings.gd
Normal file
9
rhythm_game/settings.gd
Normal 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
|
||||
1
rhythm_game/settings.gd.uid
Normal file
1
rhythm_game/settings.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://k0no5veq8xco
|
||||
Reference in New Issue
Block a user