among-eux

Game made in 1 day with flx
git clone git://git.vgx.fr/among-eux
Log | Files | Refs

StartScreen.gd (344B)


      1 extends Node2D
      2 
      3 
      4 # Declare member variables here. Examples:
      5 # var a = 2
      6 # var b = "text"
      7 
      8 
      9 ## Called when the node enters the scene tree for the first time.
     10 #func _ready():
     11 #	pass # Replace with function body.
     12 #
     13 
     14 func _unhandled_input(event):
     15 	if event is InputEventMouseButton and event.pressed:
     16 		get_tree().change_scene("res://Levels.tscn")