resolves #17
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user