I got game and cions in it. So there are level1 scene and coin scene. In coin scene i use this:
extends Node2D
func onArea2Dbodyentered(body):
if "Player" in body.name:
body.addcoin()
queuefree()
$Area2D/AudioStreamPlayer2D.play()
but when player "pick up" the coin, i don't hear the sound of Audiostreamplayer2D. (i load the .ogg file in it, yes).
Any ideas?