@ -8,6 +8,6 @@
</head>
<body oncontextmenu="return false">
<p>Left Click: add powder | Middle Click: add water | Right Click: add fire | no sounds yet </p>
<script src="./main.js"></script>
<script src="main.js"></script>
</body>
</html>
@ -3,7 +3,7 @@ new p5();
//import * as Tone from "tone";
// unhinged parcel workaround
const sandURL = require("./sounds/sand.mp3");
//const sandURL = require("./sounds/sand.mp3");
const sounds = new Map();
@ -6,7 +6,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "parcel index.html",
"build": "parcel build index.html"
"build": "parcel build --public-url \"/sandGame\" index.html"
},
"repository": {
"type": "git",