crabs-game/scripts/credits.gd

11 lines
211 B
GDScript3
Raw Permalink Normal View History

2020-08-20 17:45:40 +02:00
extends Node2D
2020-08-20 18:52:24 +02:00
func _ready():
Globals.did_already_play_once = true
Globals.save_game()
2020-08-20 17:45:40 +02:00
func _input(event):
if event.is_action_pressed("ui_accept"):
get_tree().change_scene("res://scenes/main_menu.tscn")