summaryrefslogtreecommitdiff
path: root/demos/2d/kinematic_char/colworld.gd
blob: fe2dc30bb6d35143d2b0b0267e89e47037f08ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

extends Node2D

#member variables here, example:
#var a=2
#var b="textvar"

func _ready():
	#Initalization here
	pass




func _on_princess_body_enter( body ):
	#the name of this editor-generated callback is unfortunate
	if (body.get_name()=="player"):
		get_node("youwin").show()