before planets
This commit is contained in:
parent
bb6404e918
commit
e09f05b566
57 changed files with 1203 additions and 90 deletions
12
entities/winMenu/win_menu.gd
Normal file
12
entities/winMenu/win_menu.gd
Normal file
|
@ -0,0 +1,12 @@
|
|||
extends Control
|
||||
@onready var game_ui: GameUI = $"../GameUi"
|
||||
@onready var time_label: Label = $VBoxContainer/Time
|
||||
|
||||
|
||||
func _on_check_point_manager_end_track() -> void:
|
||||
time_label.text = str(round(game_ui.time*100)/100)+"s"
|
||||
show()
|
||||
get_tree().paused = true
|
||||
|
||||
func _on_main_menu_pressed() -> void:
|
||||
GameManager.launch_menu()
|
Loading…
Add table
Add a link
Reference in a new issue