PachinkoQuest/GUI.gd
Skip 2491055a7e Added nearly all basic features.
Added bounce physics, collision layers, masks, and names, pins (and the extra bouncy GiantPin), walls, cup physics, a sample level, and a score system with an accompanying auto-updating GUI label.
2022-01-28 00:03:38 -05:00

9 lines
141 B
GDScript

extends Node2D
func handle_change_score(change: int):
$Score.text = "Score: " + str(int($Score.text) + change)
print("Score changed.")