add new transaction and add splash screen

This commit is contained in:
2026-06-29 14:59:58 +02:00
parent bc30a169dc
commit fb848a9848
14 changed files with 145 additions and 1721 deletions

View File

@@ -42,10 +42,12 @@ func _ready() -> void:
choo_choo_button.pressed.connect(_on_choo_choo_button_pressed)
resume_button.pressed.connect(_on_resume_button_pressed)
func _process(delta: float) -> void:
func _process(_delta: float) -> void:
if time_label and dist_label and GameState.is_loaded:
var time = GameState.save_data.total_time_played_seconds
@warning_ignore("integer_division")
var hours = int(time) / 3600
@warning_ignore("integer_division")
var minutes = (int(time) % 3600) / 60
var seconds = int(time) % 60
time_label.text = "Travel Time: %02d:%02d:%02d" % [hours, minutes, seconds]