Update: impact-snake-loaded (2oppg7ptas.js) 36 bytes modified
parent
7c11139150
commit
c13af1f808
|
@ -4,10 +4,7 @@ if (this.parentEntity === data.entity) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!this.initialized) {
|
||||
|
||||
var texture = GameLib.EntityManager.Instance.findComponentById('77dqs286vu');
|
||||
|
||||
if (!this.initialized) {
|
||||
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
|
Loading…
Reference in New Issue