added a speed ball and buttons to add them to the level

This commit is contained in:
2024-07-23 21:09:04 +02:00
parent 9ae0d04136
commit 65accbc2c2
7 changed files with 113 additions and 13 deletions
+16
View File
@@ -0,0 +1,16 @@
[gd_scene load_steps=4 format=3 uid="uid://ooytugcohlx0"]
[ext_resource type="PackedScene" uid="uid://d2r0ip6xy3a2" path="res://balls/ball.tscn" id="1_fsuj1"]
[ext_resource type="Texture2D" uid="uid://dsqcbd2cffw6e" path="res://balls/speed/speed.webp" id="2_ttcr2"]
[sub_resource type="CircleShape2D" id="CircleShape2D_gj21y"]
radius = 20.0
[node name="Ball" instance=ExtResource("1_fsuj1")]
speed = 8.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="0"]
shape = SubResource("CircleShape2D_gj21y")
[node name="Sprite2D" type="Sprite2D" parent="." index="1"]
texture = ExtResource("2_ttcr2")