Update: impact-snake-loaded (2oppg7ptas.js) 36 bytes modified
parent
7c11139150
commit
c13af1f808
|
@ -5,9 +5,6 @@ if (this.parentEntity === data.entity) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.initialized) {
|
if (!this.initialized) {
|
||||||
|
|
||||||
var texture = GameLib.EntityManager.Instance.findComponentById('77dqs286vu');
|
|
||||||
|
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,11 +43,15 @@ ig.module(
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
GameLib.Event.Subscribe(
|
||||||
|
GameLib.Event.GAME_START,
|
||||||
|
function(data) {
|
||||||
var size = GameLib.Utils.GetWindowSize();
|
var size = GameLib.Utils.GetWindowSize();
|
||||||
|
|
||||||
// Start your game
|
|
||||||
// 60fps, 320x240 pixels, scaled up by a factor of 2
|
|
||||||
ig.main('1cvwv04mfw', Snake, 60, 64 * 16, 64*16, 1 );
|
ig.main('1cvwv04mfw', Snake, 60, 64 * 16, 64*16, 1 );
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
GameLib.Event.Emit(GAME_LOADED);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue