8 lines
97 B
GDScript3
8 lines
97 B
GDScript3
|
extends Node2D
|
||
|
|
||
|
var score = 0
|
||
|
|
||
|
func _on_player_hit_ball():
|
||
|
score += 1
|
||
|
$HUD.update_score(score)
|