14 lines
291 B
GDScript
14 lines
291 B
GDScript
extends Control
|
|
|
|
|
|
onready var score: Label = $"%Score"
|
|
|
|
|
|
func _ready() -> void:
|
|
Fade.fade_in()
|
|
score.text = score.text % Game.marathon_score
|
|
|
|
|
|
func _input(event: InputEvent) -> void:
|
|
if Input.is_action_just_pressed("ui_accept"):
|
|
Game.change_map(load("res://menus/marathon_start.tscn"))
|