working on command blocks

This commit is contained in:
Clevertop 2024-08-10 19:26:53 +10:00
parent 685d9642dc
commit 8cceafb10c
10 changed files with 112 additions and 26 deletions

View file

@ -1,9 +1,11 @@
[gd_scene load_steps=14 format=3 uid="uid://bojbawyoy11i4"]
[gd_scene load_steps=16 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"]
[ext_resource type="PackedScene" uid="uid://d34smep2ukq7w" path="res://player.tscn" id="2_hsi55"]
[ext_resource type="PackedScene" uid="uid://bnlexkofp68gv" path="res://gui.tscn" id="3_60lfp"]
[ext_resource type="PackedScene" uid="uid://dqvq4ybcpws87" path="res://Commands/command_block.tscn" id="5_81jk1"]
[ext_resource type="Texture2D" uid="uid://contqwyu7r114" path="res://icon.svg" id="6_feqb2"]
[sub_resource type="BoxMesh" id="BoxMesh_21vdj"]
material = ExtResource("2_0aj3l")
@ -74,4 +76,9 @@ shape = SubResource("ConcavePolygonShape3D_mfjp6")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Terminal"]
mesh = SubResource("BoxMesh_u6v2s")
[node name="BaseCommand" parent="." instance=ExtResource("5_81jk1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.76166, 1, -1.59377)
command_name = "jump"
command_sprite = ExtResource("6_feqb2")
[connection signal="object_clicked" from="Player" to="." method="_on_player_object_clicked"]