Implemented player interaction with command queue

This commit is contained in:
Alexey 2025-07-17 12:56:34 +03:00
commit 76a057943b
5 changed files with 106 additions and 12 deletions

View file

@ -25,7 +25,7 @@ tracks/0/keys = {
[sub_resource type="Animation" id="Animation_8sdfx"]
resource_name = "shoot"
length = 0.20001
length = 0.30001
step = 0.1
tracks/0/type = "value"
tracks/0/imported = false
@ -39,6 +39,20 @@ tracks/0/keys = {
"update": 1,
"values": [ExtResource("2_7ptt8"), ExtResource("3_1w3ab"), ExtResource("4_gt0rj")]
}
tracks/1/type = "method"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("../..")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.3),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [],
"method": &"shoot_animation_ended"
}]
}
[sub_resource type="Animation" id="Animation_ma1q3"]
resource_name = "static"

View file

@ -37,3 +37,7 @@ size = Vector3(0.2, 3.98877, 3.95068)
[node name="CSGBox3D3" type="CSGBox3D" parent="CSGCombiner3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.82441, 0.835289, 0.522302)
size = Vector3(0.2, 4, 4)
[node name="SpotLight3D" type="SpotLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 2.6, 0)
spot_angle = 90.0