Código de sonido en directo

// Todos los sonidos de este juego utilizan:
const synth = newChiptuneSynth();
await synth.init();
// Sonidos utilizados en Catcher:
synth.playPreset('coin'); // atrapar moneda
synth.playPreset('1up');     // atrapar estrella
synth.playPreset('explosion');// impacto de bomba
synth.playPreset('hit'); // daño
synth.playPreset('blip'); // moneda perdida
synth.playPreset('powerup'); // subir de nivel

Registro de eventos

    Chiptune Catcher

    Puntuación: 0 | Vidas: 3 | Nivel: 1

    Chiptune Catcher

    ¡Atrapa las monedas que caen y esquiva las bombas!

    o AD para moverte
    Todos los sonidos son generados por ChiptuneSynth en tiempo real

    FIN DE JUEGO

    Puntuación: 0
    synth.playPreset('coin') • synth.playPreset('explosion') • synth.playPreset('1up')