35 lines
1 KiB
Text
35 lines
1 KiB
Text
[gd_scene load_steps=3 format=3 uid="uid://dtxbap5ksyust"]
|
|
|
|
[ext_resource type="Script" path="res://note.gd" id="1_opug7"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qp82n"]
|
|
size = Vector2(24, 50)
|
|
|
|
[node name="Note" type="Control"]
|
|
custom_minimum_size = Vector2(25, 50)
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_right = -1280.0
|
|
offset_bottom = -680.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_opug7")
|
|
|
|
[node name="Audio" type="AudioStreamPlayer" parent="."]
|
|
|
|
[node name="Test" type="ColorRect" parent="."]
|
|
layout_mode = 0
|
|
offset_right = 25.0
|
|
offset_bottom = 50.0
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
collision_priority = 2.0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2(12.5, 25)
|
|
shape = SubResource("RectangleShape2D_qp82n")
|
|
|
|
[connection signal="gui_input" from="Test" to="." method="_on_test_gui_input"]
|
|
[connection signal="area_entered" from="Area2D" to="." method="_on_area_2d_area_entered"]
|