Improved tutorial
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Debugman committed 2026-10-18 00:53:35 -05:00
1 parent b07d850b82
commit 4aae35ee49
8 files changed
+155 -4

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
add_to_group("Hidden")
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func on_contact(body: Node2D) -> void:
print(body)
$AudioStreamPlayer2D.play()
visible = false
%Player2D.coins += 1
await get_tree().create_timer(0.2).timeout
queue_free()