EndLevel.tscn 704 B

123456789101112131415161718192021
  1. [gd_scene load_steps=4 format=3 uid="uid://mgirjynr51j6"]
  2. [ext_resource type="Script" path="res://EndLevel/EndLevel.gd" id="1_g831e"]
  3. [ext_resource type="Texture2D" uid="uid://blue3m30yukyy" path="res://sprites/portal.svg" id="2_7kjh4"]
  4. [sub_resource type="CircleShape2D" id="CircleShape2D_r0j43"]
  5. radius = 32.0
  6. [node name="EndLevel" type="Area2D"]
  7. collision_mask = 2
  8. script = ExtResource("1_g831e")
  9. metadata/_edit_group_ = true
  10. [node name="Sprite2D" type="Sprite2D" parent="."]
  11. texture = ExtResource("2_7kjh4")
  12. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  13. shape = SubResource("CircleShape2D_r0j43")
  14. [connection signal="body_entered" from="." to="." method="_on_body_entered"]