Initial commit. Implement music sync features.

This commit is contained in:
2026-01-19 22:48:17 +08:00
commit f16cf0fb96
37 changed files with 757 additions and 0 deletions

18
rhythm_game/note.gd Normal file
View File

@@ -0,0 +1,18 @@
class_name Note extends Object
enum TYPE {
TAP = 0,
HOLD_START = 1,
HOLD_END = 2
}
var hit_beat: float
var type: TYPE
var lane: int
func _init(p_hit_beat: float = -99.0, p_lane: int = 0, p_type: TYPE = TYPE.TAP) -> void:
hit_beat = p_hit_beat
lane = p_lane
type = p_type