1 decade ago by congwang0517
My picture is 780*560,i don't know how to set the tilesize and dimensions. can anybody help me?
This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact
MyGame = ig.Game.extend({ clearColor: null, // no clear color background: new ig.Image( 'media/background.png' ), // ... draw: function() { this.background.draw( 0, 0 ); // Draw all entities and backgroundMaps this.parent(); } });