[agent:claude-cli] feat(audio): système audio complet — swim loop, boost, block break, echo ping, pearl collect, mort/respawn, deep sea ambient (placeholders AudioStreamGenerator si .ogg absent)
This commit is contained in:
@@ -58,5 +58,8 @@ func _on_body_entered(body: Node) -> void:
|
||||
return
|
||||
if body.is_in_group("player"):
|
||||
_collected = true
|
||||
var am: Node = get_node_or_null("/root/AudioManager")
|
||||
if am != null and am.has_method("play_pearl_collect"):
|
||||
am.call("play_pearl_collect", global_position)
|
||||
collected.emit(ITEM_ID_PEARL)
|
||||
queue_free()
|
||||
|
||||
Reference in New Issue
Block a user