MarchGame/scenes/trigger.tscn

18 lines
634 B
Plaintext
Raw Permalink Normal View History

[gd_scene format=3 uid="uid://bf50mxdma8wq4"]
[ext_resource type="Script" uid="uid://vtqy7n0vgxef" path="res://scripts/trigger.gd" id="1_du5ex"]
[sub_resource type="CircleShape2D" id="CircleShape2D_lbhrr"]
radius = 39.0
[node name="Trigger" type="Area2D" unique_id=1908774248]
script = ExtResource("1_du5ex")
effect = "bounce"
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1445918392]
shape = SubResource("CircleShape2D_lbhrr")
debug_color = Color(0.4051585, 0.47871065, 0.9689525, 0.41960785)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]