AidKit.tscn 819 B

123456789101112131415161718192021222324252627
  1. [gd_scene load_steps=4 format=2]
  2. [ext_resource path="res://assets/AidKit/heal.png" type="Texture" id=1]
  3. [ext_resource path="res://assets/AidKit/Aid.gd" type="Script" id=2]
  4. [sub_resource type="RectangleShape2D" id=1]
  5. extents = Vector2( 35.4385, 50.3994 )
  6. [node name="AidKit" type="Node2D"]
  7. [node name="Aid" type="Area2D" parent="."]
  8. position = Vector2( 0.221591, 1.01449 )
  9. scale = Vector2( 1.5, 1.5 )
  10. script = ExtResource( 2 )
  11. [node name="CollisionShape2D" type="CollisionShape2D" parent="Aid"]
  12. position = Vector2( 35.8801, 50.8046 )
  13. shape = SubResource( 1 )
  14. one_way_collision_margin = 0.0
  15. [node name="heal" type="Sprite" parent="Aid"]
  16. position = Vector2( 34.5496, 50.4167 )
  17. scale = Vector2( 10, 10 )
  18. texture = ExtResource( 1 )
  19. [connection signal="body_entered" from="Aid" to="Aid" method="_on_Aid_body_entered"]