Your commit message

This commit is contained in:
Mak
2026-05-10 18:08:18 +09:00
parent 0ddf026543
commit dac0d37d53
18 changed files with 623 additions and 3 deletions

View File

@@ -217,7 +217,7 @@ function init() {
async function spawn() { //spawning obstacles with bigger one having 0.2 chance, smaller ones 0.8 chance
const isRare = Math.random() < 0.2;
const modelFile = isRare ? "bird_in_a_claw_machine.glb" : "Simple computer.glb";
const modelFile = isRare ? "3dmodels/bird_in_a_claw_machine.glb" : "3dmodels/Simple computer.glb";
const source = await getCachedGLTF(modelFile);
const obstacleData = createObstacle(isRare, source, CONFIG.lane);