Back to Outbreak: Soycoon City
SOURCE / PINNED RELEASE

Made of little things.

Outbreak: Soycoon City

Release
db7750b1d009…
Author-recorded commit
3ee3f5fd27a6…
License
LICENSE
Author’s source reference
nostr://npub182jczunncwe0jn6frpqwq3e0qjws7yqqnc3auccqv9nte2dnd63scjm4rf/wss%3A%2F%2Fgit.napplet.soy%2F/n-b87c04571a9

Archive hash verified: dbebdc772b142a1c…. The source-to-build association is the author’s claim; it has not been independently rebuilt.

src/audio-assets.ts
import manifest from '../sounds/runtime.json';
import type { AudioClip } from './audio.js';
const files = import.meta.glob('./audio/runtime/*.mp3', { eager: true, query: '?url', import: 'default' });
export const audioClips: AudioClip[] = manifest.sounds.flatMap(sound => sound.files.map(file => {
  const url = files[file.path.replace(/^src\//, './')];
  if (typeof url !== 'string') throw new Error(`Missing runtime sound: ${file.path}`);
  return { id: sound.id, url, loop: sound.loop, gainDb: sound.mix.gainDb, maxVoices: sound.mix.maxVoices, fadeMs: sound.mix.fadeMs };
}));