add new transaction and add splash screen
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user