This commit is contained in:
pennyrigate 2025-07-23 19:15:15 -04:00
parent 18eab7176a
commit 2ec7e78837
28 changed files with 398 additions and 100 deletions

View file

@ -0,0 +1,21 @@
[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")