clik-engine API
    Preparing search index...

    Class SoundPool

    Pre-allocated sound instances for simultaneous playback without allocation. Supports voice stealing when all instances are busy.

    Usage:

    const pool = new SoundPool(scene, { poolSize: 5, voiceStealing: true });
    pool.register('hit', 'hit_sfx');
    pool.play('hit', { volume: 0.8 });
    Index

    Constructors

    Methods