First Prototype

This commit is contained in:
Exobyt 2024-09-15 00:04:31 +02:00
parent e18beb6c4c
commit 9e3349eec3
40 changed files with 1100 additions and 48 deletions

View file

@ -0,0 +1,19 @@
extends Control
@onready var moneyResultLabel = $CenterContainer/VBoxContainer/HBoxContainer/MoneyResult
@onready var healthResultLabel = $CenterContainer/VBoxContainer/HBoxContainer2/HealthResult
@onready var succesLabel = $CenterContainer/VBoxContainer/VBoxContainer/SUCCESLabel
@onready var failureLabel = $CenterContainer/VBoxContainer/VBoxContainer/FAILURELabel
func _ready() -> void:
if G.extracted:
succesLabel.show()
failureLabel.hide()
moneyResultLabel.text = str(G.money)
healthResultLabel.text = str(G.lastHealth)
func _on_home_button_button_up() -> void:
get_parent().loadStartMenu()