Ball.tscn 528 B

1234567891011121314151617
  1. [gd_scene load_steps=3 format=3 uid="uid://b4cy6e2mi1i51"]
  2. [ext_resource type="Texture2D" uid="uid://dy5g3iswdrc1t" path="res://icon.svg" id="1_81xv1"]
  3. [sub_resource type="CircleShape2D" id="CircleShape2D_unjtu"]
  4. [node name="Ball" type="RigidBody2D"]
  5. gravity_scale = 0.0
  6. linear_damp = 1.0
  7. angular_damp = 0.1
  8. [node name="Box" type="CollisionShape2D" parent="."]
  9. shape = SubResource("CircleShape2D_unjtu")
  10. [node name="Sprite2D" type="Sprite2D" parent="."]
  11. scale = Vector2(0.148438, 0.148438)
  12. texture = ExtResource("1_81xv1")