2014-02-22 23:28:19 +00:00
|
|
|
|
|
|
|
extends Node2D
|
|
|
|
|
2014-09-06 04:42:59 +00:00
|
|
|
#member variables here, example:
|
|
|
|
#var a=2
|
|
|
|
#var b="textvar"
|
2014-02-22 23:28:19 +00:00
|
|
|
|
|
|
|
func _ready():
|
2014-09-06 04:42:59 +00:00
|
|
|
#Initalization here
|
2014-02-22 23:28:19 +00:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func _on_princess_body_enter( body ):
|
|
|
|
#the name of this editor-generated callback is unfortunate
|
|
|
|
get_node("youwin").show()
|