You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.2 KiB

extends Node
var title = preload("res://title.tscn").instantiate()
var boot = preload("res://bootclick.tscn").instantiate()
const loadgame = preload("res://")
# 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 _init():
func _process(delta):
func _input(event):
# Mouse in viewport coordinates.
if event is InputEventMouseButton || Input.is_joy_button_pressed(0,JOY_BUTTON_X) || Input.is_joy_button_pressed(0,JOY_BUTTON_Y) || Input.is_joy_button_pressed(0,JOY_BUTTON_A) || Input.is_joy_button_pressed(0,JOY_BUTTON_B) || Input.is_joy_button_pressed(0,JOY_BUTTON_BACK) || Input.is_joy_button_pressed(0,JOY_BUTTON_START) || Input.is_joy_button_pressed(0,JOY_BUTTON_RIGHT_SHOULDER) || Input.is_joy_button_pressed(0,JOY_BUTTON_LEFT_SHOULDER):
#print("Mouse Click/Unclick at: ", event.position)
func _title():
# This is like autoloading the scene, only
# it happens after already loading the main scene.