ball.tscn 404 B

123456789101112131415
  1. [gd_scene format=3]
  2. [ext_resource type="Script" path="res://scripts/ball.gd" id="1_ball"]
  3. [sub_resource type="CircleShape2D" id="CircleShape2D_ball"]
  4. radius = 15.0
  5. [node name="Ball" type="CharacterBody2D"]
  6. collision_layer = 8
  7. collision_mask = 7
  8. motion_mode = 1
  9. script = ExtResource("1_ball")
  10. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  11. shape = SubResource("CircleShape2D_ball")