June 2018
Beginner to intermediate
298 pages
7h 38m
English
To detect when the ball has dropped into the hole, click on the Area in Main and connect its body_entered signal:
func _on_Hole_body_entered(body): print("Win!") change_state(WIN)
Changing to the WIN state will prevent the ball's stopped signal from allowing another shot.
Read now
Unlock full access