Update: CC - Entity Loaded - Impact Test (3w66vzyd6a.js) 68 bytes modified
parent
eaefb270c9
commit
a4fc4562e9
|
@ -16,16 +16,21 @@ ig.module(
|
||||||
// code for this module
|
// code for this module
|
||||||
|
|
||||||
// Create your own game class
|
// Create your own game class
|
||||||
MyGame = ig.Game.extend({
|
MyGame = ig.Game.extend(
|
||||||
init: function() {
|
|
||||||
// initialize your game world, bind some
|
{
|
||||||
// keys, etc.
|
font: new ig.Font( 'media/04b03.font.png' ),
|
||||||
ig.input.bind( ig.KEY.SPACE, 'jump' );
|
|
||||||
|
init: function() {
|
||||||
|
// initialize your game world, bind some
|
||||||
|
// keys, etc.
|
||||||
|
ig.input.bind( ig.KEY.SPACE, 'jump' );
|
||||||
|
|
||||||
console.log('init called');
|
console.log('init called');
|
||||||
//this.loadLevel( LevelMyGame1 );
|
//this.loadLevel( LevelMyGame1 );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
);
|
||||||
|
|
||||||
// Start your game
|
// Start your game
|
||||||
// 60fps, 320x240 pixels, scaled up by a factor of 2
|
// 60fps, 320x240 pixels, scaled up by a factor of 2
|
||||||
|
|
Loading…
Reference in New Issue