init
This commit is contained in:
commit
18efc36800
161 changed files with 5008 additions and 0 deletions
16
scripts/end_card.gd
Normal file
16
scripts/end_card.gd
Normal file
|
@ -0,0 +1,16 @@
|
|||
extends Control
|
||||
|
||||
|
||||
func _ready():
|
||||
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
if Input.is_action_just_pressed("BTN_1") or \
|
||||
Input.is_action_just_pressed("BTN_2") or \
|
||||
Input.is_action_just_pressed("BTN_3") or \
|
||||
Input.is_action_just_pressed("BTN_4") or \
|
||||
Input.is_action_just_pressed("BTN_5") or \
|
||||
Input.is_action_just_pressed("BTN_6"):
|
||||
get_tree().change_scene_to_file("res://scenes/titile.tscn")
|
Loading…
Add table
Add a link
Reference in a new issue