PickAPathPoint.tscn 737 B

123456789101112131415161718
  1. [gd_scene load_steps=4 format=3 uid="uid://cmcpug8hc74jf"]
  2. [ext_resource type="Script" uid="uid://djg0ved0eqede" path="res://Scripts/Parts/PickAPathPoint.gd" id="1_ix7da"]
  3. [ext_resource type="Script" uid="uid://cnheej0sxmoxg" path="res://Scripts/Parts/PlayerDetection.gd" id="2_eadvl"]
  4. [sub_resource type="RectangleShape2D" id="RectangleShape2D_usqbd"]
  5. size = Vector2(16, 48)
  6. [node name="PickAPathPoint" type="Node2D"]
  7. script = ExtResource("1_ix7da")
  8. [node name="Hitbox" type="Area2D" parent="."]
  9. script = ExtResource("2_eadvl")
  10. [node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
  11. shape = SubResource("RectangleShape2D_usqbd")
  12. [connection signal="player_entered" from="Hitbox" to="." method="on_player_entered"]