Sound when a piece lands
Play a short sound after a successful move.
Add the sound to the asset list. In Block Puzzle, the audio service listens for PlacementCompleted and calls engine.audio.playSfx with the sound ID. It unsubscribes when the scene closes. BlockPuzzleAudioService.ts
ctx.engine.events.on(BlockPuzzleEvents.PlacementCompleted, () => {
this.playSfx(AudioAssetIds.Placed);
});
Set music and sfx channel levels and per-file volumes in the JSON selected by system.audio.volumeConfigId. Request music after loading assets and settings. If the browser blocks playback, the SDK retries on the first eligible player interaction; no scene-specific first-tap handler is needed. Repeating playMusic for the same active or loading track does not create another instance.
PlacementCompletedA piece was placed
playSfxPlay the sound by ID
SoundThe player hears confirmation