Update: CC - Entity Loaded - Impact Test (3w66vzyd6a.js) 393 bytes modified
parent
2c88f37041
commit
89c9979ece
|
@ -1,2 +1,17 @@
|
||||||
return null;
|
// Create your own game class
|
||||||
|
MyGame = ig.Game.extend({
|
||||||
|
init: function() {
|
||||||
|
// initialize your game world, bind some
|
||||||
|
// keys, etc.
|
||||||
|
ig.input.bind( ig.KEY.SPACE, 'jump' );
|
||||||
|
|
||||||
|
console.log('init called');
|
||||||
|
//this.loadLevel( LevelMyGame1 );
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Start your game
|
||||||
|
// 60fps, 320x240 pixels, scaled up by a factor of 2
|
||||||
|
ig.main('7fjxtzzexg', MyGame, 60, 320, 240, 2 );
|
||||||
|
|
||||||
//@ sourceURL=entityLoaded.js
|
//@ sourceURL=entityLoaded.js
|
Loading…
Reference in New Issue