AugGodotGameCourse/augustgamecourse/scenes/trigger.tscn

19 lines
658 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://csewven6s5npw"]
[ext_resource type="Script" path="res://scripts/trigger.gd" id="1_p2ca0"]
[sub_resource type="CircleShape2D" id="CircleShape2D_0lmpd"]
radius = 71.1126
[node name="Area2D" type="Area2D"]
position = Vector2(667, 433)
script = ExtResource("1_p2ca0")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_0lmpd")
debug_color = Color(0.262567, 0.618632, 0.400323, 0.42)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_body_exited"]