Add note array and view.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://dwro2d0482v0p"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://dwro2d0482v0p"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dlnnbx2wvn66t" path="res://rhythm_game/note_layout.gd" id="1_cr5rn"]
|
||||
[ext_resource type="Script" uid="uid://102cl75cfpgw" path="res://rhythm_game/music_sync/event_layout.gd" id="1_jnfl3"]
|
||||
[ext_resource type="Script" uid="uid://s16dt0bu0jrg" path="res://rhythm_game/music_sync/conductor.gd" id="2_62aw1"]
|
||||
[ext_resource type="AudioStream" uid="uid://btmy8ffph5gn3" path="res://chart/test_nibelungen/audio.mp3" id="3_txi6k"]
|
||||
@@ -8,6 +7,8 @@
|
||||
[ext_resource type="Script" uid="uid://rg6orh6kutai" path="res://resource_type/music.gd" id="5_nsyv8"]
|
||||
[ext_resource type="AudioStream" uid="uid://be8dyt7nfpffw" path="res://sfx/sfx_cowbell.ogg" id="6_ecbku"]
|
||||
[ext_resource type="Script" uid="uid://bbpyym0kgujev" path="res://rhythm_game/metronome.gd" id="7_nsyv8"]
|
||||
[ext_resource type="Script" uid="uid://8isyo4pxyj1r" path="res://rhythm_game/note/note_array.gd" id="9_10cpq"]
|
||||
[ext_resource type="Script" uid="uid://c7h7ue6kjgoha" path="res://rhythm_game/note/note_view.gd" id="9_74aio"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_10cpq"]
|
||||
script = ExtResource("5_nsyv8")
|
||||
@@ -25,13 +26,18 @@ autostart = true
|
||||
music = SubResource("Resource_10cpq")
|
||||
metadata/_custom_type_script = "uid://s16dt0bu0jrg"
|
||||
|
||||
[node name="NoteLayout" type="Node" parent="."]
|
||||
script = ExtResource("1_cr5rn")
|
||||
metadata/_custom_type_script = "uid://dlnnbx2wvn66t"
|
||||
|
||||
[node name="Metronome" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("6_ecbku")
|
||||
script = ExtResource("7_nsyv8")
|
||||
metadata/_custom_type_script = "uid://bbpyym0kgujev"
|
||||
|
||||
[node name="AllChartNotes" type="Node" parent="."]
|
||||
script = ExtResource("9_10cpq")
|
||||
metadata/_custom_type_script = "uid://8isyo4pxyj1r"
|
||||
|
||||
[node name="VisibleNotes" type="Node" parent="." node_paths=PackedStringArray("notes")]
|
||||
script = ExtResource("9_74aio")
|
||||
notes = NodePath("../AllChartNotes")
|
||||
metadata/_custom_type_script = "uid://c7h7ue6kjgoha"
|
||||
|
||||
[connection signal="ticked" from="Conductor" to="Metronome" method="on_conductor_ticked"]
|
||||
|
||||
Reference in New Issue
Block a user