21 lines
754 B
Text
21 lines
754 B
Text
[gd_scene load_steps=5 format=3 uid="uid://b2n3dpnervicg"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dr2lx5x2lrj17" path="res://ball.tscn" id="1_twujf"]
|
|
[ext_resource type="Texture2D" uid="uid://d827gguxg37n" path="res://assets/balls/bowlingball.png" id="2_p10mx"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_twujf"]
|
|
bounce = 0.03
|
|
absorbent = true
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_2fprv"]
|
|
radius = 40.0
|
|
|
|
[node name="Ball" instance=ExtResource("1_twujf")]
|
|
physics_material_override = SubResource("PhysicsMaterial_twujf")
|
|
|
|
[node name="Sprite2D" parent="." index="0"]
|
|
scale = Vector2(1, 1)
|
|
texture = ExtResource("2_p10mx")
|
|
|
|
[node name="CollisionShape2D" parent="." index="1"]
|
|
shape = SubResource("CircleShape2D_2fprv")
|