adding new commands

This commit is contained in:
Clevertop 2024-08-11 11:05:16 +10:00
parent bfaef2f33f
commit cce3f56caa
5 changed files with 41 additions and 9 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=29 format=3 uid="uid://bojbawyoy11i4"]
[gd_scene load_steps=30 format=3 uid="uid://bojbawyoy11i4"]
[ext_resource type="Script" path="res://Scripts/ChronoManager.gd" id="1_5b2rd"]
[ext_resource type="Material" uid="uid://cr4ra7ijk1uec" path="res://Assets/Materials/floor.tres" id="2_0aj3l"]
@ -11,6 +11,7 @@
[ext_resource type="Texture2D" uid="uid://dd150xco2ee5q" path="res://Assets/Textures/cobalt_stone_4.png" id="7_qjeey"]
[ext_resource type="PackedScene" uid="uid://cq4rfdsc5kghr" path="res://Commands/command_pedestal.tscn" id="10_sghta"]
[ext_resource type="Texture2D" uid="uid://vc7wwv4wgabf" path="res://Commands/jump.png" id="10_x6wpo"]
[ext_resource type="Texture2D" uid="uid://cmvnccuywukyw" path="res://Commands/controlled_blink_new.png" id="11_oknde"]
[ext_resource type="AudioStream" uid="uid://jm6vo1vxrlyx" path="res://Assets/62986__radian__chime-0011.wav" id="12_bm4h4"]
[sub_resource type="BoxMesh" id="BoxMesh_21vdj"]
@ -159,6 +160,11 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.5, 1.322, -1.5)
command_name = "jump"
command_sprite = ExtResource("10_x6wpo")
[node name="JumpCommand5" parent="." instance=ExtResource("5_81jk1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.5, 1.322, -2.5)
command_name = "phase"
command_sprite = ExtResource("11_oknde")
[node name="Pedestals" type="Node3D" parent="."]
[node name="CommandPedestal" parent="Pedestals" instance=ExtResource("10_sghta")]
@ -198,4 +204,5 @@ stream = ExtResource("12_bm4h4")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
[connection signal="broadcast" from="." to="Player" method="_on_chrono_manager_broadcast"]
[connection signal="tick" from="." to="Player" method="_on_chrono_manager_tick"]
[connection signal="object_clicked" from="Player" to="." method="_on_player_object_clicked"]