MCPcopy Create free account
hub / github.com/deathcap/ProgrammerArt / processSounds

Function processSounds

scripts/generate.js:57–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55});
56
57function processSounds() {
58 var soundsRoot = path.join(root, 'sounds/');
59
60 // TODO: more sounds. https://github.com/deathcap/ProgrammerArt/issues/1
61 zipRP.file('assets/minecraft/sounds/liquid/splash.ogg', new Uint8Array(fs.readFileSync(soundsRoot + '9508_petenice_splash.ogg')), fileOpts);
62 zipRP.file('assets/minecraft/sounds/damage/fallsmall.ogg', new Uint8Array(fs.readFileSync(soundsRoot + '44429_thecheeseman_hurt2.ogg')), fileOpts);
63 zipRP.file('assets/minecraft/sounds/random/glass1.ogg', new Uint8Array(fs.readFileSync(soundsRoot + '71947_cmusounddesign_bm-glass-break.ogg')), fileOpts);
64};
65
66function processAnimations() {
67 // TODO: more animations. https://github.com/deathcap/ProgrammerArt/issues/10

Callers 1

generate.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected