Files
GDScript-Flappy-Bird/FlappyBird/scenes/dead.gd
T
2023-10-07 00:50:42 +02:00

7 lines
137 B
GDScript

extends Node2D
func _process(delta):
if Input.is_mouse_button_pressed(1):
get_tree().change_scene_to_file("res://scenes/game.tscn")