AugGodotGameCourse/indigogameone/scenes/trigger.tscn

19 lines
660 B
Plaintext
Raw Normal View History

2024-08-27 01:18:57 +00:00
[gd_scene load_steps=3 format=3 uid="uid://ckvtpjm5q2t0d"]
[ext_resource type="Script" path="res://scripts/trigger.gd" id="1_sw0t6"]
[sub_resource type="CircleShape2D" id="CircleShape2D_o2g0y"]
radius = 116.43
[node name="Area2D" type="Area2D"]
position = Vector2(724, 403)
script = ExtResource("1_sw0t6")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_o2g0y")
debug_color = Color(0.54902, 0.419608, 0.960784, 0.333333)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_body_exited"]