Files
godot-demo-projects/2d/kinematic_character/colworld.gd
Juan Linietsky c3899b9e7d WIP porting demos
2017-06-25 08:00:20 -03:00

9 lines
178 B
GDScript

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