Update: impact-snake-loaded (2oppg7ptas.js) 39 bytes modified
parent
da193dcc0f
commit
c029cd2030
|
@ -28,14 +28,12 @@ ig.module(
|
||||||
{
|
{
|
||||||
font: new ig.Font( 'media/04b03.font.png' ),
|
font: new ig.Font( 'media/04b03.font.png' ),
|
||||||
|
|
||||||
background: new ig.Image('media/long_background.png'),
|
backgroundImage: new ig.Image('media/long_background.png'),
|
||||||
|
|
||||||
init: function() {
|
init: function() {
|
||||||
|
|
||||||
console.log('init called');
|
console.log('init called');
|
||||||
|
|
||||||
this.backgroundImage = background;
|
|
||||||
|
|
||||||
// initialize your game world, bind some
|
// initialize your game world, bind some
|
||||||
// keys, etc.
|
// keys, etc.
|
||||||
ig.input.bind( ig.KEY.SPACE, 'jump' );
|
ig.input.bind( ig.KEY.SPACE, 'jump' );
|
||||||
|
|
Loading…
Reference in New Issue