Reviewed-on: #7 Co-authored-by: Vladimir nett00n Budylnikov <git@nett00n.org> Co-committed-by: Vladimir nett00n Budylnikov <git@nett00n.org>
11 lines
342 B
GDScript
11 lines
342 B
GDScript
extends Node2D
|
|
|
|
signal score_changed(points: int)
|
|
|
|
func _ready():
|
|
DebugManager.log_info("Clickomania gameplay loaded", "Clickomania")
|
|
# Example: Add some score after a few seconds to test the system
|
|
await get_tree().create_timer(2.0).timeout
|
|
score_changed.emit(100)
|
|
DebugManager.log_info("Clickomania awarded 100 points", "Clickomania")
|