Update: impact-snake-loaded (2oppg7ptas.js) 36 bytes modified

beta.r3js.org
-=yb4f310 2018-03-12 08:22:29 +01:00
parent 7c11139150
commit c13af1f808
1 changed files with 10 additions and 9 deletions

View File

@ -4,10 +4,7 @@ if (this.parentEntity === data.entity) {
return; return;
} }
if (!this.initialized) { if (!this.initialized) {
var texture = GameLib.EntityManager.Instance.findComponentById('77dqs286vu');
this.initialized = true; this.initialized = true;
} }
@ -46,12 +43,16 @@ ig.module(
} }
); );
var size = GameLib.Utils.GetWindowSize(); GameLib.Event.Subscribe(
GameLib.Event.GAME_START,
function(data) {
var size = GameLib.Utils.GetWindowSize();
ig.main('1cvwv04mfw', Snake, 60, 64 * 16, 64*16, 1 );
}
);
GameLib.Event.Emit(GAME_LOADED);
// Start your game
// 60fps, 320x240 pixels, scaled up by a factor of 2
ig.main('1cvwv04mfw', Snake, 60, 64 * 16, 64*16, 1 );
}); });
//@ sourceURL=entityLoaded.js //@ sourceURL=entityLoaded.js