bovido/scripts/main.gd

8 lines
97 B
GDScript3
Raw Permalink Normal View History

2023-07-01 19:30:26 +02:00
extends Node2D
var score = 0
func _on_player_hit_ball():
score += 1
$HUD.update_score(score)