ball.tscn 443 B

12345678910111213141516
  1. [gd_scene load_steps=4 format=2]
  2. [ext_resource path="res://ball.png" type="Texture2D" id=1]
  3. [ext_resource path="res://logic/Ball.cs" type="Script" id=2]
  4. [sub_resource type="CircleShape2D" id=1]
  5. radius = 4.65663
  6. [node name="Ball" type="Area2D"]
  7. script = ExtResource( 2 )
  8. [node name="Sprite2D" type="Sprite2D" parent="."]
  9. texture = ExtResource( 1 )
  10. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  11. shape = SubResource( 1 )