oops (attach NinePatchRects to script)

This commit is contained in:
msk
2023-09-29 18:05:20 -07:00
parent ce81b0cdbf
commit 5a9278e8aa
7 changed files with 14 additions and 7 deletions
+2 -1
View File
@@ -3,12 +3,13 @@
[ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_o1r8c"] [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_o1r8c"]
[ext_resource type="Texture2D" uid="uid://cn8esiei5u0hf" path="res://_Assets/Textures/Notes/Chain.png" id="2_i26u3"] [ext_resource type="Texture2D" uid="uid://cn8esiei5u0hf" path="res://_Assets/Textures/Notes/Chain.png" id="2_i26u3"]
[node name="NoteChain" type="Control"] [node name="NoteChain" type="Control" node_paths=PackedStringArray("noteBase")]
layout_mode = 3 layout_mode = 3
anchors_preset = 0 anchors_preset = 0
offset_right = 200.0 offset_right = 200.0
offset_bottom = 24.0 offset_bottom = 24.0
script = ExtResource("1_o1r8c") script = ExtResource("1_o1r8c")
noteBase = NodePath("NinePatchRect")
[node name="NinePatchRect" type="NinePatchRect" parent="."] [node name="NinePatchRect" type="NinePatchRect" parent="."]
layout_mode = 1 layout_mode = 1
+2 -1
View File
@@ -3,12 +3,13 @@
[ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNoteHold.cs" id="1_kd6u4"] [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNoteHold.cs" id="1_kd6u4"]
[ext_resource type="Texture2D" uid="uid://xmb5ybj1oor4" path="res://_Assets/Textures/Notes/Hold.png" id="2_ovp6m"] [ext_resource type="Texture2D" uid="uid://xmb5ybj1oor4" path="res://_Assets/Textures/Notes/Hold.png" id="2_ovp6m"]
[node name="NoteHold" type="Control"] [node name="NoteHold" type="Control" node_paths=PackedStringArray("noteBase")]
layout_mode = 3 layout_mode = 3
anchors_preset = 0 anchors_preset = 0
offset_right = 200.0 offset_right = 200.0
offset_bottom = 24.0 offset_bottom = 24.0
script = ExtResource("1_kd6u4") script = ExtResource("1_kd6u4")
noteBase = NodePath("NinePatchRect")
[node name="NinePatchRect" type="NinePatchRect" parent="."] [node name="NinePatchRect" type="NinePatchRect" parent="."]
layout_mode = 1 layout_mode = 1
+2 -1
View File
@@ -3,12 +3,13 @@
[ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_lmk57"] [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_lmk57"]
[ext_resource type="Texture2D" uid="uid://cr2a3fc5nu7js" path="res://_Assets/Textures/Notes/SnapIn.png" id="2_ipqj7"] [ext_resource type="Texture2D" uid="uid://cr2a3fc5nu7js" path="res://_Assets/Textures/Notes/SnapIn.png" id="2_ipqj7"]
[node name="NoteSnapIn" type="Control"] [node name="NoteSnapIn" type="Control" node_paths=PackedStringArray("noteBase")]
layout_mode = 3 layout_mode = 3
anchors_preset = 0 anchors_preset = 0
offset_right = 200.0 offset_right = 200.0
offset_bottom = 24.0 offset_bottom = 24.0
script = ExtResource("1_lmk57") script = ExtResource("1_lmk57")
noteBase = NodePath("NinePatchRect")
[node name="NinePatchRect" type="NinePatchRect" parent="."] [node name="NinePatchRect" type="NinePatchRect" parent="."]
layout_mode = 1 layout_mode = 1
+2 -1
View File
@@ -3,12 +3,13 @@
[ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_mhn02"] [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_mhn02"]
[ext_resource type="Texture2D" uid="uid://cdui66l8fg6rg" path="res://_Assets/Textures/Notes/SnapOut.png" id="2_6llgl"] [ext_resource type="Texture2D" uid="uid://cdui66l8fg6rg" path="res://_Assets/Textures/Notes/SnapOut.png" id="2_6llgl"]
[node name="NoteSnapOut" type="Control"] [node name="NoteSnapOut" type="Control" node_paths=PackedStringArray("noteBase")]
layout_mode = 3 layout_mode = 3
anchors_preset = 0 anchors_preset = 0
offset_right = 200.0 offset_right = 200.0
offset_bottom = 24.0 offset_bottom = 24.0
script = ExtResource("1_mhn02") script = ExtResource("1_mhn02")
noteBase = NodePath("NinePatchRect")
[node name="NinePatchRect" type="NinePatchRect" parent="."] [node name="NinePatchRect" type="NinePatchRect" parent="."]
layout_mode = 1 layout_mode = 1
+2 -1
View File
@@ -3,12 +3,13 @@
[ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_e4xxi"] [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_e4xxi"]
[ext_resource type="Texture2D" uid="uid://cfm2r0ha81eum" path="res://_Assets/Textures/Notes/SwipeCCW.png" id="2_yb0qd"] [ext_resource type="Texture2D" uid="uid://cfm2r0ha81eum" path="res://_Assets/Textures/Notes/SwipeCCW.png" id="2_yb0qd"]
[node name="NoteSwipeCCW" type="Control"] [node name="NoteSwipeCCW" type="Control" node_paths=PackedStringArray("noteBase")]
layout_mode = 3 layout_mode = 3
anchors_preset = 0 anchors_preset = 0
offset_right = 200.0 offset_right = 200.0
offset_bottom = 24.0 offset_bottom = 24.0
script = ExtResource("1_e4xxi") script = ExtResource("1_e4xxi")
noteBase = NodePath("NinePatchRect")
[node name="NinePatchRect" type="NinePatchRect" parent="."] [node name="NinePatchRect" type="NinePatchRect" parent="."]
layout_mode = 1 layout_mode = 1
+2 -1
View File
@@ -3,12 +3,13 @@
[ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_aasqx"] [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_aasqx"]
[ext_resource type="Texture2D" uid="uid://rrwjokjt4jb8" path="res://_Assets/Textures/Notes/SwipeCW.png" id="2_ttxox"] [ext_resource type="Texture2D" uid="uid://rrwjokjt4jb8" path="res://_Assets/Textures/Notes/SwipeCW.png" id="2_ttxox"]
[node name="NoteSwipeCW" type="Control"] [node name="NoteSwipeCW" type="Control" node_paths=PackedStringArray("noteBase")]
layout_mode = 3 layout_mode = 3
anchors_preset = 0 anchors_preset = 0
offset_right = 200.0 offset_right = 200.0
offset_bottom = 24.0 offset_bottom = 24.0
script = ExtResource("1_aasqx") script = ExtResource("1_aasqx")
noteBase = NodePath("NinePatchRect")
[node name="NinePatchRect" type="NinePatchRect" parent="."] [node name="NinePatchRect" type="NinePatchRect" parent="."]
layout_mode = 1 layout_mode = 1
+2 -1
View File
@@ -3,12 +3,13 @@
[ext_resource type="Texture2D" uid="uid://cnsbqiharp0jh" path="res://_Assets/Textures/Notes/Touch.png" id="1_hnm2k"] [ext_resource type="Texture2D" uid="uid://cnsbqiharp0jh" path="res://_Assets/Textures/Notes/Touch.png" id="1_hnm2k"]
[ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_p334j"] [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_p334j"]
[node name="NoteTouch" type="Control"] [node name="NoteTouch" type="Control" node_paths=PackedStringArray("noteBase")]
layout_mode = 3 layout_mode = 3
anchors_preset = 0 anchors_preset = 0
offset_right = 200.0 offset_right = 200.0
offset_bottom = 24.0 offset_bottom = 24.0
script = ExtResource("1_p334j") script = ExtResource("1_p334j")
noteBase = NodePath("NinePatchRect")
[node name="NinePatchRect" type="NinePatchRect" parent="."] [node name="NinePatchRect" type="NinePatchRect" parent="."]
layout_mode = 1 layout_mode = 1