diff --git a/2oppg7ptas.js b/2oppg7ptas.js index 69341ea..46c0397 100644 --- a/2oppg7ptas.js +++ b/2oppg7ptas.js @@ -29,11 +29,14 @@ ig.module( font: new ig.Font( 'media/04b03.font.png' ), init: function() { + + console.log('init called'); + // initialize your game world, bind some // keys, etc. ig.input.bind( ig.KEY.SPACE, 'jump' ); - console.log('init called'); + this.loadLevel( LevelSnake ); }, @@ -47,7 +50,7 @@ ig.module( GameLib.Event.GAME_START, function(data) { var size = GameLib.Utils.GetWindowSize(); - ig.main('1cvwv04mfw', Snake, 60, 64 * 16, 64*16, 1 ); + ig.main('1cvwv04mfw', Snake, 60, 750, 1334, 1 ); } );