do some changes with XLib and started working on main menu
This commit is contained in:
@@ -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.
7
GameShit/MainGame/World.gd
Normal file
7
GameShit/MainGame/World.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
extends Node3D
|
||||
|
||||
func execUpdate():
|
||||
$XLightingUpdate3D.updateLighting.emit()
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
$objects.child_entered_tree.connect(execUpdate)
|
||||
1
GameShit/MainGame/World.gd.uid
Normal file
1
GameShit/MainGame/World.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://f4qnisqbv4gm
|
||||
Reference in New Issue
Block a user