1 decade ago by paulh
well i lost all my work for last two months, dont forget to back up online everyone!!
dropbox autosyncs: http://db.tt/pPQI3CJh
Lastly, im naturally trying to get my game working, from scratch again :-(
Actually its ok, i think i can write it pretty quickly and possibly better .. my first problem is why my particles (using the particle plugin) are displayed UNDER the menu image?
dropbox autosyncs: http://db.tt/pPQI3CJh
Lastly, im naturally trying to get my game working, from scratch again :-(
Actually its ok, i think i can write it pretty quickly and possibly better .. my first problem is why my particles (using the particle plugin) are displayed UNDER the menu image?
ig.module( 'game.intro' ) .requires( 'game.entities.particle', 'impact.game' ) .defines(function(){ Intro = ig.Game.extend({ font: new ig.Font( 'media/04b03.font.png' ), MenuImage: new ig.Image( 'media/menu.jpg' ), init:function(){ ig.input.bind( ig.KEY.MOUSE1, 'left'); }, draw: function() { this.MenuImage.draw( -220, -275 ); }, update:function(){ if (ig.input.state('left')) { console.log('left!') ig.game.spawnEntity( FireGib, 200, 200 ); } this.parent(); } }); });