Initial commit. Implement music sync features.
This commit is contained in:
5
rhythm_game/metronome.gd
Normal file
5
rhythm_game/metronome.gd
Normal file
@@ -0,0 +1,5 @@
|
||||
class_name Metronome extends AudioStreamPlayer
|
||||
|
||||
func on_conductor_ticked(update: BeatUpdate) -> void:
|
||||
if update.new_beat():
|
||||
play()
|
||||
Reference in New Issue
Block a user