14 lines
241 B
GDScript
14 lines
241 B
GDScript
extends Control
|
|
|
|
|
|
export var first_level: PackedScene
|
|
|
|
|
|
func _ready() -> void:
|
|
Fade.fade_in()
|
|
|
|
|
|
func _input(event: InputEvent) -> void:
|
|
if Input.is_action_just_pressed("ui_accept"):
|
|
Game.marathon_score = 0
|
|
Game.change_map(first_level)
|