Cogwheel integration, more code structure

This commit is contained in:
2025-02-15 01:31:26 -06:00
parent 5ff3525a5e
commit 2ecf7ec93f
22 changed files with 206 additions and 47 deletions

View File

@@ -1,28 +1,21 @@
[gd_scene load_steps=3 format=3 uid="uid://c35ohffpqfqnr"]
[ext_resource type="Script" uid="uid://geelevcnulxy" path="res://Client/Scripts/UI/Main.cs" id="1_np6pa"]
[ext_resource type="Texture2D" uid="uid://chm704rgdebfb" path="res://icon.png" id="2_swjw6"]
[ext_resource type="PackedScene" uid="uid://caivf0icbv7gk" path="res://Core/Scenes/CogwheelConsole.tscn" id="3_ama40"]
[node name="MainCanvas" type="CanvasLayer"]
[node name="Main" type="Control" parent="."]
layout_mode = 3
[node name="Panel" type="Panel" parent="."]
visible = false
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_np6pa")
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Panel" type="Panel" parent="Main"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="TextureRect" type="TextureRect" parent="Main/Panel"]
[node name="TextureRect" type="TextureRect" parent="Panel"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
@@ -36,3 +29,5 @@ offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_swjw6")
[node name="CogwheelConsole" parent="." instance=ExtResource("3_ama40")]