Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 514 bytes modified
parent
4f32e36bb4
commit
4e2680bd18
|
@ -1829,7 +1829,8 @@ GameLib.Event.Subscribe(
|
||||||
gameOver : false,
|
gameOver : false,
|
||||||
muted : this.state.muted,
|
muted : this.state.muted,
|
||||||
paused : false,
|
paused : false,
|
||||||
score : 0
|
score : 0,
|
||||||
|
highscore : this.state.highscore
|
||||||
};
|
};
|
||||||
|
|
||||||
GameLib.Event.Emit(
|
GameLib.Event.Emit(
|
||||||
|
@ -1965,30 +1966,6 @@ GameLib.Event.Subscribe(
|
||||||
)
|
)
|
||||||
|
|
||||||
this.displayHUD();
|
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);
|
GameLib.Event.Emit(GameLib.Event.GAME_LOADED);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue