SoundPlay beta
Interface of @v12-engine/client
ts
export interface SoundPlay extends SoundShapeHow a sound is played by the stage (StageAudio.play): its shape, where it comes from on the map, its bus, and whether it is not played at all when its file comes later than the player lets a sound be late (SoundPlayer.late), as a sound of the game's is; else it begins once its file is there
Members
at
ts
at?: Vec2;Where on the map the sound is played from, in cells; none for a sound with no place
bus
ts
bus?: Bus;The bus the sound plays through; its usual bus when left out
late
ts
late?: boolean;Whether the sound is dropped when its file arrives later than the player allows (SoundPlayer.late), as the game's sounds are