fix ui, add labels for distance and time, add choo choo button and hide button

This commit is contained in:
2026-06-27 13:47:46 +02:00
parent 5224593c11
commit 7a6f94ed07
5 changed files with 140 additions and 44 deletions

View File

@@ -31,6 +31,10 @@ func _ready() -> void:
apply_video_settings()
apply_train_colors()
func _process(delta: float) -> void:
if not get_tree().paused and is_loaded:
save_data.total_time_played_seconds += delta
func apply_video_settings() -> void:
get_viewport().use_taa = save_data.anti_aliasing
var msaa_mode = Viewport.MSAA_2X if save_data.anti_aliasing else Viewport.MSAA_DISABLED