tomato-dungeon

a game made in 1 day
git clone git://git.vgx.fr/tomato-dungeon
Log | Files | Refs | README

titre.gd (407B)


      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 # Called every frame. 'delta' is the elapsed time since the previous frame.
     15 #func _process(delta):
     16 #	pass
     17 
     18 func _input(event):
     19 	if event.is_pressed():
     20 		get_tree().change_scene("res://niveau.tscn")