match-3 grid generation
make game scene modular global debug mode
This commit is contained in:
10
scenes/game/gameplays/clickomania_gameplay.gd
Normal file
10
scenes/game/gameplays/clickomania_gameplay.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
extends Node2D
|
||||
|
||||
signal score_changed(points: int)
|
||||
|
||||
func _ready():
|
||||
print("Clickomania gameplay loaded")
|
||||
# Example: Add some score after a few seconds to test the system
|
||||
await get_tree().create_timer(2.0).timeout
|
||||
score_changed.emit(100)
|
||||
print("Clickomania awarded 100 points")
|
||||
Reference in New Issue
Block a user