play sound

play sound



Kode wheel segment Create
Style Specialised
Modifiers  at  / pitch /everywhere / volume / overlapping / on next music beat
Primarily WHEN/DO DO
Pre-made brains that use it Unknown

Create > play sound


This tile allows you to create sound effects or music dynamically during the game. Pick an effect from the gallery. Sounds can play continuously if not specified, but only sounds listed as loops will play without an obvious pause between plays.

Example Code

WHEN [once]  DO [play sound][Laughing][everywhere]



at: Paired with an object position or vector. This will play the sound effect at that position.


pitch: Paired with a number this will change the pitch of the sound effects.

everywhere: This will play the sound throughout the level.

volume: Paired with a number this will change the volume of any sound effect that accompanies the effect.

overlapping: This tile will play the effect even if has just played, and is still visible on the screen. Most appropriate when used for a firing mechanism which may need the effect played in quick succession, before all the particles from the previous effect has dissipated.

on next music beat: Various experiments and I couldn’t get this to work.


Other Uses


Comments are closed.

Website Powered by

Up ↑

%d bloggers like this: