balls
This commit is contained in:
parent
18eab7176a
commit
2ec7e78837
28 changed files with 398 additions and 100 deletions
21
assets/balls/bowlingball.tscn
Normal file
21
assets/balls/bowlingball.tscn
Normal file
|
@ -0,0 +1,21 @@
|
|||
[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")
|
Loading…
Add table
Add a link
Reference in a new issue