virtualx-engine/demos/2d/kinematic_char/colworld.gd

18 lines
248 B
GDScript3
Raw Normal View History

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