survivor_spot.tscn 849 B

12345678910111213141516171819202122
  1. [gd_scene load_steps=4 format=3 uid="uid://cbmr1tbvbheda"]
  2. [ext_resource type="Script" path="res://assets/scenes/survivor_spot.gd" id="1_3saq6"]
  3. [ext_resource type="Texture2D" uid="uid://dvjpp1eoxa2oh" path="res://assets/textures/survivor_slot.png" id="1_su5a8"]
  4. [sub_resource type="CircleShape2D" id="CircleShape2D_jg6bj"]
  5. radius = 43.0
  6. [node name="SurvivorSpot" type="Area2D" groups=["slot"]]
  7. scale = Vector2(0.5, 0.5)
  8. collision_layer = 64
  9. collision_mask = 128
  10. script = ExtResource("1_3saq6")
  11. [node name="Sprite2D" type="Sprite2D" parent="."]
  12. texture = ExtResource("1_su5a8")
  13. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  14. shape = SubResource("CircleShape2D_jg6bj")
  15. [connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
  16. [connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]