Taking a crack at an audio system

This commit is contained in:
Rezmason
2022-09-22 21:03:54 -07:00
parent 3843dd90d1
commit c3e2ddf843
7 changed files with 98 additions and 4 deletions

View File

@@ -119,6 +119,7 @@ const defaults = {
loops: false,
skipIntro: true,
testFix: null,
audio: false,
};
const versions = {
@@ -461,6 +462,7 @@ const paramMapping = {
loops: { key: "loops", parser: (s) => s.toLowerCase().includes("true") },
fps: { key: "fps", parser: (s) => nullNaN(range(parseFloat(s), 0, 60)) },
skipIntro: { key: "skipIntro", parser: (s) => s.toLowerCase().includes("true") },
audio: { key: "audio", parser: (s) => s.toLowerCase().includes("true") },
renderer: { key: "renderer", parser: (s) => s },
once: { key: "once", parser: (s) => s.toLowerCase().includes("true") },
isometric: { key: "isometric", parser: (s) => s.toLowerCase().includes("true") },