Catcher.tscn 543 B

12345678910111213141516171819
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://component/entity/catcher/Catcher.gd" type="Script" id=1]
  3. [sub_resource type="RectangleShape2D" id=1]
  4. extents = Vector2( 200, 50 )
  5. [node name="Catcher" type="Area2D"]
  6. position = Vector2( 200, 460 )
  7. collision_layer = 8
  8. collision_mask = 5
  9. script = ExtResource( 1 )
  10. __meta__ = {
  11. "_editor_description_": "Ball catcher"
  12. }
  13. [node name="Area" type="CollisionShape2D" parent="."]
  14. shape = SubResource( 1 )
  15. [connection signal="body_entered" from="." to="." method="_on_Catcher_body_entered"]