level_end.tscn 793 B

12345678910111213141516171819202122
  1. [gd_scene load_steps=4 format=3 uid="uid://bk5cvu03o7sx8"]
  2. [ext_resource type="Script" path="res://scenes/level_end/level_end.gd" id="1_3vgnq"]
  3. [ext_resource type="Texture2D" uid="uid://ck5awwv8iqbcq" path="res://sprites/level_end/level_end.svg" id="1_tjk7j"]
  4. [sub_resource type="CircleShape2D" id="CircleShape2D_x5jj8"]
  5. radius = 32.0
  6. [node name="LevelEnd" type="Area2D"]
  7. collision_layer = 0
  8. collision_mask = 4
  9. script = ExtResource("1_3vgnq")
  10. [node name="Sprite2D" type="Sprite2D" parent="."]
  11. texture = ExtResource("1_tjk7j")
  12. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  13. shape = SubResource("CircleShape2D_x5jj8")
  14. [connection signal="area_entered" from="." to="." method="_on_area_entered"]
  15. [connection signal="input_event" from="." to="." method="_on_input_event"]