Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 514 bytes modified

beta.r3js.org
-=yb4f310 2018-03-24 22:43:29 +01:00
parent 4f32e36bb4
commit 4e2680bd18
1 changed files with 2 additions and 25 deletions

View File

@ -1829,7 +1829,8 @@ GameLib.Event.Subscribe(
gameOver : false,
muted : this.state.muted,
paused : false,
score : 0
score : 0,
highscore : this.state.highscore
};
GameLib.Event.Emit(
@ -1965,30 +1966,6 @@ GameLib.Event.Subscribe(
)
this.displayHUD();
window.moveTo(0, 0);
window.scroll(0,0);
function maxWindow() {
window.moveTo(0, 0);
if (document.all) {
top.window.resizeTo(screen.availWidth, screen.availHeight);
}
else if (document.layers || document.getElementById) {
if (top.window.outerHeight < screen.availHeight || top.window.outerWidth < screen.availWidth) {
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
}
maxWindow();
GameLib.Event.Emit(GameLib.Event.GAME_LOADED);