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

13
resource_type/song.gd Normal file
View File

@@ -0,0 +1,13 @@
## Represents a level for a music audio that may contain multiple charts.
class_name Song extends Resource
var music: Music
var charts: Dictionary[StringName, Chart] = {}
func has_music() -> bool:
return music != null and music.stream != null
func has_chart() -> bool:
return not charts.is_empty()