do some changes with XLib and started working on main menu

This commit is contained in:
2026-06-04 23:51:28 -05:00
parent f320e6bd80
commit 04f8bb7c2d
17 changed files with 143 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
extends Node3D
signal hideChatbox
## define all of the game variables, ill replace this with a settings file later
## ignore duplicate keys, idrc atp
@@ -8,13 +8,15 @@ var selectedBlockID : String = "base:testMachine"
var selectedSlot = 0
var currentHeldItemID : String = "base:air"
var canPlaceBlock : bool = false
var username = "Xtimhedi"
var username = "test"
var loadedLanguage = "en-US"
var isInputLocked = false
signal hideChatbox
func _ready() -> void:
var cfg = ConfigLoader.loadConfig()
username = cfg.username
func getIfIDExists(ID:String) -> bool:

Binary file not shown.

View File

@@ -0,0 +1,7 @@
extends Node3D
func execUpdate():
$XLightingUpdate3D.updateLighting.emit()
func _process(delta: float) -> void:
$objects.child_entered_tree.connect(execUpdate)

View File

@@ -0,0 +1 @@
uid://f4qnisqbv4gm

View File

@@ -0,0 +1,9 @@
[gd_scene format=3 uid="uid://calo1poanr0i8"]
[node name="MainMenuUi" type="Control" unique_id=122337977]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2