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.
9 lines
141 B
GDScript
9 lines
141 B
GDScript
extends Node2D
|
|
|
|
|
|
|
|
|
|
func handle_change_score(change: int):
|
|
$Score.text = "Score: " + str(int($Score.text) + change)
|
|
print("Score changed.")
|