This commit is contained in:
2025-11-21 17:29:39 +02:00
parent 65c3eabc56
commit c4182d5024
2 changed files with 9 additions and 4 deletions
@@ -58,14 +58,14 @@ class MazeQuizGame extends EventDispatcher {
engine.hero.animationsMap.idle = engine.hero.animationsMap.win
}
await Utils.wait(1000);
engine.hero.characterControls.cameraDelta = Math.PI;
engine.hero.characterControls.direction += Math.PI;
engine.hero.cameraDelta = Math.PI;
engine.hero.direction += Math.PI;
//engine.hero.model.rotation.y += Math.PI;
await Utils.wait(10000);
this.dispatchEvent({type:'finish'})
}else{
engine.hero.animationsMap.idle = engine.hero.animationsMap._idle
engine.hero.characterControls.cameraDelta = 0
engine.hero.cameraDelta = 0
}
}
if (ud.qid !== undefined && e.started){