HUD Rework and integration

This commit is contained in:
gdz
2025-08-26 18:21:20 +02:00
parent 3b254ea1f7
commit 50cea7f096
6 changed files with 179 additions and 0 deletions

18
scenes/main/hud.gd Normal file
View File

@@ -0,0 +1,18 @@
extends CanvasLayer
@onready var InfoMenu = $MenuBar/Info
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta: float) -> void:
# pass
func GetMenuPressed(index) -> String:
if index == 0: return "Camera"
elif index == 1: return "World"
else: return ""

1
scenes/main/hud.gd.uid Normal file
View File

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