current
This commit is contained in:
24
Source/Start.gd
Normal file
24
Source/Start.gd
Normal file
@@ -0,0 +1,24 @@
|
||||
extends Timer
|
||||
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
# var a = 2
|
||||
# var b = "text"
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta):
|
||||
# pass
|
||||
|
||||
func _input(event):
|
||||
if event is InputEventMouseButton and event.button_index == BUTTON_LEFT:
|
||||
get_tree().change_scene("res://Main.tscn")
|
||||
|
||||
|
||||
func _on_Timer_timeout():
|
||||
get_tree().change_scene("res://Main.tscn")
|
||||
Reference in New Issue
Block a user