21 lines
757 B
Text
21 lines
757 B
Text
[gd_scene load_steps=5 format=3 uid="uid://cs8tmcc82ejiu"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dr2lx5x2lrj17" path="res://ball.tscn" id="1_run6g"]
|
|
[ext_resource type="Texture2D" uid="uid://b8761p2m2ntkv" path="res://assets/balls/basketball.png" id="2_srjr7"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_run6g"]
|
|
friction = 0.74
|
|
bounce = 0.83
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_run6g"]
|
|
radius = 23.0
|
|
|
|
[node name="Ball" instance=ExtResource("1_run6g")]
|
|
physics_material_override = SubResource("PhysicsMaterial_run6g")
|
|
|
|
[node name="Sprite2D" parent="." index="0"]
|
|
scale = Vector2(0.7, 0.7)
|
|
texture = ExtResource("2_srjr7")
|
|
|
|
[node name="CollisionShape2D" parent="." index="1"]
|
|
shape = SubResource("CircleShape2D_run6g")
|