27 lines
892 B
Plaintext
27 lines
892 B
Plaintext
|
|
[gd_scene format=3 uid="uid://b3hgbbmb0nohj"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://g4wclr5vnxk6" path="res://scripts/trigger.gd" id="1_du5ex"]
|
||
|
|
|
||
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_8cj0n"]
|
||
|
|
|
||
|
|
[node name="Trigger" type="Area2D" unique_id=1050615345]
|
||
|
|
scale = Vector2(4.2, 4.2)
|
||
|
|
script = ExtResource("1_du5ex")
|
||
|
|
metadata/_edit_group_ = true
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=703121924]
|
||
|
|
shape = SubResource("CircleShape2D_8cj0n")
|
||
|
|
debug_color = Color(0.3285461, 0.6189337, 0.22834331, 0.41960785)
|
||
|
|
|
||
|
|
[node name="Label" type="Label" parent="." unique_id=1171382845]
|
||
|
|
texture_filter = 1
|
||
|
|
offset_left = -18.333336
|
||
|
|
offset_top = -8.333334
|
||
|
|
offset_right = 21.666664
|
||
|
|
offset_bottom = 2.666666
|
||
|
|
theme_override_font_sizes/font_size = 7
|
||
|
|
text = "trigger"
|
||
|
|
horizontal_alignment = 1
|
||
|
|
|
||
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|