added game states

This commit is contained in:
Nikolai Fesenko
2025-08-28 23:37:44 +02:00
parent 972c785007
commit 4e810f8fc0
7 changed files with 60 additions and 9 deletions

View File

@@ -1,10 +1,21 @@
[gd_scene load_steps=3 format=3 uid="uid://j06vthscroca"]
[gd_scene load_steps=4 format=3 uid="uid://j06vthscroca"]
[ext_resource type="PackedScene" uid="uid://bm80w1xsgge1i" path="res://Blends/Bullet/bullet.gltf" id="1_xjght"]
[ext_resource type="Script" uid="uid://bckkey7836cjp" path="res://Scripts/bullet.gd" id="2_oduel"]
[sub_resource type="BoxShape3D" id="BoxShape3D_oduel"]
size = Vector3(0.039157, 0.0783691, 0.0383301)
[node name="bullet" instance=ExtResource("1_xjght")]
script = ExtResource("2_oduel")
[node name="Cylinder" parent="." index="0"]
transform = Transform3D(0.02, 0, 0, 0, 0.02, 0, 0, 0, 0.02, 0, 0, 0)
[node name="StaticBody3D" type="StaticBody3D" parent="." index="1"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00286226, 0.00549316, 0.000634715)
shape = SubResource("BoxShape3D_oduel")
[connection signal="input_event" from="StaticBody3D" to="." method="_on_static_body_3d_input_event"]