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