godot/instancing_starter/Ball.tscn

20 lines
568 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://dm5jrnxmxnuof"]
[ext_resource type="Texture2D" uid="uid://dv6rx85s1gy3i" path="res://assets/ballBlue_10.png" id="1"]
[sub_resource type="PhysicsMaterial" id="1"]
[sub_resource type="CircleShape2D" id="2"]
radius = 37.1452
[node name="Ball" type="RigidBody2D"]
physics_material_override = SubResource("1")
gravity_scale = 4.0
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.5, 0.5)
texture = ExtResource("1")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("2")