Live Sound Code

// Spatial dragon roar with pan:
var panner = audioCtx.createStereoPanner();
panner.pan.value = -0.8; // left
osc.connect(panner).connect(dest);
// Background music loop:
synth.playNoteByName('C', 4, 0, 0.15);
synth.playNoteByName('E', 4, 0, 0.15);
// ... timed with setTimeout
// SFX presets:
synth.playPreset('jump');
synth.playPreset('coin');
synth.playPreset('hit');
synth.playPreset('explosion');
synth.playPreset('powerup');

Event Log

    🐉 Dragon Runner

    Run, double-jump & dash through a world of dragons!
    Collect coins, stomp enemies, dodge fire — hear dragons approach in stereo!

    or AD to move  •  Space / to jump (x2!)  •  Shift to air-dash
    Stomp enemies • Chain kills for combo • Reach the portal!
    ♫ Background music + spatial dragon audio powered by ChiptuneSynth