ball.tscn 455 B

12345678910111213141516171819
  1. [gd_scene load_steps=4 format=2]
  2. [ext_resource path="res://bowling_ball.png" type="Texture" id=1]
  3. [sub_resource type="PhysicsMaterial" id=1]
  4. bounce = 0.4
  5. [sub_resource type="CircleShape2D" id=2]
  6. radius = 30.0
  7. [node name="Ball" type="RigidBody2D"]
  8. physics_material_override = SubResource( 1 )
  9. [node name="Sprite" type="Sprite" parent="."]
  10. texture = ExtResource( 1 )
  11. [node name="Collision" type="CollisionShape2D" parent="."]
  12. shape = SubResource( 2 )