// Built with IMPACT - impactjs.org

Number.prototype.map=function(istart,istop,ostart,ostop){return ostart+(ostop-ostart)*((this-istart)/(istop-istart));};Number.prototype.limit=function(min,max){return Math.min(max,Math.max(min,this));};Number.prototype.round=function(precision){precision=Math.pow(10,precision||0);return Math.round(this*precision)/precision;};Number.prototype.floor=function(){return Math.floor(this);};Number.prototype.ceil=function(){return Math.ceil(this);};Number.prototype.toInt=function(){return(this|0);};Array.prototype.erase=function(item){for(var i=this.length;i--;i){if(this[i]===item)this.splice(i,1);}
return this;};Array.prototype.random=function(){return this[(Math.random()*this.length).floor()];};Function.prototype.bind=function(bind){var self=this;return function(){var args=Array.prototype.slice.call(arguments);return self.apply(bind||null,args);};};(function(window){window.ig={game:null,version:'1.16',global:window,modules:{},resources:[],ready:false,baked:false,nocache:'',ua:{},lib:'lib/',_current:null,_loadQueue:[],_waitForOnload:0,$:function(selector){return selector.charAt(0)=='#'?document.getElementById(selector.substr(1)):document.getElementsByTagName(selector);},$new:function(name){return document.createElement(name);},copy:function(object){if(!object||typeof(object)!='object'||object instanceof HTMLElement||object instanceof ig.Class){return object;}
else if(object instanceof Array){var c=[];for(var i=0,l=object.length;i<l;i++){c[i]=ig.copy(object[i]);}
return c;}
else{var c={};for(var i in object){c[i]=ig.copy(object[i]);}
return c;}},merge:function(original,extended){for(var key in extended){var ext=extended[key];if(typeof(ext)!='object'||ext instanceof HTMLElement||ext instanceof ig.Class){original[key]=ext;}
else{if(!original[key]||typeof(original[key])!='object'){original[key]={};}
ig.merge(original[key],ext);}}
return original;},ksort:function(obj){if(!obj||typeof(obj)!='object'){return[];}
var keys=[],values=[];for(var i in obj){keys.push(i);}
keys.sort();for(var i=0;i<keys.length;i++){values.push(obj[keys[i]]);}
return values;},module:function(name){if(ig._current){throw("Module '"+ig._current.name+"' defines nothing");}
if(ig.modules[name]&&ig.modules[name].body){throw("Module '"+name+"' is already defined");}
ig._current={name:name,requires:[],loaded:false,body:null};ig.modules[name]=ig._current;ig._loadQueue.push(ig._current);ig._initDOMReady();return ig;},requires:function(){ig._current.requires=Array.prototype.slice.call(arguments);return ig;},defines:function(body){name=ig._current.name;ig._current.body=body;ig._current=null;ig._execModules();},addResource:function(resource){ig.resources.push(resource);},setNocache:function(set){ig.nocache=set?'?'+Date.now():'';},_loadScript:function(name,requiredFrom){ig.modules[name]={name:name,requires:[],loaded:false,body:null};ig._waitForOnload++;var path=ig.lib+name.replace(/\./g,'/')+'.js'+ig.nocache;var script=ig.$new('script');script.type='text/javascript';script.src=path;script.onload=function(){ig._waitForOnload--;ig._execModules();};script.onerror=function(){throw('Failed to load module '+name+' at '+path+' '+'required from '+requiredFrom);};ig.$('head')[0].appendChild(script);},_execModules:function(){var modulesLoaded=false;for(var i=0;i<ig._loadQueue.length;i++){var m=ig._loadQueue[i];var dependenciesLoaded=true;for(var j=0;j<m.requires.length;j++){var name=m.requires[j];if(!ig.modules[name]){dependenciesLoaded=false;ig._loadScript(name,m.name);}
else if(!ig.modules[name].loaded){dependenciesLoaded=false;}}
if(dependenciesLoaded&&m.body){ig._loadQueue.splice(i,1);m.loaded=true;m.body();modulesLoaded=true;i--;}}
if(modulesLoaded){ig._execModules();}
else if(!ig.baked&&ig._waitForOnload==0&&ig._loadQueue.length!=0){var unresolved=[];for(var i=0;i<ig._loadQueue.length;i++){var unloaded=[];var requires=ig._loadQueue[i].requires;for(var j=0;j<requires.length;j++){var m=ig.modules[requires[j]];if(!m||!m.loaded){unloaded.push(requires[j]);}}
unresolved.push(ig._loadQueue[i].name+' (requires: '+unloaded.join(', ')+')');}
throw('Unresolved (circular?) dependencies. '+"Most likely there's a name/path mismatch for one of the listed modules:\n"+
unresolved.join('\n'));}},_DOMReady:function(){if(!ig.modules['dom.ready'].loaded){if(!document.body){return setTimeout(ig._DOMReady,13);}
ig.modules['dom.ready'].loaded=true;ig._waitForOnload--;ig._execModules();}
return 0;},_boot:function(){if(document.location.href.match(/\?nocache/)){ig.setNocache(true);}
ig.ua.pixelRatio=window.devicePixelRatio||1;ig.ua.viewport={width:window.innerWidth,height:window.innerHeight};ig.ua.screen={width:window.screen.availWidth*ig.ua.pixelRatio,height:window.screen.availHeight*ig.ua.pixelRatio};ig.ua.iPhone=/iPhone/i.test(navigator.userAgent);ig.ua.iPhone4=(ig.ua.iPhone&&ig.ua.pixelRatio==2);ig.ua.iPad=/iPad/i.test(navigator.userAgent);ig.ua.android=/android/i.test(navigator.userAgent);ig.ua.iOS=ig.ua.iPhone||ig.ua.iPad;ig.ua.mobile=ig.ua.iOS||ig.ua.android;},_initDOMReady:function(){if(ig.modules['dom.ready']){return;}
ig._boot();ig.modules['dom.ready']={requires:[],loaded:false,body:null};ig._waitForOnload++;if(document.readyState==='complete'){ig._DOMReady();}
else{document.addEventListener('DOMContentLoaded',ig._DOMReady,false);window.addEventListener('load',ig._DOMReady,false);}}};var initializing=false,fnTest=/xyz/.test(function(){xyz;})?/\bparent\b/:/.*/;window.ig.Class=function(){};window.ig.Class.extend=function(prop){var parent=this.prototype;initializing=true;var prototype=new this();initializing=false;for(var name in prop){if(typeof(prop[name])=="function"&&typeof(parent[name])=="function"&&fnTest.test(prop[name])){prototype[name]=(function(name,fn){return function(){var tmp=this.parent;this.parent=parent[name];var ret=fn.apply(this,arguments);this.parent=tmp;return ret;};})(name,prop[name])}
else{prototype[name]=prop[name];}}
function Class(){if(!initializing){if(this.staticInstantiate){var obj=this.staticInstantiate.apply(this,arguments);if(obj){return obj;}}
for(var p in this){this[p]=ig.copy(this[p]);}
if(this.init){this.init.apply(this,arguments);}}
return this;}
Class.prototype=prototype;Class.constructor=Class;Class.extend=arguments.callee;return Class;};})(window);

// lib/impact/image.js
ig.baked=true;ig.module('impact.image').defines(function(){ig.Image=ig.Class.extend({data:null,width:0,height:0,loaded:false,failed:false,loadCallback:null,path:'',staticInstantiate:function(path){return ig.Image.cache[path]||null;},init:function(path){this.path=path;this.load();},load:function(loadCallback){if(this.loaded){if(loadCallback){loadCallback(this.path,true);}
return;}
else if(!this.loaded&&ig.ready){this.loadCallback=loadCallback||null;this.data=new Image();this.data.onload=this.onload.bind(this);this.data.onerror=this.onerror.bind(this);this.data.src=this.path+ig.nocache;}
else{ig.addResource(this);}
ig.Image.cache[this.path]=this;},reload:function(){this.loaded=false;this.data=new Image();this.data.onload=this.onload.bind(this);this.data.src=this.path+'?'+Date.now();},onload:function(event){this.width=this.data.width;this.height=this.data.height;if(ig.system.scale!=1){this.resize(ig.system.scale);}
this.loaded=true;if(this.loadCallback){this.loadCallback(this.path,true);}},onerror:function(event){this.failed=true;if(this.loadCallback){this.loadCallback(this.path,false);}},resize:function(scale){var widthScaled=this.width*scale;var heightScaled=this.height*scale;var orig=ig.$new('canvas');orig.width=this.width;orig.height=this.height;var origCtx=orig.getContext('2d');origCtx.drawImage(this.data,0,0,this.width,this.height,0,0,this.width,this.height);var origPixels=origCtx.getImageData(0,0,this.width,this.height);var scaled=ig.$new('canvas');scaled.width=widthScaled;scaled.height=heightScaled;var scaledCtx=scaled.getContext('2d');var scaledPixels=scaledCtx.getImageData(0,0,widthScaled,heightScaled);for(var y=0;y<heightScaled;y++){for(var x=0;x<widthScaled;x++){var index=((y/scale).floor()*this.width+(x/scale).floor())*4;var indexScaled=(y*widthScaled+x)*4;scaledPixels.data[indexScaled]=origPixels.data[index];scaledPixels.data[indexScaled+1]=origPixels.data[index+1];scaledPixels.data[indexScaled+2]=origPixels.data[index+2];scaledPixels.data[indexScaled+3]=origPixels.data[index+3];}}
scaledCtx.putImageData(scaledPixels,0,0);this.data=scaled;},draw:function(targetX,targetY,sourceX,sourceY,width,height){if(!this.loaded){return;}
var scale=ig.system.scale;sourceX=sourceX?sourceX*scale:0;sourceY=sourceY?sourceY*scale:0;width=(width?width:this.width)*scale;height=(height?height:this.height)*scale;ig.system.context.drawImage(this.data,sourceX,sourceY,width,height,ig.system.getDrawPos(targetX),ig.system.getDrawPos(targetY),width,height);},drawTile:function(targetX,targetY,tile,tileWidth,tileHeight,flipX,flipY){tileHeight=tileHeight?tileHeight:tileWidth;if(!this.loaded||tileWidth>this.width||tileHeight>this.height){return;}
var scale=ig.system.scale;var tileWidthScaled=tileWidth*scale;var tileHeightScaled=tileHeight*scale;var scaleX=flipX?-1:1;var scaleY=flipY?-1:1;if(flipX||flipY){ig.system.context.save();ig.system.context.scale(scaleX,scaleY);}
ig.system.context.drawImage(this.data,((tile*tileWidth).floor()%this.width)*scale,((tile*tileWidth/this.width).floor()*tileHeight)*scale,tileWidthScaled,tileHeightScaled,ig.system.getDrawPos(targetX)*scaleX-(flipX?tileWidthScaled:0),ig.system.getDrawPos(targetY)*scaleY-(flipY?tileHeightScaled:0),tileWidthScaled,tileHeightScaled);if(flipX||flipY){ig.system.context.restore();}}});ig.Image.cache={};ig.Image.reloadCache=function(){for(path in ig.Image.cache){ig.Image.cache[path].reload();}};});

// lib/impact/font.js
ig.baked=true;ig.module('impact.font').requires('impact.image').defines(function(){ig.Font=ig.Image.extend({widthMap:[],indices:[],firstChar:32,height:0,onload:function(ev){this._loadMetrics(this.data);this.parent(ev);},widthForString:function(s){var width=0;for(var i=0;i<s.length;i++){width+=this.widthMap[s.charCodeAt(i)-this.firstChar]+1;}
return width;},draw:function(text,x,y,align){if(typeof(text)!='string'){text=text.toString();}
if(align==ig.Font.ALIGN.RIGHT||align==ig.Font.ALIGN.CENTER){var width=0;for(var i=0;i<text.length;i++){var c=text.charCodeAt(i);width+=this.widthMap[c-this.firstChar]+1;}
x-=align==ig.Font.ALIGN.CENTER?width/2:width;}
for(var i=0;i<text.length;i++){var c=text.charCodeAt(i);x+=this._drawChar(c-this.firstChar,x,y);}},_drawChar:function(c,targetX,targetY){if(!this.loaded||c<0||c>=this.indices.length){return 0;}
var scale=ig.system.scale;var charX=this.indices[c]*scale;var charY=0;var charWidth=this.widthMap[c]*scale;var charHeight=(this.height-2)*scale;ig.system.context.drawImage(this.data,charX,charY,charWidth,charHeight,ig.system.getDrawPos(targetX),ig.system.getDrawPos(targetY),charWidth,charHeight);return this.widthMap[c]+1;},_loadMetrics:function(image){this.height=image.height-1;this.widthMap=[];this.indices=[];var canvas=ig.$new('canvas');canvas.width=image.width;canvas.height=1;var ctx=canvas.getContext('2d');ctx.drawImage(image,0,image.height-1,image.width,1,0,0,image.width,1);var px=ctx.getImageData(0,0,image.width,1);var currentChar=0;var currentWidth=0;for(var x=0;x<image.width;x++){var index=x*4+3;if(px.data[index]!=0){currentWidth++;}
else if(px.data[index]==0&&currentWidth){this.widthMap.push(currentWidth);this.indices.push(x-currentWidth);currentChar++;currentWidth=0;}}
this.widthMap.push(currentWidth);this.indices.push(x-currentWidth);}});ig.Font.ALIGN={LEFT:0,RIGHT:1,CENTER:2};});

// lib/impact/sound.js
ig.baked=true;ig.module('impact.sound').defines(function(){ig.SoundManager=ig.Class.extend({clips:{},volume:1,channels:8,format:'mp3',init:function(){this.format=ig.$new('audio').canPlayType('audio/mpeg')?'mp3':'ogg';},load:function(path,multiChannel,loadCallback){if(this.clips[path]){if(multiChannel&&this.clips[path].length<this.channels){for(var i=this.clips[path].length;i<this.channels;i++){this.clips[path].push(this.clips[path][0].cloneNode(true));}}
return this.clips[path][0];}
var realPath=path.match(/^(.*)\.[^\.]+$/)[1]+'.'+this.format+ig.nocache;var clip=ig.$new('audio');if(loadCallback){clip.addEventListener('canplaythrough',function(ev){this.removeEventListener('canplaythrough',arguments.callee,false)
loadCallback(path,true,ev);},false);clip.addEventListener('error',function(ev){loadCallback(path,true,ev);},false);}
clip.autobuffer=true;clip.preload='auto';clip.src=realPath;clip.load();this.clips[path]=[clip];if(multiChannel){for(var i=1;i<this.channels;i++){this.clips[path].push(clip.cloneNode(true));}}
return clip;},get:function(path){var channels=this.clips[path];for(var i=0,clip;clip=channels[i++];){if(clip.paused||clip.ended){if(clip.ended){clip.currentTime=0;}
return clip;}}
channels[0].pause();channels[0].currentTime=0;return channels[0];}});ig.Music=ig.Class.extend({tracks:[],currentTrack:null,currentIndex:0,random:false,_volume:1,_loop:false,_fadeInterval:0,_fadeTimer:null,_endedCallbackBound:null,init:function(){this._endedCallbackBound=this._endedCallback.bind(this);if(Object.defineProperty){Object.defineProperty(this,"volume",{get:this.getVolume.bind(this),set:this.setVolume.bind(this)});Object.defineProperty(this,"loop",{get:this.getLooping.bind(this),set:this.setLooping.bind(this)});}
else if(this.__defineGetter__){this.__defineGetter__('volume',this.getVolume.bind(this));this.__defineSetter__('volume',this.setVolume.bind(this));this.__defineGetter__('loop',this.getLooping.bind(this));this.__defineSetter__('loop',this.setLooping.bind(this));}},add:function(music){if(!ig.Sound.enabled){return;}
var path=music instanceof ig.Sound?music.path:music;var track=ig.soundManager.load(path,false);track.loop=this._loop;track.volume=this._volume;track.addEventListener('ended',this._endedCallbackBound,false);this.tracks.push(track);if(!this.currentTrack){this.currentTrack=track;}},next:function(){if(!this.tracks.length){return;}
this.stop();this.currentIndex=this.random?(Math.random()*this.tracks.length).floor():(this.currentIndex+1)%this.tracks.length;this.currentTrack=this.tracks[this.currentIndex];this.play();},pause:function(){if(!this.currentTrack){return;}
this.currentTrack.pause();},stop:function(){if(!this.currentTrack){return;}
this.currentTrack.pause();this.currentTrack.currentTime=0;},play:function(){if(!this.currentTrack){return;}
this.currentTrack.play();},getLooping:function(){return this._loop;},setLooping:function(l){this._loop=l;for(var i in this.tracks){this.tracks[i].loop=l;}},getVolume:function(){return this._volume;},setVolume:function(v){this._volume=v.limit(0,1);for(var i in this.tracks){this.tracks[i].volume=this._volume;}},fadeOut:function(time){if(!this.currentTrack){return;}
clearInterval(this._fadeInterval);this.fadeTimer=new ig.Timer(time);this._fadeInterval=setInterval(this._fadeStep.bind(this),50);},_fadeStep:function(){var v=this.fadeTimer.delta().map(-this.fadeTimer.target,0,1,0).limit(0,1)*this._volume;if(v<=0.01){this.stop();this.currentTrack.volume=this._volume;clearInterval(this._fadeInterval);}
else{this.currentTrack.volume=v;}},_endedCallback:function(){if(this._loop){this.play();}
else{this.next();}}});ig.Sound=ig.Class.extend({path:'',volume:1,currentClip:null,multiChannel:true,init:function(path,multiChannel){this.path=path;this.multiChannel=(multiChannel!==false);this.load();},load:function(loadCallback){if(!ig.Sound.enabled){if(loadCallback){loadCallback(this.path,true);}
return;}
if(ig.ready){ig.soundManager.load(this.path,this.multiChannel,loadCallback);}
else{ig.addResource(this);}},play:function(){if(!ig.Sound.enabled){return;}
this.currentClip=ig.soundManager.get(this.path);this.currentClip.volume=ig.soundManager.volume*this.volume;this.currentClip.play();},stop:function(){if(this.currentClip){this.currentClip.pause();this.currentClip.currentTime=0;}}});ig.Sound.enabled=true;});

// lib/impact/loader.js
ig.baked=true;ig.module('impact.loader').requires('impact.image','impact.font','impact.sound').defines(function(){ig.Loader=ig.Class.extend({resources:[],gameClass:null,status:0,done:false,_unloaded:[],_drawStatus:0,_intervalId:0,_loadCallbackBound:null,init:function(gameClass,resources){this.gameClass=gameClass;this.resources=resources;this._loadCallbackBound=this._loadCallback.bind(this);for(var i=0;i<this.resources.length;i++){this._unloaded.push(this.resources[i].path);}},load:function(){ig.system.clear('#000');if(!this.resources.length){this.end();return;}
for(var i=0;i<this.resources.length;i++){this.loadResource(this.resources[i]);}
this._intervalId=setInterval(this.draw.bind(this),16);},loadResource:function(res){res.load(this._loadCallbackBound);},end:function(){if(this.done){return;}
ig.system.clear('#000');this.done=true;clearInterval(this._intervalId);ig.system.setGame(this.gameClass);},draw:function(){ig.system.context.fillStyle='#000';ig.system.context.fillRect(0,0,ig.system.width*ig.system.scale,ig.system.height*ig.system.scale);this._drawStatus+=(this.status-this._drawStatus)/5;var s=ig.system.scale;var w=ig.system.width*0.6;var h=ig.system.height*0.1;var x=ig.system.width*0.5-w/2;var y=ig.system.height*0.8-h/2;ig.system.context.fillStyle='#000';ig.system.context.fillRect(0,0,480,320);ig.system.context.fillStyle='#fff';ig.system.context.fillRect(x*s,y*s,w*s,h*s);ig.system.context.fillStyle='#000';ig.system.context.fillRect(x*s+s,y*s+s,w*s-s-s,h*s-s-s);ig.system.context.font="bold "+36+"px sans-serif";ig.system.context.fillStyle='#fff';ig.system.context.textAlign="center";ig.system.context.fillText("Ascended Arts",ig.system.width/2*s,ig.system.height*.6);ig.system.context.fillStyle='rgb(128,128,128)';ig.system.context.textAlign='center';ig.system.context.fillStyle='#fff';ig.system.context.font="bold "+13+"px sans-serif";ig.system.context.fillText('http://www.ascendedarts.com',ig.system.width/2*s,ig.system.height*.63);ig.system.context.fillStyle='rgb(128,128,128)';ig.system.context.textAlign='center';ig.system.context.fillStyle='#fff';ig.system.context.font="bold "+13+"px sans-serif";ig.system.context.fillText('http://www.browserbots.com',ig.system.width/2*s,ig.system.height*.9);if(this._drawStatus>.01){var grd=ig.system.context.createLinearGradient(x*s+s,y*s+s,x*s+s,y*s+s+h*s-s-s);grd.addColorStop(0,"#0f75bc");grd.addColorStop(.5,"#5f9d8a");grd.addColorStop(1,"#8dc63f");ig.system.context.fillStyle=grd;ig.system.context.fillRect(x*s+s,y*s+s,w*s*this._drawStatus-s-s,h*s-s-s);}
s=5;var ctx=ig.system.context;var x=(ig.system.width/2)-(38*s);var y=ig.system.height*.1;var r=1;ctx.beginPath();ctx.moveTo(9.7*s+x,11.9*s+y);ctx.lineTo(38.0*s+x,17.9*s+y);ctx.lineTo(38.0*s+x,60.8*s+y);ctx.bezierCurveTo(38.0*s+x,60.8*s+y,33.4*s+x,58.4*s+y,28.0*s+x,55.5*s+y);ctx.bezierCurveTo(26.6*s+x,54.8*s+y,25.2*s+x,54.1*s+y,24.0*s+x,53.5*s+y);ctx.bezierCurveTo(18.3*s+x+Math.floor(Math.random()*r*s),50.9*s+y+Math.floor(Math.random()*r*s),18.4*s+x+Math.floor(Math.random()*r*s),51.4*s+y+Math.floor(Math.random()*r*s),20.2*s+x+Math.floor(Math.random()*r*s),53.3*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(17.4*s+x+Math.floor(Math.random()*r*s),51.1*s+y+Math.floor(Math.random()*r*s),16.2*s+x+Math.floor(Math.random()*r*s),50.4*s+y+Math.floor(Math.random()*r*s),17.5*s+x+Math.floor(Math.random()*r*s),52.8*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(15.4*s+x+Math.floor(Math.random()*r*s),51.0*s+y+Math.floor(Math.random()*r*s),15.9*s+x+Math.floor(Math.random()*r*s),52.4*s+y+Math.floor(Math.random()*r*s),17.5*s+x+Math.floor(Math.random()*r*s),55.6*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(15.7*s+x+Math.floor(Math.random()*r*s),52.9*s+y+Math.floor(Math.random()*r*s),14.6*s+x+Math.floor(Math.random()*r*s),51.4*s+y+Math.floor(Math.random()*r*s),15.0*s+x+Math.floor(Math.random()*r*s),53.4*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(12.7*s+x+Math.floor(Math.random()*r*s),49.6*s+y+Math.floor(Math.random()*r*s),11.8*s+x+Math.floor(Math.random()*r*s),49.2*s+y+Math.floor(Math.random()*r*s),10.7*s+x+Math.floor(Math.random()*r*s),52.8*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(10.0*s+x+Math.floor(Math.random()*r*s),49.8*s+y+Math.floor(Math.random()*r*s),9.0*s+x+Math.floor(Math.random()*r*s),50.6*s+y+Math.floor(Math.random()*r*s),6.7*s+x+Math.floor(Math.random()*r*s),54.4*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(8.2*s+x+Math.floor(Math.random()*r*s),50.3*s+y+Math.floor(Math.random()*r*s),8.4*s+x+Math.floor(Math.random()*r*s),49.0*s+y+Math.floor(Math.random()*r*s),5.8*s+x+Math.floor(Math.random()*r*s),50.7*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(8.0*s+x+Math.floor(Math.random()*r*s),47.6*s+y+Math.floor(Math.random()*r*s),7.4*s+x+Math.floor(Math.random()*r*s),47.5*s+y+Math.floor(Math.random()*r*s),3.4*s+x+Math.floor(Math.random()*r*s),49.2*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(5.2*s+x+Math.floor(Math.random()*r*s),48.0*s+y+Math.floor(Math.random()*r*s),3.6*s+x+Math.floor(Math.random()*r*s),48.7*s+y+Math.floor(Math.random()*r*s),0.5*s+x+Math.floor(Math.random()*r*s),50.1*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(3.6*s+x+Math.floor(Math.random()*r*s),48.7*s+y+Math.floor(Math.random()*r*s),5.2*s+x+Math.floor(Math.random()*r*s),47.9*s+y+Math.floor(Math.random()*r*s),3.1*s+x+Math.floor(Math.random()*r*s),48.6*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(6.9*s+x+Math.floor(Math.random()*r*s),46.8*s+y+Math.floor(Math.random()*r*s),7.1*s+x+Math.floor(Math.random()*r*s),46.3*s+y+Math.floor(Math.random()*r*s),3.3*s+x+Math.floor(Math.random()*r*s),46.4*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(6.1*s+x+Math.floor(Math.random()*r*s),45.5*s+y+Math.floor(Math.random()*r*s),4.9*s+x+Math.floor(Math.random()*r*s),45.1*s+y+Math.floor(Math.random()*r*s),0.7*s+x+Math.floor(Math.random()*r*s),44.5*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(4.9*s+x+Math.floor(Math.random()*r*s),44.4*s+y+Math.floor(Math.random()*r*s),6.2*s+x+Math.floor(Math.random()*r*s),44.1*s+y+Math.floor(Math.random()*r*s),3.7*s+x+Math.floor(Math.random()*r*s),42.4*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(7.4*s+x+Math.floor(Math.random()*r*s),43.1*s+y+Math.floor(Math.random()*r*s),7.4*s+x+Math.floor(Math.random()*r*s),42.3*s+y+Math.floor(Math.random()*r*s),4.6*s+x+Math.floor(Math.random()*r*s),39.1*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(6.4*s+x+Math.floor(Math.random()*r*s),40.1*s+y+Math.floor(Math.random()*r*s),5.3*s+x+Math.floor(Math.random()*r*s),38.7*s+y+Math.floor(Math.random()*r*s),3.3*s+x+Math.floor(Math.random()*r*s),36.1*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(6.0*s+x+Math.floor(Math.random()*r*s),38.8*s+y+Math.floor(Math.random()*r*s),7.3*s+x+Math.floor(Math.random()*r*s),39.9*s+y+Math.floor(Math.random()*r*s),6.3*s+x+Math.floor(Math.random()*r*s),37.1*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(8.4*s+x+Math.floor(Math.random()*r*s),39.4*s+y+Math.floor(Math.random()*r*s),8.2*s+x+Math.floor(Math.random()*r*s),37.9*s+y+Math.floor(Math.random()*r*s),7.1*s+x+Math.floor(Math.random()*r*s),34.1*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(9.4*s+x,34.4*s+y,9.5*s+x,33.8*s+y,9.5*s+x,32.0*s+y);ctx.bezierCurveTo(9.7*s+x,20.4*s+y,9.7*s+x,11.9*s+y,9.7*s+x,11.9*s+y);ctx.closePath();gradient=ctx.createLinearGradient(37.4*s+x,22.7*s+y,12.4*s+x,47.8*s+y);var stop0r=217;var stop0g=223;var stop0b=35;var stop1r=140;var stop1g=198;var stop1b=62;gradient.addColorStop(0.00,"rgb("+stop0r+", "+stop0g+", "+stop0b+")");gradient.addColorStop(1.00,"rgb("+stop1r+", "+stop1g+", "+stop1b+")");ctx.fillStyle=gradient;ctx.fill();ctx.stroke();ctx.beginPath();ctx.moveTo(70.1*s+x,3.6*s+y);ctx.bezierCurveTo(68.3*s+x+Math.floor(Math.random()*r*s),7.6*s+y+Math.floor(Math.random()*r*s),67.5*s+x+Math.floor(Math.random()*r*s),9.0*s+y+Math.floor(Math.random()*r*s),68.4*s+x+Math.floor(Math.random()*r*s),4.7*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(65.8*s+x+Math.floor(Math.random()*r*s),10.6*s+y+Math.floor(Math.random()*r*s),64.9*s+x+Math.floor(Math.random()*r*s),10.7*s+y+Math.floor(Math.random()*r*s),62.3*s+x+Math.floor(Math.random()*r*s),4.7*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(62.6*s+x+Math.floor(Math.random()*r*s),9.7*s+y+Math.floor(Math.random()*r*s),61.1*s+x+Math.floor(Math.random()*r*s),8.5*s+y+Math.floor(Math.random()*r*s),57.8*s+x+Math.floor(Math.random()*r*s),4.8*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(59.9*s+x+Math.floor(Math.random()*r*s),8.7*s+y+Math.floor(Math.random()*r*s),60.2*s+x+Math.floor(Math.random()*r*s),10.2*s+y+Math.floor(Math.random()*r*s),56.0*s+x+Math.floor(Math.random()*r*s),8.4*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(59.7*s+x+Math.floor(Math.random()*r*s),12.2*s+y+Math.floor(Math.random()*r*s),59.0*s+x+Math.floor(Math.random()*r*s),12.8*s+y+Math.floor(Math.random()*r*s),53.8*s+x+Math.floor(Math.random()*r*s),12.2*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(56.6*s+x+Math.floor(Math.random()*r*s),13.5*s+y+Math.floor(Math.random()*r*s),54.9*s+x+Math.floor(Math.random()*r*s),13.6*s+y+Math.floor(Math.random()*r*s),52.1*s+x+Math.floor(Math.random()*r*s),13.6*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(53.2*s+x+Math.floor(Math.random()*r*s),14.1*s+y+Math.floor(Math.random()*r*s),52.7*s+x+Math.floor(Math.random()*r*s),14.5*s+y+Math.floor(Math.random()*r*s),51.5*s+x+Math.floor(Math.random()*r*s),14.9*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(50.7*s+x,15.2*s+y,49.3*s+x,15.5*s+y,47.9*s+x,15.8*s+y);ctx.bezierCurveTo(42.5*s+x,16.9*s+y,38.0*s+x,17.9*s+y,38.0*s+x,17.9*s+y);ctx.lineTo(38.0*s+x,60.8*s+y);ctx.lineTo(66.3*s+x,45.9*s+y);ctx.bezierCurveTo(66.3*s+x,45.9*s+y,66.3*s+x,42.1*s+y,66.3*s+x,37.1*s+y);ctx.bezierCurveTo(66.3*s+x,35.8*s+y,66.3*s+x,34.5*s+y,66.3*s+x,33.1*s+y);ctx.bezierCurveTo(66.3*s+x,31.7*s+y,66.3*s+x,30.3*s+y,66.3*s+x,28.9*s+y);ctx.bezierCurveTo(66.9*s+x+Math.floor(Math.random()*r*s),18.2*s+y+Math.floor(Math.random()*r*s),67.3*s+x+Math.floor(Math.random()*r*s),17.0*s+y+Math.floor(Math.random()*r*s),74.0*s+x+Math.floor(Math.random()*r*s),17.9*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(69.1*s+x+Math.floor(Math.random()*r*s),14.8*s+y+Math.floor(Math.random()*r*s),70.5*s+x+Math.floor(Math.random()*r*s),13.9*s+y+Math.floor(Math.random()*r*s),76.2*s+x+Math.floor(Math.random()*r*s),11.9*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(70.5*s+x+Math.floor(Math.random()*r*s),12.8*s+y+Math.floor(Math.random()*r*s),69.1*s+x+Math.floor(Math.random()*r*s),12.7*s+y+Math.floor(Math.random()*r*s),73.1*s+x+Math.floor(Math.random()*r*s),8.8*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(67.4*s+x+Math.floor(Math.random()*r*s),12.0*s+y+Math.floor(Math.random()*r*s),67.2*s+x+Math.floor(Math.random()*r*s),11.3*s+y+Math.floor(Math.random()*r*s),70.0*s+x+Math.floor(Math.random()*r*s),5.4*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(67.6*s+x+Math.floor(Math.random()*r*s),9.1*s+y+Math.floor(Math.random()*r*s),68.3*s+x+Math.floor(Math.random()*r*s),7.6*s+y+Math.floor(Math.random()*r*s),70.1*s+x+Math.floor(Math.random()*r*s),3.6*s+y+Math.floor(Math.random()*r*s));ctx.closePath();gradient=ctx.createLinearGradient(40.3*s+x,53.5*s+y,60.7*s+x,16.4*s+y);var stop0r=39;var stop0g=169;var stop0b=225;var stop1r=27;var stop1g=117;var stop1b=187;gradient.addColorStop(0.00,"rgb("+stop0r+", "+stop0g+", "+stop0b+")");gradient.addColorStop(1.00,"rgb("+stop1r+", "+stop1g+", "+stop1b+")");ctx.fillStyle=gradient;ctx.fill();ctx.stroke();ctx.beginPath();ctx.moveTo(70.1*s+x,3.6*s+y);ctx.bezierCurveTo(68.3*s+x+Math.floor(Math.random()*r*s),7.6*s+y+Math.floor(Math.random()*r*s),67.5*s+x+Math.floor(Math.random()*r*s),9.0*s+y+Math.floor(Math.random()*r*s),68.5*s+x+Math.floor(Math.random()*r*s),4.6*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(65.9*s+x+Math.floor(Math.random()*r*s),10.4*s+y+Math.floor(Math.random()*r*s),65.1*s+x+Math.floor(Math.random()*r*s),10.3*s+y+Math.floor(Math.random()*r*s),63.2*s+x+Math.floor(Math.random()*r*s),4.2*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(63.1*s+x+Math.floor(Math.random()*r*s),8.8*s+y+Math.floor(Math.random()*r*s),61.9*s+x+Math.floor(Math.random()*r*s),7.4*s+y+Math.floor(Math.random()*r*s),59.5*s+x+Math.floor(Math.random()*r*s),3.6*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(60.7*s+x+Math.floor(Math.random()*r*s),7.2*s+y+Math.floor(Math.random()*r*s),60.7*s+x+Math.floor(Math.random()*r*s),8.5*s+y+Math.floor(Math.random()*r*s),57.6*s+x+Math.floor(Math.random()*r*s),6.1*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(59.9*s+x+Math.floor(Math.random()*r*s),10.1*s+y+Math.floor(Math.random()*r*s),59.2*s+x+Math.floor(Math.random()*r*s),10.3*s+y+Math.floor(Math.random()*r*s),55.2*s+x+Math.floor(Math.random()*r*s),8.4*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(57.0*s+x+Math.floor(Math.random()*r*s),10.2*s+y+Math.floor(Math.random()*r*s),55.6*s+x+Math.floor(Math.random()*r*s),9.8*s+y+Math.floor(Math.random()*r*s),53.3*s+x+Math.floor(Math.random()*r*s),9.0*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(53.7*s+x,9.7*s+y,52.9*s+x,9.8*s+y,51.8*s+x,9.7*s+y);ctx.bezierCurveTo(50.7*s+x,9.7*s+y,49.3*s+x,9.5*s+y,47.9*s+x,9.3*s+y);ctx.bezierCurveTo(42.5*s+x,8.6*s+y,38.0*s+x,7.9*s+y,38.0*s+x,7.9*s+y);ctx.lineTo(9.7*s+x,11.9*s+y);ctx.lineTo(38.0*s+x,17.9*s+y);ctx.bezierCurveTo(38.0*s+x,17.9*s+y,42.5*s+x,16.9*s+y,47.9*s+x,15.8*s+y);ctx.bezierCurveTo(49.3*s+x,15.5*s+y,50.7*s+x,15.2*s+y,51.5*s+x,14.9*s+y);ctx.bezierCurveTo(52.7*s+x,14.5*s+y,53.2*s+x,14.1*s+y,52.1*s+x,13.6*s+y);ctx.bezierCurveTo(54.9*s+x,13.6*s+y,56.6*s+x,13.5*s+y,53.8*s+x,12.2*s+y);ctx.bezierCurveTo(59.0*s+x+Math.floor(Math.random()*r*s),12.8*s+y+Math.floor(Math.random()*r*s),59.7*s+x+Math.floor(Math.random()*r*s),12.2*s+y+Math.floor(Math.random()*r*s),56.0*s+x+Math.floor(Math.random()*r*s),8.4*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(60.2*s+x+Math.floor(Math.random()*r*s),10.2*s+y+Math.floor(Math.random()*r*s),59.9*s+x+Math.floor(Math.random()*r*s),8.7*s+y+Math.floor(Math.random()*r*s),57.8*s+x+Math.floor(Math.random()*r*s),4.8*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(61.1*s+x+Math.floor(Math.random()*r*s),8.5*s+y+Math.floor(Math.random()*r*s),62.6*s+x+Math.floor(Math.random()*r*s),9.7*s+y+Math.floor(Math.random()*r*s),62.3*s+x+Math.floor(Math.random()*r*s),4.7*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(64.9*s+x+Math.floor(Math.random()*r*s),10.7*s+y+Math.floor(Math.random()*r*s),65.8*s+x+Math.floor(Math.random()*r*s),10.6*s+y+Math.floor(Math.random()*r*s),68.4*s+x+Math.floor(Math.random()*r*s),4.7*s+y+Math.floor(Math.random()*r*s));ctx.bezierCurveTo(67.5*s+x+Math.floor(Math.random()*r*s),9.0*s+y+Math.floor(Math.random()*r*s),68.3*s+x+Math.floor(Math.random()*r*s),7.6*s+y+Math.floor(Math.random()*r*s),70.1*s+x+Math.floor(Math.random()*r*s),3.6*s+y+Math.floor(Math.random()*r*s));ctx.closePath();gradient=ctx.createLinearGradient(16.7*s+y,10.3*s+y,56.2*s+y,10.8*s+y);gradient.addColorStop(0.00,"rgb(27, 117, 187)");gradient.addColorStop(1.00,"rgb(140, 198, 62)");ctx.fillStyle=gradient;ctx.fill();ctx.lineJoin="bevel";ctx.stroke();ctx.save();ctx.beginPath();ctx.moveTo(35.1*s+x,33.6*s+y);ctx.lineTo(35.2*s+x,33.7*s+y);ctx.lineTo(35.2*s+x,33.8*s+y);ctx.lineTo(35.2*s+x,38.1*s+y);ctx.lineTo(35.3*s+x,45.3*s+y);ctx.lineTo(35.4*s+x,53.6*s+y);ctx.bezierCurveTo(35.4*s+x,54.6*s+y,35.0*s+x,55.3*s+y,34.3*s+x,55.6*s+y);ctx.bezierCurveTo(33.5*s+x,55.9*s+y,32.6*s+x,55.7*s+y,31.5*s+x,55.1*s+y);ctx.bezierCurveTo(30.4*s+x,54.5*s+y,29.5*s+x,53.7*s+y,28.7*s+x,52.5*s+y);ctx.bezierCurveTo(27.9*s+x,51.4*s+y,27.6*s+x,50.4*s+y,27.5*s+x,49.4*s+y);ctx.lineTo(27.5*s+x,43.1*s+y);ctx.lineTo(19.9*s+x,39.0*s+y);ctx.lineTo(20.0*s+x,45.3*s+y);ctx.bezierCurveTo(20.0*s+x,46.3*s+y,19.6*s+x,46.9*s+y,18.8*s+x,47.2*s+y);ctx.bezierCurveTo(18.1*s+x,47.5*s+y,17.1*s+x,47.3*s+y,16.0*s+x,46.7*s+y);ctx.bezierCurveTo(14.9*s+x,46.1*s+y,14.0*s+x,45.3*s+y,13.3*s+x,44.2*s+y);ctx.bezierCurveTo(12.5*s+x,43.1*s+y,12.1*s+x,42.0*s+y,12.1*s+x,41.0*s+y);ctx.lineTo(12.0*s+x,32.7*s+y);ctx.lineTo(12.0*s+x,25.5*s+y);ctx.lineTo(11.9*s+x,21.2*s+y);ctx.lineTo(11.9*s+x,21.1*s+y);ctx.lineTo(11.9*s+x,21.0*s+y);ctx.bezierCurveTo(11.9*s+x,19.5*s+y,12.2*s+x,18.3*s+y,12.8*s+x,17.4*s+y);ctx.bezierCurveTo(13.4*s+x,16.4*s+y,14.2*s+x,15.8*s+y,15.3*s+x,15.4*s+y);ctx.bezierCurveTo(16.3*s+x,15.0*s+y,17.5*s+x,14.9*s+y,18.9*s+x,15.1*s+y);ctx.bezierCurveTo(20.3*s+x,15.3*s+y,21.8*s+x,15.8*s+y,23.4*s+x,16.7*s+y);ctx.bezierCurveTo(25.0*s+x,17.6*s+y,26.5*s+x,18.6*s+y,27.9*s+x,20.0*s+y);ctx.bezierCurveTo(29.3*s+x,21.3*s+y,30.5*s+x,22.7*s+y,31.6*s+x,24.2*s+y);ctx.bezierCurveTo(32.7*s+x,25.8*s+y,33.5*s+x,27.3*s+y,34.1*s+x,29.0*s+y);ctx.bezierCurveTo(34.8*s+x,30.6*s+y,35.1*s+x,32.1*s+y,35.1*s+x,33.6*s+y);ctx.closePath();ctx.moveTo(27.3*s+x,29.5*s+y);ctx.bezierCurveTo(27.3*s+x,28.6*s+y,26.9*s+x,27.5*s+y,26.2*s+x,26.4*s+y);ctx.bezierCurveTo(25.4*s+x,25.3*s+y,24.5*s+x,24.5*s+y,23.5*s+x,23.9*s+y);ctx.bezierCurveTo(22.4*s+x,23.4*s+y,21.5*s+x,23.2*s+y,20.8*s+x,23.5*s+y);ctx.bezierCurveTo(20.1*s+x,23.8*s+y,19.7*s+x,24.5*s+y,19.7*s+x,25.4*s+y);ctx.lineTo(19.8*s+x,31.8*s+y);ctx.lineTo(27.4*s+x,35.9*s+y);ctx.lineTo(27.3*s+x,29.5*s+y);ctx.closePath();gradient=ctx.createLinearGradient(31.6*s+x,27.2*s+y,16.3*s+x,45.0*s+y);gradient.addColorStop(0.00,"rgb(39, 169, 225)");gradient.addColorStop(1.00,"rgb(27, 117, 187)");ctx.fillStyle=gradient;ctx.fill();ctx.strokeStyle="rgb(0, 0, 0)";ctx.stroke();ctx.restore();ctx.save();ctx.beginPath();ctx.moveTo(41.5*s+x,28.9*s+y);ctx.bezierCurveTo(42.1*s+x,27.3*s+y,43.0*s+x,25.7*s+y,44.0*s+x,24.2*s+y);ctx.bezierCurveTo(45.1*s+x,22.6*s+y,46.3*s+x,21.2*s+y,47.7*s+x,19.9*s+y);ctx.bezierCurveTo(49.1*s+x,18.6*s+y,50.6*s+x,17.5*s+y,52.2*s+x,16.6*s+y);ctx.bezierCurveTo(53.8*s+x,15.8*s+y,55.3*s+x,15.2*s+y,56.7*s+x,15.0*s+y);ctx.bezierCurveTo(58.1*s+x,14.8*s+y,59.3*s+x,14.9*s+y,60.4*s+x,15.3*s+y);ctx.bezierCurveTo(61.4*s+x,15.7*s+y,62.2*s+x,16.4*s+y,62.8*s+x,17.3*s+y);ctx.bezierCurveTo(63.4*s+x,18.3*s+y,63.7*s+x,19.5*s+y,63.7*s+x,20.9*s+y);ctx.lineTo(63.7*s+x,21.0*s+y);ctx.lineTo(63.7*s+x,21.1*s+y);ctx.lineTo(63.7*s+x,25.4*s+y);ctx.lineTo(63.6*s+x,32.7*s+y);ctx.lineTo(63.5*s+x,40.9*s+y);ctx.bezierCurveTo(63.5*s+x,41.9*s+y,63.1*s+x,43.0*s+y,62.4*s+x,44.1*s+y);ctx.bezierCurveTo(61.6*s+x,45.2*s+y,60.7*s+x,46.0*s+y,59.6*s+x,46.6*s+y);ctx.bezierCurveTo(58.5*s+x,47.2*s+y,57.6*s+x,47.4*s+y,56.8*s+x,47.1*s+y);ctx.bezierCurveTo(56.0*s+x,46.8*s+y,55.7*s+x,46.2*s+y,55.7*s+x,45.2*s+y);ctx.lineTo(55.7*s+x,38.9*s+y);ctx.lineTo(48.1*s+x,43.1*s+y);ctx.lineTo(48.1*s+x,49.3*s+y);ctx.bezierCurveTo(48.1*s+x,50.3*s+y,47.7*s+x,51.4*s+y,46.9*s+x,52.5*s+y);ctx.bezierCurveTo(46.2*s+x,53.6*s+y,45.2*s+x,54.4*s+y,44.1*s+x,55.0*s+y);ctx.bezierCurveTo(43.0*s+x,55.6*s+y,42.1*s+x,55.8*s+y,41.4*s+x,55.5*s+y);ctx.bezierCurveTo(40.6*s+x,55.2*s+y,40.3*s+x,54.6*s+y,40.3*s+x,53.6*s+y);ctx.lineTo(40.3*s+x,45.3*s+y);ctx.lineTo(40.4*s+x,38.0*s+y);ctx.lineTo(40.5*s+x,33.7*s+y);ctx.lineTo(40.5*s+x,33.7*s+y);ctx.lineTo(40.5*s+x,33.5*s+y);ctx.bezierCurveTo(40.5*s+x,32.0*s+y,40.9*s+x,30.5*s+y,41.5*s+x,28.9*s+y);ctx.closePath();ctx.moveTo(48.2*s+x,35.8*s+y);ctx.lineTo(55.8*s+x,31.7*s+y);ctx.lineTo(55.9*s+x,25.3*s+y);ctx.bezierCurveTo(55.9*s+x,24.4*s+y,55.5*s+x,23.7*s+y,54.8*s+x,23.4*s+y);ctx.bezierCurveTo(54.1*s+x,23.1*s+y,53.2*s+x,23.3*s+y,52.2*s+x,23.9*s+y);ctx.bezierCurveTo(51.1*s+x,24.4*s+y,50.2*s+x,25.3*s+y,49.5*s+x,26.4*s+y);ctx.bezierCurveTo(48.7*s+x,27.5*s+y,48.3*s+x,28.5*s+y,48.3*s+x,29.5*s+y);ctx.lineTo(48.2*s+x,35.8*s+y);ctx.closePath();gradient=ctx.createLinearGradient(44.9*s+x,37.0*s+y,60.8*s+x,31.1*s+y);gradient.addColorStop(0.00,"rgb(214, 223, 35)");gradient.addColorStop(1.00,"rgb(140, 198, 62)");ctx.fillStyle=gradient;ctx.fill();ctx.strokeStyle="rgb(0, 0, 0)";ctx.stroke();ctx.restore();ctx.restore();ctx.restore();},_loadCallback:function(path,status){if(status){this._unloaded.erase(path);}
else{throw('Failed to load resource: '+path);}
this.status=1-(this._unloaded.length/this.resources.length);if(this._unloaded.length==0){setTimeout(this.end.bind(this),250);}}});});

// lib/impact/timer.js
ig.baked=true;ig.module('impact.timer').defines(function(){ig.Timer=ig.Class.extend({target:0,base:0,last:0,init:function(seconds){this.base=ig.Timer.time;this.last=ig.Timer.time;this.target=seconds||0;},set:function(seconds){this.target=seconds||0;this.base=ig.Timer.time;},reset:function(){this.base=ig.Timer.time;},tick:function(){var delta=ig.Timer.time-this.last;this.last=ig.Timer.time;return delta;},delta:function(){return ig.Timer.time-this.base-this.target;}});ig.Timer._last=0;ig.Timer.time=0;ig.Timer.timeScale=1;ig.Timer.maxStep=0.05;ig.Timer.step=function(){var current=Date.now();var delta=(current-ig.Timer._last)/1000;ig.Timer.time+=Math.min(delta,ig.Timer.maxStep)*ig.Timer.timeScale;ig.Timer._last=current;};});

// lib/impact/system.js
ig.baked=true;ig.module('impact.system').requires('impact.timer','impact.image').defines(function(){ig.System=ig.Class.extend({fps:30,width:704,height:704,realWidth:704,realHeight:704,scale:1,tick:0,intervalId:0,newGameClass:null,running:false,delegate:null,clock:null,canvas:null,context:null,smoothPositioning:true,init:function(canvasId,fps,width,height,scale){this.fps=fps;this.width=width;this.height=height;this.scale=scale;this.realWidth=width*scale;this.realHeight=height*scale;this.clock=new ig.Timer();this.canvas=ig.$(canvasId);this.canvas.width=this.realWidth;this.canvas.height=this.realHeight;this.context=this.canvas.getContext('2d');},setGame:function(gameClass){if(this.running){this.newGameClass=gameClass;}
else{this.setGameNow(gameClass);}},setGameNow:function(gameClass){ig.game=new(gameClass)();ig.system.setDelegate(ig.game);},setDelegate:function(object){if(typeof(object.run)=='function'){this.delegate=object;this.startRunLoop();}else{throw('System.setDelegate: No run() function in object');}},stopRunLoop:function(){clearInterval(this.intervalId);this.running=false;},startRunLoop:function(){this.stopRunLoop();this.intervalId=setInterval(this.run.bind(this),1000/this.fps);this.running=true;},clear:function(color){this.context.fillStyle=color;this.context.fillRect(0,0,this.realWidth,this.realHeight);},run:function(){ig.Timer.step();this.tick=this.clock.tick();this.delegate.run();ig.input.clearPressed();if(this.newGameClass){this.setGameNow(this.newGameClass);this.newGameClass=null;}},getDrawPos:function(p){return this.smoothPositioning?(p*this.scale).round():p.round()*this.scale;}});});

// lib/impact/input.js
ig.baked=true;ig.module('impact.input').defines(function(){ig.KEY={'MOUSE1':-1,'MOUSE2':-3,'MWHEEL_UP':-4,'MWHEEL_DOWN':-5,'BACKSPACE':8,'TAB':9,'ENTER':13,'PAUSE':19,'CAPS':20,'ESC':27,'SPACE':32,'PAGE_UP':33,'PAGE_DOWN':34,'END':35,'HOME':36,'LEFT_ARROW':37,'UP_ARROW':38,'RIGHT_ARROW':39,'DOWN_ARROW':40,'INSERT':45,'DELETE':46,'0':48,'1':49,'2':50,'3':51,'4':52,'5':53,'6':54,'7':55,'8':56,'9':57,'A':65,'B':66,'C':67,'D':68,'E':69,'F':70,'G':71,'H':72,'I':73,'J':74,'K':75,'L':76,'M':77,'N':78,'O':79,'P':80,'Q':81,'R':82,'S':83,'T':84,'U':85,'V':86,'W':87,'X':88,'Y':89,'Z':90,'NUMPAD_0':96,'NUMPAD_1':97,'NUMPAD_2':98,'NUMPAD_3':99,'NUMPAD_4':100,'NUMPAD_5':101,'NUMPAD_6':102,'NUMPAD_7':103,'NUMPAD_8':104,'NUMPAD_9':105,'MULTIPLY':106,'ADD':107,'SUBSTRACT':109,'DECIMAL':110,'DIVIDE':111,'F1':112,'F2':113,'F3':114,'F4':115,'F5':116,'F6':117,'F7':118,'F8':119,'F9':120,'F10':121,'F11':122,'F12':123,'SHIFT':16,'CTRL':17,'ALT':18,'PLUS':187,'COMMA':188,'MINUS':189,'PERIOD':190};ig.Input=ig.Class.extend({bindings:{},actions:{},locks:{},delayedKeyup:[],isUsingMouse:false,isUsingKeyboard:false,mouse:{x:0,y:0},initMouse:function(){if(this.isUsingMouse){return;}
this.isUsingMouse=true;window.addEventListener('mousewheel',this.mousewheel.bind(this),false);ig.system.canvas.addEventListener('contextmenu',this.contextmenu.bind(this),false);ig.system.canvas.addEventListener('mousedown',this.keydown.bind(this),false);ig.system.canvas.addEventListener('mouseup',this.keyup.bind(this),false);ig.system.canvas.addEventListener('mousemove',this.mousemove.bind(this),false);ig.system.canvas.addEventListener('touchstart',this.keydown.bind(this),false);ig.system.canvas.addEventListener('touchend',this.keyup.bind(this),false);ig.system.canvas.addEventListener('touchmove',this.mousemove.bind(this),false);},initKeyboard:function(){if(this.isUsingKeyboard){return;}
this.isUsingKeyboard=true;window.addEventListener('keydown',this.keydown.bind(this),false);window.addEventListener('keyup',this.keyup.bind(this),false);},mousewheel:function(event){var code=event.wheel>0?ig.KEY.MWHEEL_UP:ig.KEY.MWHEEL_DOWN;var action=this.bindings[code];if(action){this.actions[action]=true;event.stopPropagation();this.delayedKeyup.push(action);}},mousemove:function(event){var el=ig.system.canvas;var pos={left:0,top:0};while(el!=null){pos.left+=el.offsetLeft;pos.top+=el.offsetTop;el=el.offsetParent;}
var tx=event.pageX;var ty=event.pageY;if(event.touches){tx=event.touches[0].clientX;ty=event.touches[0].clientY;}
this.mouse.x=(tx-pos.left)/ig.system.scale;this.mouse.y=(ty-pos.top)/ig.system.scale;},contextmenu:function(event){if(this.bindings[ig.KEY.MOUSE2]){event.stopPropagation();event.preventDefault();}},keydown:function(event){if(event.target.type=='text'){return;}
var code=event.type=='keydown'?event.keyCode:(event.button==2?ig.KEY.MOUSE2:ig.KEY.MOUSE1);if(event.type=='touchstart'){this.mousemove(event);}
var action=this.bindings[code];if(action){this.actions[action]=true;event.stopPropagation();event.preventDefault();}},keyup:function(event){if(event.target.type=='text'){return;}
var code=event.type=='keyup'?event.keyCode:(event.button==2?ig.KEY.MOUSE2:ig.KEY.MOUSE1);var action=this.bindings[code];if(action){this.delayedKeyup.push(action);event.stopPropagation();event.preventDefault();}},bind:function(key,action){if(key<0){this.initMouse();}
else if(key>0){this.initKeyboard();}
this.bindings[key]=action;},bindTouch:function(selector,action){var element=ig.$(selector);var that=this;element.addEventListener('touchstart',function(ev){that.touchStart(ev,action);},false);element.addEventListener('touchend',function(ev){that.touchEnd(ev,action);},false);},unbind:function(key){this.bindings[key]=null;},unbindAll:function(){this.bindings=[];},state:function(action){return this.actions[action];},pressed:function(action){if(!this.locks[action]&&this.actions[action]){this.locks[action]=true;return true;}
else{return false;}},clearPressed:function(){for(var i=0;i<this.delayedKeyup.length;i++){var action=this.delayedKeyup[i];this.locks[action]=false;this.actions[action]=false;}
this.delayedKeyup=[];},touchStart:function(event,action){this.actions[action]=true;event.stopPropagation();event.preventDefault();return false;},touchEnd:function(event,action){this.delayedKeyup.push(action);event.stopPropagation();event.preventDefault();return false;}});});

// lib/impact/impact.js
ig.baked=true;ig.module('impact.impact').requires('dom.ready','impact.loader','impact.system','impact.input','impact.sound').defines(function(){ig.main=function(canvasId,gameClass,fps,width,height,scale,loaderClass){ig.system=new ig.System(canvasId,fps,width,height,scale||1);ig.input=new ig.Input();ig.soundManager=new ig.SoundManager();ig.music=new ig.Music();ig.ready=true;var loader=new(loaderClass||ig.Loader)(gameClass,ig.resources);loader.load();};});

// lib/impact/animation.js
ig.baked=true;ig.module('impact.animation').requires('impact.timer','impact.image').defines(function(){ig.AnimationSheet=ig.Class.extend({width:8,height:8,image:null,init:function(path,width,height){this.width=width;this.height=height;this.image=new ig.Image(path);}});ig.Animation=ig.Class.extend({sheet:null,timer:null,sequence:[],flip:{x:false,y:false},pivot:{x:0,y:0},frame:0,tile:0,loopCount:0,alpha:1,angle:0,init:function(sheet,frameTime,sequence,stop){this.sheet=sheet;this.pivot={x:sheet.width/2,y:sheet.height/2};this.timer=new ig.Timer();this.frameTime=frameTime;this.sequence=sequence;this.stop=!!stop;},rewind:function(){this.timer.reset();this.loopCount=0;this.tile=this.sequence[0];return this;},gotoFrame:function(f){this.timer.set(this.frameTime*-f);this.update();},gotoRandomFrame:function(){this.gotoFrame((Math.random()*this.sequence.length).floor())},update:function(){var frameTotal=(this.timer.delta()/this.frameTime).floor();this.loopCount=(frameTotal/this.sequence.length).floor();if(this.stop&&this.loopCount>0){this.frame=this.sequence.length-1;}
else{this.frame=frameTotal%this.sequence.length;}
this.tile=this.sequence[this.frame];},draw:function(targetX,targetY){var bbsize=Math.max(this.sheet.width,this.sheet.height);if(targetX>ig.system.width||targetY>ig.system.height||targetX+bbsize<0||targetY+bbsize<0){return;}
if(this.alpha!=1){ig.system.context.globalAlpha=this.alpha;}
if(this.angle==0){this.sheet.image.drawTile(targetX,targetY,this.tile,this.sheet.width,this.sheet.height,this.flip.x,this.flip.y);}
else{ig.system.context.save();ig.system.context.translate(ig.system.getDrawPos(targetX+this.pivot.x),ig.system.getDrawPos(targetY+this.pivot.y));ig.system.context.rotate(this.angle);this.sheet.image.drawTile(-this.pivot.x,-this.pivot.y,this.tile,this.sheet.width,this.sheet.height,this.flip.x,this.flip.y);ig.system.context.restore();}
if(this.alpha!=1){ig.system.context.globalAlpha=1;}}});});

// lib/impact/entity.js
ig.baked=true;ig.module('impact.entity').requires('impact.animation','impact.impact').defines(function(){ig.Entity=ig.Class.extend({id:0,settings:{},size:{x:16,y:16},offset:{x:0,y:0},pos:{x:0,y:0},last:{x:0,y:0},vel:{x:0,y:0},accel:{x:0,y:0},friction:{x:0,y:0},maxVel:{x:100,y:100},zIndex:0,gravityFactor:1,standing:false,bounciness:0,minBounceVelocity:40,anims:{},animSheet:null,currentAnim:null,health:10,type:0,checkAgainst:0,collides:0,_killed:false,init:function(x,y,settings){this.id=++ig.Entity._lastId;this.pos.x=x;this.pos.y=y;ig.merge(this,settings);},addAnim:function(name,frameTime,sequence,stop){if(!this.animSheet){throw('No animSheet to add the animation '+name+' to.');}
var a=new ig.Animation(this.animSheet,frameTime,sequence,stop);this.anims[name]=a;if(!this.currentAnim){this.currentAnim=a;}
return a;},update:function(){this.last.x=this.pos.x;this.last.y=this.pos.y;this.vel.y+=ig.game.gravity*ig.system.tick*this.gravityFactor;this.vel.x=this.getNewVelocity(this.vel.x,this.accel.x,this.friction.x,this.maxVel.x);this.vel.y=this.getNewVelocity(this.vel.y,this.accel.y,this.friction.y,this.maxVel.y);var mx=this.vel.x*ig.system.tick;var my=this.vel.y*ig.system.tick;var res=ig.game.collisionMap.trace(this.pos.x,this.pos.y,mx,my,this.size.x,this.size.y);this.handleMovementTrace(res);if(this.currentAnim){this.currentAnim.update();}},getNewVelocity:function(vel,accel,friction,max){if(accel){return(vel+accel*ig.system.tick).limit(-max,max);}
else if(friction){var delta=friction*ig.system.tick;if(vel-delta>0){return vel-delta;}
else if(vel+delta<0){return vel+delta;}
else{return 0;}}
return vel.limit(-max,max);},handleMovementTrace:function(res){this.standing=false;if(res.collision.y){if(this.bounciness>0&&Math.abs(this.vel.y)>this.minBounceVelocity){this.vel.y*=-this.bounciness;}
else{if(this.vel.y>0){this.standing=true;}
this.vel.y=0;}}
if(res.collision.x){if(this.bounciness>0&&Math.abs(this.vel.x)>this.minBounceVelocity){this.vel.x*=-this.bounciness;}
else{this.vel.x=0;}}
this.pos=res.pos;},draw:function(){if(this.currentAnim){this.currentAnim.draw(this.pos.x.round()-this.offset.x-ig.game.screen.x,this.pos.y.round()-this.offset.y-ig.game.screen.y);}},kill:function(){ig.game.removeEntity(this);},receiveDamage:function(amount,from){this.health-=amount;if(this.health<=0){this.kill();}},touches:function(other){return!(this.pos.x>other.pos.x+other.size.x||this.pos.x+this.size.x<other.pos.x||this.pos.y>other.pos.y+other.size.y||this.pos.y+this.size.y<other.pos.y);},distanceTo:function(other){var xd=(this.pos.x+this.size.x/2)-(other.pos.x+other.size.x/2);var yd=(this.pos.y+this.size.y/2)-(other.pos.y+other.size.y/2);return Math.sqrt(xd*xd+yd*yd);},angleTo:function(other){return Math.atan2((other.pos.y+other.size.y/2)-(this.pos.y+this.size.y/2),(other.pos.x+other.size.x/2)-(this.pos.x+this.size.x/2));},check:function(other){},collideWith:function(other,axis){}});ig.Entity._lastId=0;ig.Entity.COLLIDES={NEVER:0,LITE:1,PASSIVE:2,ACTIVE:4,FIXED:8};ig.Entity.TYPE={NONE:0,A:1,B:2,BOTH:3};ig.Entity.checkPair=function(a,b){if(a.checkAgainst&b.type){a.check(b);}
if(b.checkAgainst&a.type){b.check(a);}
if(a.collides&&b.collides&&a.collides+b.collides>ig.Entity.COLLIDES.ACTIVE){ig.Entity.solveCollision(a,b);}};ig.Entity.solveCollision=function(a,b){var weak=null;if(a.collides==ig.Entity.COLLIDES.LITE||b.collides==ig.Entity.COLLIDES.FIXED){weak=a;}
else if(b.collides==ig.Entity.COLLIDES.LITE||a.collides==ig.Entity.COLLIDES.FIXED){weak=b;}
if(a.last.x+a.size.x>b.last.x&&a.last.x<b.last.x+b.size.x){if(a.last.y<b.last.y){ig.Entity.seperateOnYAxis(a,b,weak);}
else{ig.Entity.seperateOnYAxis(b,a,weak);}
a.collideWith(b,'y');b.collideWith(a,'y');}
else if(a.last.y+a.size.y>b.last.y&&a.last.y<b.last.y+b.size.y){if(a.last.x<b.last.x){ig.Entity.seperateOnXAxis(a,b,weak);}
else{ig.Entity.seperateOnXAxis(b,a,weak);}
a.collideWith(b,'x');b.collideWith(a,'x');}};ig.Entity.seperateOnXAxis=function(left,right,weak){var nudge=(left.pos.x+left.size.x-right.pos.x);if(weak){var strong=left===weak?right:left;weak.vel.x=-weak.vel.x*weak.bounciness+strong.vel.x;var resWeak=ig.game.collisionMap.trace(weak.pos.x,weak.pos.y,weak==left?-nudge:nudge,0,weak.size.x,weak.size.y);weak.pos.x=resWeak.pos.x;}
else{var v2=(left.vel.x-right.vel.x)/2;left.vel.x=-v2;right.vel.x=v2;var resLeft=ig.game.collisionMap.trace(left.pos.x,left.pos.y,-nudge/2,0,left.size.x,left.size.y);left.pos.x=resLeft.pos.x.floor();var resRight=ig.game.collisionMap.trace(right.pos.x,right.pos.y,nudge/2,0,right.size.x,right.size.y);right.pos.x=resRight.pos.x.ceil();}};ig.Entity.seperateOnYAxis=function(top,bottom,weak){var nudge=(top.pos.y+top.size.y-bottom.pos.y);if(weak){var strong=top===weak?bottom:top;weak.vel.y=-weak.vel.y*weak.bounciness+strong.vel.y;var nudgeX=0;if(weak==top&&Math.abs(weak.vel.y-strong.vel.y)<weak.minBounceVelocity){weak.standing=true;nudgeX=strong.vel.x*ig.system.tick;}
var resWeak=ig.game.collisionMap.trace(weak.pos.x,weak.pos.y,nudgeX,weak==top?-nudge:nudge,weak.size.x,weak.size.y);weak.pos.y=resWeak.pos.y;weak.pos.x=resWeak.pos.x;}
else if(ig.game.gravity&&(bottom.standing||top.vel.y>0)){var resTop=ig.game.collisionMap.trace(top.pos.x,top.pos.y,0,-(top.pos.y+top.size.y-bottom.pos.y),top.size.x,top.size.y);top.pos.y=resTop.pos.y;if(top.bounciness>0&&top.vel.y>top.minBounceVelocity){top.vel.y*=-top.bounciness;}
else{top.standing=true;top.vel.y=0;}}
else{var v2=(top.vel.y-bottom.vel.y)/2;top.vel.y=-v2;bottom.vel.y=v2;var nudgeX=bottom.vel.x*ig.system.tick;var resTop=ig.game.collisionMap.trace(top.pos.x,top.pos.y,nudgeX,-nudge/2,top.size.x,top.size.y);top.pos.y=resTop.pos.y;var resBottom=ig.game.collisionMap.trace(bottom.pos.x,bottom.pos.y,0,nudge/2,bottom.size.x,bottom.size.y);bottom.pos.y=resBottom.pos.y;}};});

// lib/impact/map.js
ig.baked=true;ig.module('impact.map').defines(function(){ig.Map=ig.Class.extend({tilesize:8,width:1,height:1,data:[[]],init:function(tilesize,data){this.tilesize=tilesize;this.data=data;this.height=data.length;this.width=data[0].length;},getTile:function(x,y){var tx=(x/this.tilesize).floor();var ty=(y/this.tilesize).floor();if((tx>=0&&tx<this.width)&&(ty>=0&&ty<this.height)){return this.data[ty][tx];}
else{return 0;}},setTile:function(x,y,tile){var tx=(x/this.tilesize).floor();var ty=(y/this.tilesize).floor();if((tx>=0&&tx<this.width)&&(ty>=0&&ty<this.height)){this.data[ty][tx]=tile;}}});});

// lib/impact/collision-map.js
ig.baked=true;ig.module('impact.collision-map').requires('impact.map').defines(function(){ig.CollisionMap=ig.Map.extend({firstSolidTile:1,lastSolidTile:255,init:function(tilesize,data){this.parent(tilesize,data);},trace:function(x,y,vx,vy,objectWidth,objectHeight){var res={collision:{x:false,y:false},pos:{x:x,y:y},tile:{x:0,y:0}};var steps=(Math.max(Math.abs(vx),Math.abs(vy))/this.tilesize).ceil();if(steps>1){var sx=vx/steps;var sy=vy/steps;for(var i=0;i<steps&&(sx||sy);i++){this._traceStep(res,x,y,sx,sy,objectWidth,objectHeight);x=res.pos.x;y=res.pos.y;if(res.collision.x){sx=0;}
if(res.collision.y){sy=0;}}}
else{this._traceStep(res,x,y,vx,vy,objectWidth,objectHeight);}
return res;},_traceStep:function(res,x,y,vx,vy,width,height){res.pos.x+=vx;res.pos.y+=vy;if(vx){var pxOffsetX=(vx>0?width:0);var tileOffsetX=(vx<0?this.tilesize:0);var firstTileY=(y/this.tilesize).floor();var lastTileY=((y+height)/this.tilesize).ceil();var tileX=((x+vx+pxOffsetX)/this.tilesize).floor();if(lastTileY>=0&&firstTileY<this.height&&tileX>=0&&tileX<this.width){for(var tileY=firstTileY;tileY<lastTileY;tileY++){var t=this.data[tileY]&&this.data[tileY][tileX];if(t>=this.firstSolidTile&&t<=this.lastSolidTile){res.collision.x=true;res.tile.x=t;res.pos.x=tileX*this.tilesize-pxOffsetX+tileOffsetX;break;}}}}
if(vy){var pxOffsetY=(vy>0?height:0);var tileOffsetY=(vy<0?this.tilesize:0);var firstTileX=(res.pos.x/this.tilesize).floor();var lastTileX=((res.pos.x+width)/this.tilesize).ceil();var tileY=((y+vy+pxOffsetY)/this.tilesize).floor();if(lastTileX>=0&&firstTileX<this.width&&tileY>=0&&tileY<this.height){for(var tileX=firstTileX;tileX<lastTileX;tileX++){var t=this.data[tileY]&&this.data[tileY][tileX];if(t>=this.firstSolidTile&&t<=this.lastSolidTile){res.collision.y=true;res.tile.y=t;res.pos.y=tileY*this.tilesize-pxOffsetY+tileOffsetY;break;}}}}}});ig.CollisionMap.staticNoCollision={trace:function(x,y,vx,vy){return{collision:{x:false,y:false},pos:{x:x+vx,y:y+vy},tile:{x:0,y:0}};}};});

// lib/impact/background-map.js
ig.baked=true;ig.module('impact.background-map').requires('impact.map','impact.image').defines(function(){ig.BackgroundMap=ig.Map.extend({tiles:null,scroll:{x:0,y:0},distance:1,repeat:false,tilesetName:'',preRender:false,preRenderedChunks:null,chunkSize:512,debugChunks:false,anims:{},init:function(tilesize,data,tileset){this.parent(tilesize,data);this.setTileset(tileset);},setTileset:function(tileset){this.tilesetName=tileset instanceof ig.Image?tileset.path:tileset;this.tiles=new ig.Image(this.tilesetName);this.preRenderedChunks=null;},setScreenPos:function(x,y){this.scroll.x=x/this.distance;this.scroll.y=y/this.distance;},preRenderMapToChunks:function(){var totalWidth=this.width*this.tilesize*ig.system.scale,totalHeight=this.height*this.tilesize*ig.system.scale;var chunkCols=(totalWidth/this.chunkSize).ceil(),chunkRows=(totalHeight/this.chunkSize).ceil();this.preRenderedChunks=[];for(var y=0;y<chunkRows;y++){this.preRenderedChunks[y]=[];for(var x=0;x<chunkCols;x++){var chunkWidth=(x==chunkCols-1)?totalWidth-x*this.chunkSize:this.chunkSize;var chunkHeight=(y==chunkRows-1)?totalHeight-y*this.chunkSize:this.chunkSize;this.preRenderedChunks[y][x]=this.preRenderChunk(x,y,chunkWidth,chunkHeight);}}},preRenderChunk:function(cx,cy,w,h){var tw=w/this.tilesize/ig.system.scale+1;th=h/this.tilesize/ig.system.scale+1;var nx=(cx*this.chunkSize/ig.system.scale)%this.tilesize,ny=(cy*this.chunkSize/ig.system.scale)%this.tilesize;var tx=(cx*this.chunkSize/this.tilesize/ig.system.scale).floor(),ty=(cy*this.chunkSize/this.tilesize/ig.system.scale).floor();var chunk=ig.$new('canvas');chunk.width=w;chunk.height=h;var oldContext=ig.system.context;ig.system.context=chunk.getContext("2d");for(var x=0;x<tw;x++){for(var y=0;y<th;y++){if(x+tx<this.width&&y+ty<this.height){var tile=this.data[y+ty][x+tx];if(tile){this.tiles.drawTile(x*this.tilesize-nx,y*this.tilesize-ny,tile-1,this.tilesize);}}}}
ig.system.context=oldContext;return chunk;},draw:function(){if(!this.tiles.loaded){return;}
if(this.preRender){this.drawPreRendered();}
else{this.drawTiled();}},drawPreRendered:function(){if(!this.preRenderedChunks){this.preRenderMapToChunks();}
var dx=ig.system.getDrawPos(this.scroll.x),dy=ig.system.getDrawPos(this.scroll.y);if(this.repeat){dx%=this.width*this.tilesize*ig.system.scale;dy%=this.height*this.tilesize*ig.system.scale;}
var minChunkX=Math.max((dx/this.chunkSize).floor(),0),minChunkY=Math.max((dy/this.chunkSize).floor(),0),maxChunkX=((dx+ig.system.realWidth)/this.chunkSize).ceil(),maxChunkY=((dy+ig.system.realHeight)/this.chunkSize).ceil(),maxRealChunkX=this.preRenderedChunks[0].length,maxRealChunkY=this.preRenderedChunks.length;if(!this.repeat){maxChunkX=Math.min(maxChunkX,maxRealChunkX);maxChunkY=Math.min(maxChunkY,maxRealChunkY);}
var nudgeY=0;for(var cy=minChunkY;cy<maxChunkY;cy++){var nudgeX=0;for(var cx=minChunkX;cx<maxChunkX;cx++){var chunk=this.preRenderedChunks[cy%maxRealChunkY][cx%maxRealChunkX];var x=-dx+cx*this.chunkSize-nudgeX;var y=-dy+cy*this.chunkSize-nudgeY;ig.system.context.drawImage(chunk,x,y);if(this.debugChunks){ig.system.context.strokeStyle='#f0f';ig.system.context.strokeRect(x,y,this.chunkSize,this.chunkSize);}
if(this.repeat&&chunk.width<this.chunkSize&&x+chunk.width<ig.system.realWidth){nudgeX=this.chunkSize-chunk.width;maxChunkX++;}}
if(this.repeat&&chunk.height<this.chunkSize&&y+chunk.height<ig.system.realHeight){nudgeY=this.chunkSize-chunk.height;maxChunkY++;}}},drawTiled:function(){var tile=0,anim=null,tileOffsetX=(this.scroll.x/this.tilesize).toInt(),tileOffsetY=(this.scroll.y/this.tilesize).toInt(),pxOffsetX=this.scroll.x%this.tilesize,pxOffsetY=this.scroll.y%this.tilesize,pxMinX=-pxOffsetX-this.tilesize,pxMinY=-pxOffsetY-this.tilesize,pxMaxX=ig.system.width+this.tilesize-pxOffsetX,pxMaxY=ig.system.height+this.tilesize-pxOffsetY;for(var mapY=-1,pxY=pxMinY;pxY<pxMaxY;mapY++,pxY+=this.tilesize){var tileY=mapY+tileOffsetY;if(tileY>=this.height||tileY<0){if(!this.repeat){continue;}
tileY=tileY>0?tileY%this.height:((tileY+1)%this.height)+this.height-1;}
for(var mapX=-1,pxX=pxMinX;pxX<pxMaxX;mapX++,pxX+=this.tilesize){var tileX=mapX+tileOffsetX;if(tileX>=this.width||tileX<0){if(!this.repeat){continue;}
tileX=tileX>0?tileX%this.width:((tileX+1)%this.width)+this.width-1;}
if((tile=this.data[tileY][tileX])){if((anim=this.anims[tile-1])){anim.draw(pxX,pxY);}
else{this.tiles.drawTile(pxX,pxY,tile-1,this.tilesize);}}}}}});});

// lib/impact/game.js
ig.baked=true;ig.module('impact.game').requires('impact.impact','impact.entity','impact.collision-map','impact.background-map').defines(function(){ig.Game=ig.Class.extend({clearColor:'#000000',gravity:0,screen:{x:0,y:0},entities:[],namedEntities:{},collisionMap:ig.CollisionMap.staticNoCollision,backgroundMaps:[],backgroundAnims:{},cellSize:64,_deferredKill:[],_levelToLoad:null,loadLevel:function(data){this.screen={x:0,y:0};this.entities=[];this.namedEntities={};for(var i=0;i<data.entities.length;i++){var ent=data.entities[i];this.spawnEntity(ent.type,ent.x,ent.y,ent.settings);}
this.sortEntities();this.collisionMap=null;this.backgroundMaps=[];for(var i=0;i<data.layer.length;i++){var ld=data.layer[i];if(ld.name=='collision'){this.collisionMap=new ig.CollisionMap(ld.tilesize,ld.data);}
else{var newMap=new ig.BackgroundMap(ld.tilesize,ld.data,ld.tilesetName);newMap.anims=this.backgroundAnims[ld.tilesetName]||{};newMap.repeat=ld.repeat;newMap.distance=ld.distance;this.backgroundMaps.push(newMap);}}},loadLevelDeferred:function(data){this._levelToLoad=data;},getEntityByName:function(name){return this.namedEntities[name];},getEntitiesByType:function(type){var entityClass=typeof(type)==='string'?ig.global[type]:type;var a=[];for(var i=0;i<this.entities.length;i++){var ent=this.entities[i];if(ent instanceof entityClass&&!ent._killed){a.push(ent);}}
return a;},spawnEntity:function(type,x,y,settings){var entityClass=typeof(type)==='string'?ig.global[type]:type;if(!entityClass){throw("Can't spawn entity of type "+type);}
var ent=new(entityClass)(x,y,settings||{});this.entities.push(ent);if(ent.name){this.namedEntities[ent.name]=ent;}
return ent;},sortEntities:function(){this.entities.sort(function(a,b){return a.zIndex-b.zIndex;});},removeEntity:function(ent){if(ent.name){delete this.namedEntities[ent.name];}
ent._killed=true;ent.checkAgainst=ig.Entity.TYPE.NONE;ent.collides=ig.Entity.COLLIDES.NEVER;this._deferredKill.push(ent);},run:function(){this.update();this.draw();},update:function(){if(this._levelToLoad){this.loadLevel(this._levelToLoad);this._levelToLoad=null;}
for(var i=0;i<this.entities.length;i++){var ent=this.entities[i];if(!ent._killed){ent.update();}}
this.checkEntities();for(var i=0;i<this._deferredKill.length;i++){this.entities.erase(this._deferredKill[i]);}
this._deferredKill=[];for(var tileset in this.backgroundAnims){var anims=this.backgroundAnims[tileset];for(var a in anims){anims[a].update();}}
for(var i=0;i<this.backgroundMaps.length;i++){this.backgroundMaps[i].setScreenPos(this.screen.x,this.screen.y);}},draw:function(){ig.system.clear(this.clearColor);for(var i=0;i<this.backgroundMaps.length;i++){this.backgroundMaps[i].draw();}
for(var i=0;i<this.entities.length;i++){this.entities[i].draw();}},checkEntities:function(){var hash={};for(var e=0;e<this.entities.length;e++){var entity=this.entities[e];if(e.type==ig.Entity.TYPE.NONE&&e.checkAgainst==ig.Entity.TYPE.NONE&&e.collides==ig.Entity.COLLIDES.NEVER){continue;}
var checked={},xmin=(entity.pos.x/this.cellSize).floor(),ymin=(entity.pos.y/this.cellSize).floor(),xmax=((entity.pos.x+entity.size.x)/this.cellSize).floor()+1,ymax=((entity.pos.y+entity.size.y)/this.cellSize).floor()+1;for(var x=xmin;x<xmax;x++){for(var y=ymin;y<ymax;y++){if(!hash[x]){hash[x]={};hash[x][y]=[entity];}
else if(!hash[x][y]){hash[x][y]=[entity];}
else{var cell=hash[x][y];for(var c=0;c<cell.length;c++){if(entity.touches(cell[c])&&!checked[cell[c].id]){checked[cell[c].id]=true;ig.Entity.checkPair(entity,cell[c]);}}
cell.push(entity);}}}}}});});

// lib/game/entities/player.js
ig.baked=true;ig.module('game.entities.player').requires('impact.entity').defines(function(){EntityPlayer=ig.Entity.extend({size:{x:30,y:64},offset:{x:19,y:5},maxVel:{x:300,y:1000},friction:{x:300,y:0},type:ig.Entity.TYPE.A,checkAgainst:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.PASSIVE,animSheet:new ig.AnimationSheet('media/player.png',68,69),flip:false,accelGround:600,accelAir:300,jump:500,bounciness:0,health:240,inithealth:240,flip:false,hurttimer:null,hurtspacing:.1,Playerloopcount:new ig.Timer(),Playerattacktimer:new ig.Timer(),zIndex:1,landtimer:new ig.Timer(.2),falling:false,jetpackenable:new ig.Timer(2),freezetimer:new ig.Timer(2),weaponenable:new ig.Timer(2),infiniteammo:new ig.Timer(0),healing:new ig.Timer(0),name:'player',toggle:false,init:function(x,y,settings){this.parent(x,y,settings);this.zIndex=1;this.addAnim('idle',1,[0]);this.addAnim('run',0.1,[1,2,3,4]);this.addAnim('jump',.1,[6,7,8]);this.addAnim('fall1',0.2,[10]);this.addAnim('fall2',0.2,[9]);this.addAnim('attack',.3,[5],[1]);this.addAnim('init',.2,[14,15,16],[1]);this.addAnim('land',.2,[11]);this.addAnim('taunt',.2,[18,19]);this.vel.x=0;this.vel.y=0;this.hurttimer=new ig.Timer(this.hurtspacing);playersaveposx=this.pos.x;playersaveposy=this.pos.y;this.Playerloopcount=new ig.Timer(.4);this.Playerattacktimer=new ig.Timer(.15);this.jetpackenable.set(0);this.freezetimer.set(0);ig.game.jetpackfuel=240;this.weaponenable.set(0);this.infiniteammo.set(0);this.healing.set(0);ig.game.playerkills=0;ig.game.playerstreak1=false;ig.game.playerstreak2=false;ig.game.playerstreak3=false;},update:function(){if(this.Playerloopcount.delta()<0){this.vel.x=0;this.currentAnim=this.anims.init;this.parent();}else{if(this.jetpackenable.delta()<0){var random=(Math.floor(Math.random()*60));if(random<=5){ig.game.spawnEntity(EntityShockEffect,(this.flip?this.pos.x-this.offset.x-65:this.pos.x+(this.size.x)/2-100),this.pos.y-75,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});if(!ig.game.godmode){this.health-=3;if(this.health<=0){this.kill();}}}}
var accel=this.standing?this.accelGround:this.accelAir;if(ig.input.state('left')){this.accel.x=-accel;this.flip=true;}
else if(ig.input.state('right')){this.accel.x=accel;this.flip=false;}
else{this.accel.x=0;}
if(ig.input.state('jump')){if(ig.game.jetpackfuel>0){this.vel.y=-this.jump;ig.game.jetpackfuel-=4;if(ig.game.fxquality!="low"){ig.game.spawnEntity(EntityJetpackFlare,(this.flip?this.pos.x+this.offset.x-1:this.pos.x-3),this.pos.y+43,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}}}
if(this.standing&&this.landtimer.delta()<0){this.currentAnim=this.anims.land;this.currentAnim.flip.x=this.flip;}
else if(ig.input.state('shoot1')||ig.input.state('shoot2')){this.currentAnim=this.anims.attack;}
else if(this.vel.y<0&&!this.standing){this.currentAnim=this.anims.jump;}
else if(this.vel.y>0&&this.vel.y<100&&!this.standing){this.falling=true;this.currentAnim=this.anims.fall1;}
else if(this.vel.y>100&&!this.standing){this.currentAnim=this.anims.fall2;}
else if(Math.abs(this.vel.x)>70){if(this.standing&&this.jetpackenable.delta()>0){ig.game.jetpackfuel=240;}
this.currentAnim=this.anims.run;}
else{this.currentAnim=this.anims.idle;if(this.standing&&this.jetpackenable.delta()>0){ig.game.jetpackfuel=240;}}
if(this.standing&&this.falling==true){this.landtimer.reset();this.falling=false;}
if(ig.game.botkilledtimer.delta()<0&&ig.input.state('duck')&&this.vel.x==0&&this.standing){if(this.health<this.inithealth){this.health++;ig.game.spawnEntity(EntityHealEffect,(this.flip?this.pos.x-this.offset.x-65:this.pos.x+(this.size.x)/2-100),this.pos.y-75,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}
this.currentAnim=this.anims.taunt;}
this.currentAnim.flip.x=this.flip;if(ig.input.pressed('shoot1')){if(this.Playerloopcount.delta()>=0){if(this.Playerattacktimer.delta()>=0){if(this.weaponenable.delta()>0){this.Playerattacktimer.reset();this.currentAnim=this.anims.attack;this.currentAnim.flip.x=this.flip;if(ig.game.fxquality!="low"){ig.game.spawnEntity(EntityGunFlare,(this.flip?this.pos.x-this.offset.x-24:this.pos.x+this.size.x+this.offset.x),this.pos.y+25,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}
ig.game.spawnEntity(EntityWeaponDefault,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'player'});if(ig.Sound.enabled){ig.game.gunshot.play();}}}}}
if(ig.input.pressed('shoot2')){if(this.Playerloopcount.delta()>=0){if(this.Playerattacktimer.delta()>=0){if(this.weaponenable.delta()>0){this.Playerattacktimer.reset();this.currentAnim=this.anims.attack;this.currentAnim.flip.x=this.flip;if(ig.game.fxquality!="low"){ig.game.spawnEntity(EntityGunFlare,(this.flip?this.pos.x-this.offset.x-24:this.pos.x+this.size.x+this.offset.x),this.pos.y+25,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}
switch(ig.game.currentweapon){case 0:ig.game.spawnEntity(EntityWeaponDefault,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'player'});break;case 1:ig.game.spawnEntity(EntityWeaponBounceBeam,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'player'});break;case 2:ig.game.spawnEntity(EntityWeaponGrenade,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,vely:-100,owner:'player'});break;case 3:ig.game.spawnEntity(EntityWeaponDefault,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'player'});ig.game.spawnEntity(EntityWeaponSplitUp,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'player'});ig.game.spawnEntity(EntityWeaponSplitDown,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'player'});break;case 4:ig.game.spawnEntity(EntityWeaponBounceBeam,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'player'});ig.game.spawnEntity(EntityWeaponSplitBounceUp,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'player'});ig.game.spawnEntity(EntityWeaponSplitBounceDown,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'player'});break;case 5:ig.game.spawnEntity(EntityWeaponThruBeam,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'player'});break;case 6:ig.game.spawnEntity(EntityWeaponShocker,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'player'});break;case 7:ig.game.spawnEntity(EntityWeaponFreeze,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'player'});break;case 8:ig.game.spawnEntity(EntityWeaponMine,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x,vely:-100,owner:'player'});break;case 9:ig.game.spawnEntity(EntityWeaponVampire,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'player'});break;case 10:ig.game.spawnEntity(EntityWeaponNuke,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'player'});break;case 11:ig.game.spawnEntity(EntityWeaponHeatseeker,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'player'});break;case 12:ig.game.spawnEntity(EntityWeaponJammer,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'player'});break;case 13:ig.game.spawnEntity(EntityWeaponBounceMine,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'player'});break;case 14:ig.game.spawnEntity(EntityWeaponSplitBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,velx:this.vel.x,vely:0,owner:'player'});break;case 15:ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+200,vely:-800,owner:'player'});ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+400,vely:-600,owner:'player'});ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+600,vely:-400,owner:'player'});ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+800,vely:-200,owner:'player'});break;case 16:ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-600,owner:'player'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-400,owner:'player'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-200,owner:'player'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-0,owner:'player'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:200,owner:'player'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:400,owner:'player'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:600,owner:'player'});break;}
if(this.infiniteammo.delta()>=0){if(ig.game.currentweapon>0){if(!ig.game.unlimitedammo){ig.game.ammo=ig.game.ammo-10;if(ig.game.ammo<=0){ig.game.currentweapon=0;}}}}
if(ig.Sound.enabled){ig.game.gunshot.play();}}}}}}
if(this.healing.delta()<0){ig.game.spawnEntity(EntityHealEffect,(this.flip?this.pos.x-this.offset.x-65:this.pos.x+(this.size.x)/2-100),this.pos.y-75,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});if(this.health<this.inithealth){this.health++;}}
if(this.freezetimer.delta()<0){this.toggle=!this.toggle;ig.game.jetpackfuel=0;this.vel.x=0;this.vel.y=0;this.accel.x=0;this.accel.y=0;this.gravityFactor=0;if(!ig.game.godmode){if(this.toggle){this.health-=1;if(this.health<=0){this.kill();}}}}else{this.gravityFactor=1;}
this.parent();},kill:function(){ig.game.playerkills=0;if(!ig.game.levelcomplete){if(ig.Sound.enabled){ig.game.playerdie.play();}}
ig.game.botscore++;var playerdeath=ig.game.getEntitiesByType(EntityPlayerdeath)[0];if(!playerdeath){ig.game.spawnEntity(EntityPlayerdeath,this.pos.x,this.pos.y,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});ig.game.removeEntity(this);}},receiveDamage:function(amount,from,x,y){if(this.Playerloopcount.delta()<0){from.kill();}
else{if(!ig.game.levelcomplete){if(this.hurttimer.delta()>0){this.hurttimer.reset();if(!ig.game.godmode){this.health-=amount;}
if(this.health<=0){this.kill();}else{var count=ig.ua.mobile?1:1;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Grey,x,y,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_Grey,x,y,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,x,y,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,x,y,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});}
count=ig.ua.mobile?0:0;for(i=0;i<=count;i++){ig.game.spawnEntity(EntityPlayerDebris,x,y,{flip:this.flip,velx:-Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(EntityPlayerDebris,x,y,{flip:this.flip,velx:Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});}}}}}},collideWith:function(other,axis){if(other.collides==ig.Entity.COLLIDES.FIXED&&this.touches(other)){var overlap;var size;if(axis=='y'){size=this.size.y;if(this.pos.y<other.pos.y)overlap=this.pos.y+this.size.y-other.pos.y;else overlap=this.pos.y-(other.pos.y+other.size.y);}else{size=this.size.x;if(this.pos.x<other.pos.x)overlap=this.pos.x+this.size.x-other.pos.x;else overlap=this.pos.x-(other.pos.x+other.size.x);}
overlap=Math.abs(overlap);if(overlap>1){this.kill();}}}});EntityPlayerdeath=ig.Entity.extend({size:{x:30,y:51},offset:{x:19,y:0},maxVel:{x:500,y:500},bounciness:0,lifetime:3,fadetime:1,type:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.PASSIVE,animSheet:new ig.AnimationSheet('media/player.png',68,69),init:function(x,y,settings){this.parent(x,y,settings);this.zIndex=5;this.vel.x=settings.velx/10;this.vel.y=-(Math.random()*Math.abs(this.maxVel.x/2));ig.game.spawnEntity(EntityPlayerHead,this.pos.x,this.pos.y,{flip:this.flip,velx:-settings.velx});ig.game.spawnEntity(EntityPlayerWheel,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});ig.game.spawnEntity(EntityPlayerJetpack,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});ig.game.spawnEntity(EntityPlayerArm,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});ig.game.spawnEntity(EntityPlayerJaw,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});var count=ig.ua.mobile?2:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Grey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_Grey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});}
for(i=0;i<=count;i++){ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:-Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});}
ig.game.currentweapon=0;ig.game.ammo=0;this.addAnim('die',.3,[12,13]);this.currentAnim=this.anims.die;this.idleTimer=new ig.Timer();},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.vel.x=this.vel.x*.9;this.vel.y=this.vel.y*.9;}},update:function(){this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);if(this.idleTimer.delta()>this.lifetime){this.kill();return;}
this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);this.parent();}});EntityPlayerHead=ig.Entity.extend({size:{x:29,y:24},offset:{x:5,y:5},maxVel:{x:500,y:500},bounciness:0.6,lifetime:3,fadetime:1,type:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.PASSIVE,animSheet:new ig.AnimationSheet('media/player-head.png',39,34),bounceCounter:0,init:function(x,y,settings){this.parent(x,y,settings);this.zIndex=5;this.vel.x=settings.velx/10;this.vel.y=-(Math.random()*Math.abs(this.maxVel.x/2));this.addAnim('idle',0.2,[0]);this.currentAnim.flip.x=settings.flip;this.idleTimer=new ig.Timer();},update:function(){this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);if(this.idleTimer.delta()>this.lifetime){this.kill();}
this.parent();},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.vel.x=this.vel.x*.9;this.vel.y=this.vel.y*.9;}}});EntityPlayerWheel=ig.Entity.extend({size:{x:18,y:18},offset:{x:5,y:5},maxVel:{x:500,y:500},bounciness:0.6,lifetime:3,fadetime:1,type:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.PASSIVE,animSheet:new ig.AnimationSheet('media/player-wheel.png',28,28),bounceCounter:0,init:function(x,y,settings){this.parent(x,y,settings);this.zIndex=5;this.vel.x=settings.velx+(settings.flip?(Math.random()*Math.abs(this.maxVel.x/10)):-(Math.random()*Math.abs(this.maxVel.x/10)));this.vel.y=-(Math.random()*Math.abs(this.maxVel.x/2));this.addAnim('idle',0.2,[0]);this.addAnim('move',0.2,[0,1]);this.currentAnim=this.anims.move;this.idleTimer=new ig.Timer();},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.vel.x=this.vel.x*.95;this.vel.y=this.vel.y*1;}},update:function(){if(Math.abs(this.vel.x)<5){this.currentAnim=this.anims.idle;}
this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);if(this.idleTimer.delta()>this.lifetime){this.kill();return;}
this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);this.parent();}});EntityPlayerArm=ig.Entity.extend({size:{x:30,y:18},offset:{x:8,y:5},maxVel:{x:400,y:400},bounciness:0.6,lifetime:3,fadetime:1,type:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.PASSIVE,animSheet:new ig.AnimationSheet('media/player-arm.png',46,28),bounceCounter:0,init:function(x,y,settings){this.parent(x,y,settings);this.zIndex=5;this.vel.x=(settings.flip?-(Math.random()*Math.abs(settings.velx/2)):(Math.random()*Math.abs(settings.velx/2)));this.vel.y=-(Math.random()*Math.abs(this.maxVel.x/2));this.addAnim('idle',0.2,[0]);this.currentAnim=this.anims.idle;this.currentAnim.flip.x=settings.flip;this.idleTimer=new ig.Timer();},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.vel.x=this.vel.x*.95;this.vel.y=this.vel.y*1;}},update:function(){this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);if(this.idleTimer.delta()>this.lifetime){this.kill();return;}
this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);this.parent();}});EntityPlayerJaw=ig.Entity.extend({size:{x:29,y:8},offset:{x:5,y:5},maxVel:{x:400,y:400},bounciness:0.6,lifetime:3,fadetime:1,type:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.PASSIVE,animSheet:new ig.AnimationSheet('media/player-jaw.png',39,18),bounceCounter:0,init:function(x,y,settings){this.parent(x,y,settings);this.zIndex=5;this.vel.x=(settings.flip?(Math.random()*Math.abs(settings.velx/2)):-(Math.random()*Math.abs(settings.velx/2)));this.vel.y=-(Math.random()*Math.abs(this.maxVel.x/2));this.addAnim('idle',0.2,[0]);this.currentAnim=this.anims.idle;this.currentAnim.flip.x=settings.flip;this.idleTimer=new ig.Timer();},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.vel.x=this.vel.x*.95;this.vel.y=this.vel.y*1;}},update:function(){this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);if(this.idleTimer.delta()>this.lifetime){this.kill();return;}
this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);this.parent();}});EntityPlayerDebris=ig.Entity.extend({size:{x:5,y:5},offset:{x:5,y:5},maxVel:{x:400,y:400},bounciness:0.6,lifetime:3,fadetime:1,type:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.PASSIVE,animSheet:new ig.AnimationSheet('media/player-debris.png',15,15),bounceCounter:0,init:function(x,y,settings){this.parent(x,y,settings);var entitycount=ig.game.getEntitiesByType(EntityPlayerDebris)[ig.game.entitylimit];if(entitycount){this.kill();}
this.zIndex=5;this.vel.x=settings.velx;this.vel.y=-(Math.random()*Math.abs(this.maxVel.x));this.addAnim('idle',10,[0,1,2,3,4]);this.currentAnim.gotoRandomFrame();this.currentAnim.flip.x=settings.flip;this.idleTimer=new ig.Timer();},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.vel.x=this.vel.x*.95;this.vel.y=this.vel.y*1;}},update:function(){this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);if(this.idleTimer.delta()>this.lifetime){this.kill();return;}
this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);this.parent();}});EntityPlayerJetpack=ig.Entity.extend({size:{x:8,y:10},offset:{x:5,y:5},maxVel:{x:400,y:400},bounciness:0.6,lifetime:3,fadetime:1,type:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.PASSIVE,animSheet:new ig.AnimationSheet('media/player-jetpack.png',18,20),bounceCounter:0,init:function(x,y,settings){this.parent(x,y,settings);this.zIndex=5;this.vel.x=(settings.flip?-Math.floor(Math.random()*this.maxVel.x/2):Math.floor(Math.random()*this.maxVel.x/2));this.vel.y=-(Math.random()*Math.abs(this.maxVel.x));this.addAnim('rolling',0.2,[0,1,2,3]);this.addAnim('idle',0.2,[0]);this.currentAnim=this.anims.rolling;this.idleTimer=new ig.Timer();},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.vel.x=this.vel.x*.95;this.vel.y=this.vel.y*1;}},update:function(){if(Math.abs(this.vel.x)<5){this.currentAnim=this.anims.idle;}
this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);if(this.idleTimer.delta()>this.lifetime){this.kill();return;}
this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);this.parent();}});EntityEnemyBot1Head=EntityPlayerHead.extend({animSheet:new ig.AnimationSheet('media/enemy-robot1-head.png',39,34)});EntityEnemyBot1Wheel=EntityPlayerWheel.extend({animSheet:new ig.AnimationSheet('media/enemy-robot1-wheel.png',28,28)});EntityEnemyBot2Head=EntityPlayerHead.extend({animSheet:new ig.AnimationSheet('media/enemy-robot3-head.png',39,34)});EntityEnemyBot2Wheel=EntityPlayerWheel.extend({animSheet:new ig.AnimationSheet('media/enemy-robot3-wheel.png',28,28)});EntityEnemyBot3Head=EntityPlayerHead.extend({animSheet:new ig.AnimationSheet('media/enemy-robot2-head.png',39,34)});EntityEnemyBot3Wheel=EntityPlayerWheel.extend({animSheet:new ig.AnimationSheet('media/enemy-robot2-wheel.png',28,28)});});

// lib/game/entities/weapons.js
ig.baked=true;ig.module('game.entities.weapons').requires('impact.entity').defines(function(){EntityWeapons=ig.Entity.extend({offset:{x:0,y:0},maxVel:{x:700,y:700},lifetime:5,fadetime:1,damage:10,gravityFactor:0,owner:null,bounciness:1,bounces:0,type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.BOTH,collides:ig.Entity.COLLIDES.PASSIVE,bounceCounter:0,init:function(x,y,settings){this.parent(x,y,settings);this.owner=settings.owner;this.vel.x=(settings.flip?-this.maxVel.x:this.maxVel.x);this.vel.y=-this.maxVel.y;this.addAnim('idle',0.2,[0]);this.flip=settings.flip;this.currentAnim.flip.x=this.flip;this.idleTimer=new ig.Timer();},handleMovementTrace:function(res){this.parent(res);if(res.collision.x){this.bounceCounter++;this.flip=!this.flip;this.currentAnim.flip.x=this.flip;if(this.bounceCounter>this.bounces){this.kill();}}
if(res.collision.y){this.bounceCounter++;this.currentAnim.flip.y=!this.currentAnim.flip.y;if(this.bounceCounter>this.bounces){this.kill();}}},collideWith:function(other,axis){if(other.collides==ig.Entity.COLLIDES.FIXED&&this.touches(other)){this.kill();}},check:function(other){if(other==ig.game.player){if(this.owner=='player'){other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}else{other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}}else{if(this.owner=='bot'){}else{other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}}
this.kill();},update:function(){if(this.idleTimer.delta()>this.lifetime){this.kill();this.currentAnim.alpha=this.idleTimer.delta().map(this.lifetime-this.fadetime,this.lifetime,1,0);}
this.parent();}});EntityWeaponDefault=EntityWeapons.extend({size:{x:32,y:12},bounces:0,damage:10,maxVel:{x:700,y:0},animSheet:new ig.AnimationSheet('media/weapon-default.png',32,12),kill:function(){ig.game.removeEntity(this);var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Red,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Red,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkRed,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkRed,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});}}});EntityWeaponBounceBeam=EntityWeapons.extend({size:{x:32,y:12},bounces:3,damage:20,maxVel:{x:700,y:0},animSheet:new ig.AnimationSheet('media/weapon-bouncebeam.png',32,12),kill:function(){ig.game.removeEntity(this);var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Blue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Blue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkBlue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkBlue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});}}});EntityWeaponGrenade=EntityWeapons.extend({size:{x:32,y:32},bounces:10,gravityFactor:1,damage:30,bounciness:.5,maxVel:{x:400,y:300},owner:null,animSheet:new ig.AnimationSheet('media/weapon-grenade.png',32,32),init:function(x,y,settings){this.addAnim('idle',0.05,[0,1,2,3,4,5,6,7]);this.parent(x,y,settings);this.owner=settings.owner;this.vel.x=(settings.flip?-this.maxVel.x:this.maxVel.x);this.vel.y=-this.maxVel.y;this.flip=settings.flip;this.currentAnim.flip.x=this.flip;this.idleTimer=new ig.Timer();},update:function(){this.vel.x=this.vel.x*.99;this.parent();},kill:function(){ig.game.shakestrength=4;ig.game.shakescreen.set(.5);ig.game.spawnEntity(ExplosionEffect,this.pos.x+this.size.x/2-30,this.pos.y+(this.size.y/2)-30,{owner:this.owner});var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Orange,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Orange,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Yellow,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Yellow,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});}
count=ig.ua.mobile?1:2;for(i=0;i<=count;i++){ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:-Math.floor(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.y)});ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:Math.floor(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.y)});}
ig.game.removeEntity(this);},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.bounceCounter++;this.vel.x=this.vel.x*.9;this.flip=!this.flip;this.currentAnim.flip.x=this.flip;if(this.bounceCounter>this.bounces){this.kill();}}}});EntityWeaponSplitUp=EntityWeapons.extend({size:{x:32,y:32},bounces:0,damage:10,maxVel:{x:700,y:700},animSheet:new ig.AnimationSheet('media/weapon-splitup.png',32,32),kill:function(){ig.game.removeEntity(this);var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Red,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Red,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkRed,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkRed,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});}}});EntityWeaponSplitDown=EntityWeapons.extend({size:{x:32,y:32},bounces:0,damage:10,maxVel:{x:700,y:700},animSheet:new ig.AnimationSheet('media/weapon-splitdown.png',32,32),init:function(x,y,settings){this.parent(x,y,settings);this.vel.x=(settings.flip?-this.maxVel.x:this.maxVel.x);this.vel.y=this.maxVel.y;this.addAnim('idle',0.2,[0]);this.flip=settings.flip;this.currentAnim.flip.x=this.flip;this.idleTimer=new ig.Timer();},kill:function(){ig.game.removeEntity(this);var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Red,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Red,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkRed,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkRed,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});}}});EntityWeaponSplitBounceUp=EntityWeapons.extend({size:{x:32,y:32},bounces:3,damage:20,maxVel:{x:700,y:700},animSheet:new ig.AnimationSheet('media/weapon-splitbounceup.png',32,32),kill:function(){ig.game.removeEntity(this);var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Blue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Blue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkBlue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkBlue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});}}});EntityWeaponSplitBounceDown=EntityWeapons.extend({size:{x:32,y:32},bounces:3,damage:20,maxVel:{x:700,y:700},animSheet:new ig.AnimationSheet('media/weapon-splitbouncedown.png',32,32),init:function(x,y,settings){this.parent(x,y,settings);this.vel.x=(settings.flip?-this.maxVel.x:this.maxVel.x);this.vel.y=this.maxVel.y;this.addAnim('idle',0.2,[0]);this.flip=settings.flip;this.currentAnim.flip.x=this.flip;this.idleTimer=new ig.Timer();},kill:function(){ig.game.removeEntity(this);var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Blue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Blue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkBlue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkBlue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});}}});EntityWeaponThruBeam=EntityWeapons.extend({size:{x:32,y:32},bounces:0,damage:10,maxVel:{x:700,y:0},animSheet:new ig.AnimationSheet('media/weapon-thrubeam.png',32,32),init:function(x,y,settings){this.parent(x,y,settings);this.owner=settings.owner;this.vel.x=(settings.flip?-this.maxVel.x:this.maxVel.x);this.vel.y=-this.maxVel.y;this.addAnim('idle',0.2,[0]);this.addAnim('hit',.3,[1,0],[1]);this.flip=settings.flip;this.currentAnim.flip.x=this.flip;this.idleTimer=new ig.Timer();},update:function(){if(this.idleTimer.delta()>this.lifetime){this.kill();this.currentAnim.alpha=this.idleTimer.delta().map(this.lifetime-this.fadetime,this.lifetime,1,0);}
this.parent();},kill:function(){ig.game.removeEntity(this);var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Purple,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Purple,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkPurple,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkPurple,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});}},check:function(other){this.currentAnim=this.anims.hit;this.currentAnim.flip.x=this.flip;if(other==ig.game.player){if(this.owner=='player'){other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}else{other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}}else{if(this.owner=='bot'){}else{other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}}
var count=ig.ua.mobile?1:5;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Purple,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Purple,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkPurple,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkPurple,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});}}});EntityWeaponShocker=EntityWeapons.extend({size:{x:32,y:12},bounces:0,damage:10,maxVel:{x:700,y:0},animSheet:new ig.AnimationSheet('media/weapon-shocker.png',32,12),kill:function(){ig.game.removeEntity(this);var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Yellow,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Yellow,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Yellow,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Yellow,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});}},check:function(other){ig.game.spawnEntity(EntityShockEffect,(other.flip?other.pos.x-other.offset.x-65:other.pos.x+(other.size.x)/2-100),other.pos.y-75,{flip:other.flip,velx:other.vel.x,vely:other.vel.y});if(other==ig.game.player){if(ig.Sound.enabled){ig.game.shock.play();}
if(this.owner=='player'){ig.game.jetpackfuel=0;other.jetpackenable=new ig.Timer(2);other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}else{ig.game.jetpackfuel=0;other.jetpackenable=new ig.Timer(2);other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}}else{if(this.owner=='bot'){}else{other.jetpackfuel=0;other.jetpackenable=new ig.Timer(2);other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}}
this.kill();}});EntityWeaponFreeze=EntityWeapons.extend({size:{x:32,y:32},bounces:0,damage:0,maxVel:{x:700,y:0},animSheet:new ig.AnimationSheet('media/weapon-freeze.png',32,32),kill:function(){ig.game.removeEntity(this);var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Blue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Blue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkBlue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkBlue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});}},check:function(other){if(other==ig.game.player){if(this.owner=='player'){ig.game.spawnEntity(EntityFreezeEffect,(other.flip?other.pos.x-other.offset.x-65:other.pos.x+(other.size.x)/2-100),other.pos.y-75,{flip:other.flip,velx:0,vely:0});other.freezetimer=new ig.Timer(3);other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}else{ig.game.spawnEntity(EntityFreezeEffect,(other.flip?other.pos.x-other.offset.x-65:other.pos.x+(other.size.x)/2-100),other.pos.y-75,{flip:other.flip,velx:0,vely:0});other.freezetimer=new ig.Timer(3);other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}}else{if(this.owner=='bot'){}else{ig.game.spawnEntity(EntityFreezeEffect,(other.flip?other.pos.x-other.offset.x-65:other.pos.x+(other.size.x)/2-100),other.pos.y-75,{flip:other.flip,velx:0,vely:0});other.freezetimer=new ig.Timer(3);other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}}
this.kill();}});EntityWeaponMine=EntityWeapons.extend({size:{x:24,y:28},offset:{x:4,y:4},bounces:10,gravityFactor:1,damage:30,bounciness:0,maxVel:{x:600,y:400},lifetime:20,owner:null,animSheet:new ig.AnimationSheet('media/weapon-mine.png',32,32),init:function(x,y,settings){this.addAnim('idle',0.1,[0,1]);this.parent(x,y,settings);this.owner=settings.owner;this.vel.x=settings.velx+(settings.flip?-400:400);this.vel.y=-300;this.flip=settings.flip;this.currentAnim.flip.x=this.flip;this.idleTimer=new ig.Timer();},update:function(){this.vel.x=this.vel.x*.98;if(Math.abs(this.vel.x)<.05){this.vel.x=0;}
if(this.idleTimer.delta()>this.lifetime){this.kill();}
this.parent();},kill:function(){ig.game.shakestrength=4;ig.game.shakescreen.set(.5);ig.game.spawnEntity(ExplosionEffect,this.pos.x+this.size.x/2-30,this.pos.y+this.size.y/2-30,{owner:this.owner});var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Orange,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Orange,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Yellow,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Yellow,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});}
count=ig.ua.mobile?1:2;for(i=0;i<=count;i++){ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:-Math.floor(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.y)});ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:Math.floor(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.y)});}
ig.game.removeEntity(this);},handleMovementTrace:function(res){this.parent(res);if(res.collision.x){this.bounceCounter++;this.flip=!this.flip;this.currentAnim.flip.x=this.flip;this.vel.x=0;this.vel.y=0;this.gravityFactor=0;}
if(res.collision.y){this.bounceCounter++;this.currentAnim.flip.y=!this.currentAnim.flip.y;this.vel.x=0;this.vel.y=0;this.gravityFactor=0;}}});EntityWeaponVampire=EntityWeapons.extend({size:{x:32,y:32},bounces:0,damage:10,maxVel:{x:700,y:0},animSheet:new ig.AnimationSheet('media/weapon-vampire.png',32,32),init:function(x,y,settings){this.addAnim('idle',0.08,[0,1,2,3,4,5]);this.parent(x,y,settings);this.owner=settings.owner;this.vel.x=(settings.flip?-this.maxVel.x:this.maxVel.x);this.vel.y=-this.maxVel.y;this.flip=settings.flip;this.currentAnim.flip.x=this.flip;this.idleTimer=new ig.Timer();},kill:function(){ig.game.removeEntity(this);var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Red,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Red,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkRed,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkRed,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});}},check:function(other){if(other==ig.game.player){if(this.owner=='player'){other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}else{var bot=null;if(this.owner=='bot1'){bot=ig.game.getEntityByName('bot1');}else if(this.owner=='bot2'){bot=ig.game.getEntityByName('bot2');}else if(this.owner=='bot3'){bot=ig.game.getEntityByName('bot3');}
if(bot){bot.health=bot.health+this.damage;if(bot.health>240){bot.health=240;}}
other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}}else{if(this.owner=='player'){other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);if(ig.game.player){ig.game.player.health=ig.game.player.health+this.damage;if(ig.game.player.health>ig.game.player.inithealth){ig.game.player.health=ig.game.player.inithealth;}}}}
this.kill();}});EntityWeaponNuke=EntityWeapons.extend({size:{x:34,y:32},bounces:0,gravityFactor:0,damage:200,bounciness:0,maxVel:{x:400,y:0},owner:null,animSheet:new ig.AnimationSheet('media/weapon-nuke.png',34,32),init:function(x,y,settings){this.addAnim('idle',0.05,[0]);this.parent(x,y,settings);this.owner=settings.owner;this.vel.x=(settings.flip?-this.maxVel.x:this.maxVel.x);this.vel.y=-this.maxVel.y;this.flip=settings.flip;this.currentAnim.flip.x=this.flip;this.idleTimer=new ig.Timer();},update:function(){ig.game.spawnEntity(EntityGunFlare,(!this.flip?this.pos.x-this.offset.x-24:this.pos.x+this.size.x+this.offset.x),this.pos.y+8,{flip:!this.flip,velx:this.vel.x,vely:this.vel.y});if(this.vel.x==0){this.kill();}
this.parent();},kill:function(){ig.game.shakestrength=10;ig.game.shakescreen.set(1);ig.game.spawnEntity(ExplosionLargeEffect,this.pos.x+this.size.x/2-90,this.pos.y+(this.size.y/2)-90,{owner:this.owner});var count=ig.ua.mobile?1:20;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Orange,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Orange,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Yellow,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Yellow,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});}
count=ig.ua.mobile?1:2;for(i=0;i<=count;i++){ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:-Math.floor(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.y)});ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:Math.floor(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.y)});}
ig.game.removeEntity(this);},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.kill();}}});EntityWeaponHeatseeker=EntityWeapons.extend({size:{x:32,y:32},bounces:0,gravityFactor:0,damage:30,bounciness:0,maxVel:{x:400,y:400},owner:null,target:null,acceleration:30,animSheet:new ig.AnimationSheet('media/weapon-heatseeker.png',32,32),init:function(x,y,settings){this.addAnim('idle',0.05,[0]);this.addAnim('upslow',0.05,[1]);this.addAnim('upfast',0.05,[2]);this.addAnim('downslow',0.05,[3]);this.addAnim('downfast',0.05,[4]);this.parent(x,y,settings);this.owner=settings.owner;this.vel.x=(settings.flip?-this.maxVel.x:this.maxVel.x);this.vel.y=0;this.flip=settings.flip;this.currentAnim.flip.x=this.flip;this.idleTimer=new ig.Timer();},update:function(){if(this.owner=='player'){var distance1=ig.system.width;var distance2=ig.system.width;var distance3=ig.system.width;this.bot1=ig.game.getEntityByName('bot1');if(this.bot1){var distance1=ig.system.width;if((this.bot1.pos.x<=this.pos.x&&this.flip)||(this.bot1.pos.x>=this.pos.x&&!this.flip)){distance1=this.distanceTo(this.bot1);}}
this.bot2=ig.game.getEntityByName('bot2');if(this.bot2){if((this.bot2.pos.x<=this.pos.x&&this.flip)||(this.bot2.pos.x>=this.pos.x&&!this.flip)){distance2=this.distanceTo(this.bot2);}}
this.bot3=ig.game.getEntityByName('bot3');if(this.bot3){var distance3=ig.system.width;if((this.bot3.pos.x<=this.pos.x&&this.flip)||(this.bot3.pos.x>=this.pos.x&&!this.flip)){distance3=this.distanceTo(this.bot3);}}
if(Math.min(distance1,distance2,distance3)==distance1){this.target=this.bot1;}
if(Math.min(distance1,distance2,distance3)==distance2){this.target=this.bot2;}
if(Math.min(distance1,distance2,distance3)==distance3){this.target=this.bot3;}
if(this.target){if(this.target.pos.y+30<=this.pos.y){this.vel.y=this.vel.y-this.acceleration;if(this.vel.y<-this.maxVel.y){this.vel.y=-this.maxVel.y}
if(this.vel.y>-this.maxVel.y/2){this.currentAnim=this.anims.upslow;}else{this.currentAnim=this.anims.upfast;}
this.currentAnim.flip.x=this.flip;}else if(this.target.pos.y-30>=this.pos.y){this.vel.y=this.vel.y+this.acceleration;if(this.vel.y>this.maxVel.y){this.vel.y=this.maxVel.y}
if(this.vel.y<this.maxVel.y/2){this.currentAnim=this.anims.downslow;}else{this.currentAnim=this.anims.downfast;}
this.currentAnim.flip.x=this.flip;}else{this.vel.y=0;this.currentAnim=this.anims.idle;this.currentAnim.flip.x=this.flip;}}
else{}}else{if(ig.game.player){if((ig.game.player.pos.x<=this.pos.x&&this.flip)||(ig.game.player.pos.x>=this.pos.x&&!this.flip)){if(ig.game.player.pos.y+30<=this.pos.y){this.vel.y=this.vel.y-this.acceleration;if(this.vel.y<-this.maxVel.y){this.vel.y=-this.maxVel.y}
if(this.vel.y>-this.maxVel.y/2){this.currentAnim=this.anims.upslow;}else{this.currentAnim=this.anims.upfast;}
this.currentAnim.flip.x=this.flip;}else if(ig.game.player.pos.y-30>=this.pos.y){this.vel.y=this.vel.y+this.acceleration;if(this.vel.y>this.maxVel.y){this.vel.y=this.maxVel.y}
if(this.vel.y<this.maxVel.y/2){this.currentAnim=this.anims.downslow;}else{this.currentAnim=this.anims.downfast;}
this.currentAnim.flip.x=this.flip;}else{this.vel.y=0;this.currentAnim=this.anims.idle;this.currentAnim.flip.x=this.flip;}}}}
if(this.vel.x==0){this.kill();}
this.parent();},kill:function(){ig.game.shakestrength=4;ig.game.shakescreen.set(.5);ig.game.spawnEntity(ExplosionEffect,this.pos.x+this.size.x/2-30,this.pos.y+this.size.y/2-30,{owner:this.owner});var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Orange,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Orange,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Yellow,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Yellow,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});}
count=ig.ua.mobile?1:2;for(i=0;i<=count;i++){ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:-Math.floor(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.y)});ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:Math.floor(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.y)});}
ig.game.removeEntity(this);}});EntityWeaponJammer=EntityWeapons.extend({size:{x:32,y:12},bounces:0,damage:10,maxVel:{x:700,y:0},animSheet:new ig.AnimationSheet('media/weapon-jammer.png',32,12),kill:function(){ig.game.removeEntity(this);var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Red,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Red,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkRed,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkRed,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});}},check:function(other){ig.game.spawnEntity(EntityJamEffect,this.pos.x+this.size.x/2-30,this.pos.y+this.size.y/2-30,{owner:this.owner});other.infiniteammo.set(0);if(other==ig.game.player){if(this.owner=='player'){ig.game.ammo=0;ig.game.currentweapon=0;other.weaponenable=new ig.Timer(2);other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}else{ig.game.ammo=0;ig.game.currentweapon=0;other.weaponenable=new ig.Timer(2);other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}}else{if(this.owner=='bot'){}else{other.ammo=0;other.currentweapon=0;other.weaponenable=new ig.Timer(2);other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}}
this.kill();}});EntityWeaponBounceMine=EntityWeapons.extend({size:{x:20,y:20},bounces:10,gravityFactor:1,damage:30,bounciness:5,maxVel:{x:300,y:600},owner:null,animSheet:new ig.AnimationSheet('media/weapon-bouncemine.png',20,20),init:function(x,y,settings){this.addAnim('idle',0.05,[0,1,2,3,4,5]);this.parent(x,y,settings);this.owner=settings.owner;this.vel.x=(settings.flip?-this.maxVel.x:this.maxVel.x);this.vel.y=-this.maxVel.y;this.flip=settings.flip;this.currentAnim.flip.x=this.flip;this.idleTimer=new ig.Timer();},update:function(){this.parent();},kill:function(){ig.game.shakestrength=4;ig.game.shakescreen.set(.5);ig.game.spawnEntity(ExplosionEffect,this.pos.x+this.size.x/2-30,this.pos.y+(this.size.y/2)-30,{owner:this.owner});var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Blue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Blue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_DarkBlue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_DarkBlue,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});}
count=ig.ua.mobile?1:2;for(i=0;i<=count;i++){ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:-Math.floor(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.y)});ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:Math.floor(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.y)});}
ig.game.removeEntity(this);},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.bounceCounter++;this.vel.x=this.vel.x*.9;this.flip=!this.flip;this.currentAnim.flip.x=this.flip;if(this.bounceCounter>this.bounces){this.kill();}}}});EntityWeaponSplitBomb=EntityWeapons.extend({size:{x:20,y:20},bounces:0,damage:10,maxVel:{x:700,y:350},animSheet:new ig.AnimationSheet('media/weapon-splitbomb.png',20,20),hittarget:false,init:function(x,y,settings){this.addAnim('idle',0.1,[0]);this.parent(x,y,settings);this.owner=settings.owner;this.vel.x=(settings.flip?-this.maxVel.x:this.maxVel.x);this.vel.y=settings.vely;this.flip=settings.flip;this.currentAnim.flip.x=this.flip;this.idleTimer=new ig.Timer();},check:function(other){this.hittarget=true;if(other==ig.game.player){if(this.owner=='player'){other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}else{other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}}else{if(this.owner=='bot'){}else{other.receiveDamage(this.damage,this,this.pos.x,this.pos.y);}}
this.kill();},kill:function(){ig.game.shakestrength=4;ig.game.shakescreen.set(.5);ig.game.removeEntity(this);ig.game.spawnEntity(ExplosionEffect,this.pos.x+this.size.x/2-30,this.pos.y+(this.size.y/2)-30,{owner:this.owner});if(this.hittarget){ig.game.spawnEntity(EntityWeaponSplitBomb,(this.flip?this.pos.x-this.size.x-50:this.pos.x+this.size.x+50),this.pos.y,{flip:this.flip,velx:this.vel.x,vely:-this.maxVel.y,owner:this.owner});ig.game.spawnEntity(EntityWeaponSplitBomb,(this.flip?this.pos.x-this.size.x-50:this.pos.x+this.size.x+50),this.pos.y,{flip:this.flip,velx:this.vel.x,vely:0,owner:this.owner});ig.game.spawnEntity(EntityWeaponSplitBomb,(this.flip?this.pos.x-this.size.x-50:this.pos.x+this.size.x+50),this.pos.y,{flip:this.flip,velx:this.vel.x,vely:this.maxVel.y,owner:this.owner});}
var count=ig.ua.mobile?1:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Red,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_Red,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkRed,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});ig.game.spawnEntity(Particle_DarkRed,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x/2)});}}});EntityWeaponScatterBomb=EntityWeapons.extend({size:{x:15,y:15},bounces:10,gravityFactor:1,damage:15,bounciness:.5,maxVel:{x:700,y:300},owner:null,animSheet:new ig.AnimationSheet('media/weapon-scatterbomb.png',15,15),init:function(x,y,settings){this.addAnim('idle',0.05,[0,1,2,3,4,5]);this.parent(x,y,settings);this.owner=settings.owner;this.vel.x=(settings.flip?-settings.velx:settings.velx);this.vel.y=settings.vely;this.flip=settings.flip;this.currentAnim.flip.x=this.flip;this.idleTimer=new ig.Timer();},update:function(){this.parent();},kill:function(){ig.game.shakestrength=4;ig.game.shakescreen.set(.5);ig.game.spawnEntity(ExplosionEffect,this.pos.x+this.size.x/2-30,this.pos.y+(this.size.y/2)-30,{owner:this.owner});var count=ig.ua.mobile?1:4;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Orange,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Orange,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Yellow,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Yellow,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});}
count=ig.ua.mobile?1:2;for(i=0;i<=count;i++){ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:-Math.floor(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.y)});ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:Math.floor(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.y)});}
ig.game.removeEntity(this);},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.bounceCounter++;this.vel.x=this.vel.x*.9;this.flip=!this.flip;this.currentAnim.flip.x=this.flip;if(this.bounceCounter>this.bounces){this.kill();}}}});EntityWeaponScatterBeam=EntityWeapons.extend({size:{x:10,y:10},bounces:0,gravityFactor:0,damage:10,bounciness:0,maxVel:{x:700,y:700},owner:null,animSheet:new ig.AnimationSheet('media/weapon-scatterbeam.png',10,10),init:function(x,y,settings){this.addAnim('idle',0.05,[0]);this.parent(x,y,settings);this.owner=settings.owner;this.vel.x=(settings.flip?-this.maxVel.x:this.maxVel.x);this.vel.y=settings.vely;this.flip=settings.flip;this.currentAnim.flip.x=this.flip;this.idleTimer=new ig.Timer();},update:function(){this.parent();},kill:function(){var count=ig.ua.mobile?1:4;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Red,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_Red,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_DarkRed,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});ig.game.spawnEntity(Particle_DarkRed,this.pos.x+(this.flip?this.size.x-2:0),this.pos.y+this.size.y/2,{flip:this.flip,velx:(Math.random()*this.maxVel.x),vely:-Math.floor(Math.random()*this.maxVel.x)});}
ig.game.removeEntity(this);}});});

// lib/game/entities/items.js
ig.baked=true;ig.module('game.entities.items').requires('impact.entity').defines(function(){EntityItems=ig.Entity.extend({size:{x:30,y:30},offset:{x:0,y:0},_wmScalable:false,_wmDrawBox:true,_wmBoxColor:'rgba(196, 255, 0, 0.7)',target:null,weapon:0,ammo:0,gravityFactor:0,name:'item',type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.BOTH,collides:ig.Entity.COLLIDES.NEVER,init:function(x,y,settings){this.gravityFactor=0;this.addAnim('idle',.1,[0]);this.parent(x,y,settings);this.zIndex=-10;},check:function(other){if(other==ig.game.player){ig.game.ammo=this.ammo;ig.game.currentweapon=this.weapon;if(ig.Sound.enabled){ig.game.item.play();}}else{other.ammo=this.ammo;other.currentweapon=this.weapon;}
var leveltime=ig.game.getEntityByName('leveltime');if(leveltime){leveltime.itemspawntimer.reset();}
this.kill();},update:function(){this.parent();}});Item_BounceBeam=EntityItems.extend({weapon:1,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-bouncebeam.png',30,30)});Item_Grenade=EntityItems.extend({weapon:2,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-grenade.png',30,30)});Item_Split=EntityItems.extend({weapon:3,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-split.png',30,30)});Item_SplitBounce=EntityItems.extend({weapon:4,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-splitbounce.png',30,30)});Item_ThruBeam=EntityItems.extend({weapon:5,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-thrubeam.png',30,30)});Item_Shocker=EntityItems.extend({weapon:6,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-shocker.png',30,30)});Item_Freeze=EntityItems.extend({weapon:7,ammo:100,animSheet:new ig.AnimationSheet('media/weapon-icon-freeze.png',30,30)});Item_Mine=EntityItems.extend({weapon:8,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-mine.png',30,30)});Item_Vampire=EntityItems.extend({weapon:9,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-vampire.png',30,30)});Item_Nuke=EntityItems.extend({weapon:10,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-nuke.png',30,30)});Item_Heatseeker=EntityItems.extend({weapon:11,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-heatseeker.png',30,30)});Item_Jammer=EntityItems.extend({weapon:12,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-jammer.png',30,30)});Item_BounceMine=EntityItems.extend({weapon:13,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-bouncemine.png',30,30)});Item_SplitBomb=EntityItems.extend({weapon:14,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-splitbomb.png',30,30)});Item_ScatterBomb=EntityItems.extend({weapon:15,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-scatterbomb.png',30,30)});Item_ScatterBeam=EntityItems.extend({weapon:16,ammo:150,animSheet:new ig.AnimationSheet('media/weapon-icon-scatterbeam.png',30,30)});Item_Health=EntityItems.extend({animSheet:new ig.AnimationSheet('media/health-icon.png',30,30),check:function(other){other.health=240;var leveltime=ig.game.getEntityByName('leveltime');if(leveltime){leveltime.itemspawntimer.reset();}
if(other==ig.game.player){if(ig.Sound.enabled){ig.game.item.play();}}
this.kill();}});Item_Heal=EntityItems.extend({animSheet:new ig.AnimationSheet('media/heal-icon.png',30,30),check:function(other){other.healing.set(10);var leveltime=ig.game.getEntityByName('leveltime');if(leveltime){leveltime.itemspawntimer.reset();}
if(other==ig.game.player){if(ig.Sound.enabled){ig.game.item.play();}}
this.kill();}});Item_Ammo=EntityItems.extend({animSheet:new ig.AnimationSheet('media/ammo-icon.png',30,30),check:function(other){var leveltime=ig.game.getEntityByName('leveltime');if(leveltime){leveltime.itemspawntimer.reset();}
if(other==ig.game.player){ig.game.ammo=150;if(ig.Sound.enabled){ig.game.item.play();}}else{other.ammo=150;}
this.kill();}});Item_InfiniteAmmo=EntityItems.extend({animSheet:new ig.AnimationSheet('media/ammo-icon-infinite.png',30,30),check:function(other){var leveltime=ig.game.getEntityByName('leveltime');if(leveltime){leveltime.itemspawntimer.reset();}
other.infiniteammo.set(10);if(other==ig.game.player){ig.game.ammo=0;if(ig.Sound.enabled){ig.game.item.play();}}else{other.ammo=0;}
this.kill();}});});

// lib/game/entities/playerspawner.js
ig.baked=true;ig.module('game.entities.playerspawner').requires('impact.entity').defines(function(){EntityPlayerspawner=ig.Entity.extend({_wmScalable:false,_wmDrawBox:true,_wmBoxColor:'rgba(0, 0, 255, 0.7)',size:{x:30,y:30},gravityFactor:0,init:function(x,y,settings){this.parent(x,y,settings);}});});

// lib/game/entities/itemspawner.js
ig.baked=true;ig.module('game.entities.itemspawner').requires('impact.entity').defines(function(){EntityItemspawner=ig.Entity.extend({_wmScalable:false,_wmDrawBox:true,_wmBoxColor:'rgba(0, 255, 0, 0.7)',size:{x:30,y:30},duration:5,durationTimer:null,nextEmit:null,triggered:false,gravityFactor:0,init:function(x,y,settings){this.parent(x,y,settings);this.nextEmit=new ig.Timer(this.duration);}});});

// lib/game/entities/enemyspawner.js
ig.baked=true;ig.module('game.entities.enemyspawner').requires('impact.entity').defines(function(){EntityEnemyspawner=ig.Entity.extend({_wmScalable:false,_wmDrawBox:true,_wmBoxColor:'rgba(255, 0, 0, 0.7)',size:{x:30,y:30},gravityFactor:0,init:function(x,y,settings){this.parent(x,y,settings);}});});

// lib/game/entities/particles.js
ig.baked=true;ig.module('game.entities.particles').requires('impact.entity').defines(function(){EntityParticles=ig.Entity.extend({size:{x:2,y:2},offset:{x:0,y:0},maxVel:{x:400,y:400},lifetime:5,fadetime:1,bounciness:0,type:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.PASSIVE,bounceCounter:0,init:function(x,y,settings){this.parent(x,y,settings);var entitycount=ig.game.getEntitiesByType(EntityParticles)[ig.game.entitylimit];if(entitycount){this.kill();}
this.vel.x=(this.flip?-settings.velx:settings.velx);this.vel.y=settings.vely;this.addAnim('idle',0.2,[0]);this.idleTimer=new ig.Timer();},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.bounceCounter++;if(this.bounceCounter>0){this.kill();}}},update:function(){this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);if(this.idleTimer.delta()>this.lifetime){this.kill();this.currentAnim.alpha=this.idleTimer.delta().map(this.lifetime-this.fadetime,this.lifetime,1,0);}
this.parent();}});Particle_Red=EntityParticles.extend({lifetime:.5,animSheet:new ig.AnimationSheet('media/particle-red.png',2,2)});Particle_DarkRed=EntityParticles.extend({lifetime:.5,animSheet:new ig.AnimationSheet('media/particle-darkred.png',2,2)});Particle_Blue=EntityParticles.extend({lifetime:.5,animSheet:new ig.AnimationSheet('media/particle-blue.png',2,2)});Particle_DarkBlue=EntityParticles.extend({lifetime:.5,animSheet:new ig.AnimationSheet('media/particle-darkblue.png',2,2)});Particle_Grey=EntityParticles.extend({lifetime:.5,animSheet:new ig.AnimationSheet('media/particle-grey.png',2,2)});Particle_DarkGrey=EntityParticles.extend({lifetime:.5,animSheet:new ig.AnimationSheet('media/particle-darkgrey.png',2,2)});Particle_Orange=EntityParticles.extend({lifetime:.5,animSheet:new ig.AnimationSheet('media/particle-orange.png',2,2)});Particle_Yellow=EntityParticles.extend({lifetime:.5,animSheet:new ig.AnimationSheet('media/particle-yellow.png',2,2)});Particle_Purple=EntityParticles.extend({lifetime:.5,animSheet:new ig.AnimationSheet('media/particle-purple.png',2,2)});Particle_DarkPurple=EntityParticles.extend({lifetime:.5,animSheet:new ig.AnimationSheet('media/particle-darkpurple.png',2,2)});});

// lib/game/entities/effects.js
ig.baked=true;ig.module('game.entities.effects').requires('impact.entity').defines(function(){EntityEffects=ig.Entity.extend({size:{x:0,y:0},offset:{x:0,y:0},lifetime:.05,fadetime:.05,accelGround:600,accelAir:300,maxVel:{x:1000,y:1000},bounciness:0,type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.NONE,bounceCounter:0,zIndex:-10,init:function(x,y,settings){this.parent(x,y,settings);this.gravityFactor=0;if(settings.velx!=0){this.vel.x=settings.velx;}else{this.vel.x=0;}
if(settings.vely!=0){this.vel.y=settings.vely;}else{this.vel.y=0;}
this.addAnim('idle',0.2,[0]);this.zIndex=-10;this.flip=settings.flip;this.anims.idle.flip.x=this.flip;this.idleTimer=new ig.Timer();},update:function(){this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);if(this.idleTimer.delta()>this.lifetime){this.kill();this.currentAnim.alpha=this.idleTimer.delta().map(this.lifetime-this.fadetime,this.lifetime,1,0);}
this.parent();}});EntityGunFlare=EntityEffects.extend({lifetime:.1,fadetime:.05,size:{x:24,y:16},animSheet:new ig.AnimationSheet('media/effect-flare.png',24,16)});EntityJetpackFlare=EntityEffects.extend({lifetime:.01667,fadetime:0,size:{x:16,y:24},animSheet:new ig.AnimationSheet('media/effect-jetpackflare.png',16,24)});EntityHealEffect=EntityEffects.extend({lifetime:.0333,fadetime:.05,size:{x:200,y:200},animSheet:new ig.AnimationSheet('media/effect-heal.png',200,200)});EntityFreezeEffect=EntityEffects.extend({lifetime:3.1,fadetime:0,size:{x:200,y:200},animSheet:new ig.AnimationSheet('media/effect-frozen.png',200,200),init:function(x,y,settings){this.parent(x,y,settings);this.gravityFactor=0;if(settings.velx!=0){this.vel.x=settings.velx;}else{this.vel.x=0;}
if(settings.vely!=0){this.vel.y=settings.vely;}else{this.vel.y=0;}
this.addAnim('idle',.2,[0,1,2]);this.zIndex=-10;this.idleTimer=new ig.Timer();},update:function(){this.currentAnim.alpha=1;if(this.idleTimer.delta()>this.lifetime){this.kill();}
this.parent();}});EntityShockEffect=EntityEffects.extend({lifetime:.1,fadetime:.05,size:{x:200,y:200},animSheet:new ig.AnimationSheet('media/effect-shock.png',200,200),init:function(x,y,settings){this.parent(x,y,settings);this.gravityFactor=0;if(settings.velx!=0){this.vel.x=settings.velx;}else{this.vel.x=0;}
if(settings.vely!=0){this.vel.y=settings.vely;}else{this.vel.y=0;}
this.addAnim('idle',5,[0,1,2]);this.zIndex=-10;this.flip=settings.flip;this.anims.idle.flip.x=this.flip;this.currentAnim.gotoRandomFrame();this.idleTimer=new ig.Timer();}});EntityJamEffect=EntityEffects.extend({size:{x:60,y:60},offset:{x:0,y:0},lifetime:.25,fadetime:.1,owner:null,maxVel:{x:0,y:0},bounciness:0,animSheet:new ig.AnimationSheet('media/effect-jam.png',60,60),bounceCounter:0,init:function(x,y,settings){this.parent(x,y,settings);this.gravityFactor=0;this.zIndex=-5;this.owner=settings.owner;this.vel.x=0;this.vel.y=0;this.addAnim('idle',0.05,[2,1,0,1,2],[1]);this.idleTimer=new ig.Timer();}});EntityItemSpawnEffect=ig.Entity.extend({size:{x:60,y:60},offset:{x:0,y:0},lifetime:.5,fadetime:.1,maxVel:{x:0,y:0},bounciness:0,type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.NONE,animSheet:new ig.AnimationSheet('media/effect-itemspawn.png',60,60),bounceCounter:0,init:function(x,y,settings){this.parent(x,y,settings);this.gravityFactor=0;this.zIndex=-5;this.vel.x=0;this.vel.y=0;this.addAnim('idle',0.1,[2,1,0,1,2],[1]);this.idleTimer=new ig.Timer();},update:function(){if(this.idleTimer.delta()>this.lifetime){this.kill();this.currentAnim.alpha=this.idleTimer.delta().map(this.lifetime-this.fadetime,this.lifetime,1,0);}
this.parent();}});EntityPlayerSpawnEffect=ig.Entity.extend({size:{x:120,y:120},offset:{x:0,y:0},lifetime:.5,fadetime:.1,maxVel:{x:0,y:0},bounciness:0,type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.NONE,animSheet:new ig.AnimationSheet('media/effect-playerspawn.png',120,120),bounceCounter:0,init:function(x,y,settings){this.parent(x,y,settings);this.gravityFactor=0;this.zIndex=-5;this.vel.x=0;this.vel.y=0;this.addAnim('idle',0.1,[2,1,0,1,2],[1]);this.idleTimer=new ig.Timer();},update:function(){if(this.idleTimer.delta()>this.lifetime){this.kill();this.currentAnim.alpha=this.idleTimer.delta().map(this.lifetime-this.fadetime,this.lifetime,1,0);}
this.parent();}});ExplosionEffect=ig.Entity.extend({size:{x:60,y:60},offset:{x:0,y:0},lifetime:.25,fadetime:.1,owner:null,maxVel:{x:0,y:0},bounciness:0,type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.BOTH,collides:ig.Entity.COLLIDES.NONE,animSheet:new ig.AnimationSheet('media/effect-explosion.png',60,60),bounceCounter:0,init:function(x,y,settings){this.parent(x,y,settings);this.gravityFactor=0;this.zIndex=-5;this.owner=settings.owner;this.vel.x=0;this.vel.y=0;this.addAnim('idle',0.05,[2,1,0,1,2],[1]);this.idleTimer=new ig.Timer();if(ig.Sound.enabled){ig.game.explosion1.play();}},check:function(other){if(other==ig.game.player){if(this.owner=='player'){other.receiveDamage(20,this,this.pos.x,this.pos.y);}else{other.receiveDamage(20,this,this.pos.x,this.pos.y);}}else{if(this.owner=='bot'){}else{other.receiveDamage(20,this,this.pos.x,this.pos.y);}}},update:function(){if(this.idleTimer.delta()>this.lifetime){this.kill();}
this.parent();}});ExplosionLargeEffect=ig.Entity.extend({size:{x:180,y:180},offset:{x:0,y:0},lifetime:.25,fadetime:.1,maxVel:{x:0,y:0},owner:null,bounciness:0,type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.BOTH,collides:ig.Entity.COLLIDES.NONE,animSheet:new ig.AnimationSheet('media/effect-explosionlarge.png',180,180),bounceCounter:0,init:function(x,y,settings){this.parent(x,y,settings);this.gravityFactor=0;this.zIndex=-5;this.owner=settings.owner;this.vel.x=0;this.vel.y=0;this.addAnim('idle',0.05,[2,1,0,1,2],[1]);this.idleTimer=new ig.Timer();if(ig.Sound.enabled){ig.game.explosion1.play();}},check:function(other){if(other==ig.game.player){if(this.owner=='player'){other.receiveDamage(100,this,this.pos.x,this.pos.y);}else{other.receiveDamage(100,this,this.pos.x,this.pos.y);}}else{if(this.owner=='bot'){}else{other.receiveDamage(100,this,this.pos.x,this.pos.y);}}},update:function(){if(this.idleTimer.delta()>this.lifetime){this.kill();}
this.parent();}});ItemGlowEffect=ig.Entity.extend({size:{x:30,y:30},offset:{x:0,y:0},lifetime:.25,fadetime:.1,maxVel:{x:0,y:0},bounciness:0,type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.BOTH,collides:ig.Entity.COLLIDES.NONE,animSheet:new ig.AnimationSheet('media/effect-itemglow.png',30,30),bounceCounter:0,init:function(x,y,settings){this.parent(x,y,settings);this.gravityFactor=0;this.zIndex=-10;this.vel.x=0;this.vel.y=0;this.addAnim('idle',0.1,[2,1,0,1,2]);this.idleTimer=new ig.Timer();},check:function(other){this.kill();},update:function(){this.parent();}});});

// lib/game/entities/spring.js
ig.baked=true;ig.module('game.entities.spring').requires('impact.entity').defines(function(){EntitySpring=ig.Entity.extend({size:{x:32,y:16},offset:{x:0,y:0},maxVel:{x:500,y:500},_wmDrawBox:true,_wmBoxColor:'rgba(0, 255, 100, 0.7)',type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.BOTH,collides:ig.Entity.COLLIDES.FIXED,_wmDrawBox:true,_wmBoxColor:'rgba(255, 0, 100, 0.7)',target:null,targets:[],currentTarget:0,speed:0,gravityFactor:0,name:'spring',animSheet:new ig.AnimationSheet('media/spring.png',32,16),init:function(x,y,settings){this.addAnim('launch',.2,[1]);this.addAnim('idle',.1,[0]);this.curentAnim=this.anims.idle;this.parent(x,y,settings);if(this.target){this.targets=ig.ksort(this.target);}},update:function(){if(this.anims.launch.loopCount>0){this.currentAnim=this.anims.idle;}
if(this.target){var oldDistance=0;var target=ig.game.getEntityByName(this.targets[this.currentTarget]);if(target){oldDistance=this.distanceTo(target);var angle=this.angleTo(target);this.vel.x=Math.cos(angle)*this.speed;this.vel.y=Math.sin(angle)*this.speed;}
else{this.vel.x=0;this.vel.y=0;}
var newDistance=this.distanceTo(target);if(target&&(newDistance>oldDistance||newDistance<0.5)){this.pos.x=target.pos.x+target.size.x/2-this.size.x/2;this.pos.y=target.pos.y+target.size.y/2-this.size.y/2;this.currentTarget++;if(this.currentTarget>=this.targets.length&&this.targets.length>1){this.currentTarget=0;}}}else{this.vel.x=0;this.vel.y=0;}
this.parent();},collideWith:function(other,axis){if(other.pos.y<=this.pos.y){if(axis=='y'){if(Math.abs((other.pos.x+other.size.x/2)-(this.pos.x+this.size.x/2))<=((this.size.x/2)+other.size.x*.5)){other.vel.y=-700;this.currentAnim=this.anims.launch.rewind();if(other==ig.game.player){if(ig.Sound.enabled){ig.game.bounce.play();}}}}}},receiveDamage:function(amount,from,x,y){this.health=this.health;}});});

// lib/game/entities/springshadow.js
ig.baked=true;ig.module('game.entities.springshadow').requires('impact.entity').defines(function(){EntitySpringshadow=ig.Entity.extend({size:{x:32,y:16},offset:{x:0,y:0},maxVel:{x:00,y:100},type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.NONE,target:null,targets:[],currentTarget:0,speed:0,gravityFactor:0,animSheet:new ig.AnimationSheet('media/spring-shadow.png',32,16),init:function(x,y,settings){this.addAnim('idle',1,[0]);this.curentAnim=this.anims.idle;this.parent(x,y,settings);this.currentTarget=0;if(this.target){this.targets=ig.ksort(this.target);var target=ig.game.getEntityByName(this.targets[this.currentTarget]);if(target){this.pos.x=target.pos.x;this.pos.y=target.pos.y+target.size.y;}}},update:function(){if(this.target){var target=ig.game.getEntityByName(this.targets[this.currentTarget]);if(target){this.pos.x=target.pos.x;this.pos.y=target.pos.y+target.size.y;}
else{}
this.parent();}}});});

// lib/game/entities/platform.js
ig.baked=true;ig.module('game.entities.platform').requires('impact.entity').defines(function(){EntityPlatform=ig.Entity.extend({size:{x:256,y:16},offset:{x:0,y:0},maxVel:{x:500,y:500},_wmDrawBox:true,_wmBoxColor:'rgba(0, 255, 100, 0.7)',type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.A,collides:ig.Entity.COLLIDES.FIXED,_wmDrawBox:true,_wmBoxColor:'rgba(255, 0, 100, 0.7)',target:null,targets:[],currentTarget:0,speed:0,gravityFactor:0,animSheet:new ig.AnimationSheet('media/platform.png',256,16),init:function(x,y,settings){this.addAnim('idle',.1,[0]);this.curentAnim=this.anims.idle;this.parent(x,y,settings);if(this.target){this.targets=ig.ksort(this.target);}},update:function(){if(this.target){var oldDistance=0;var target=ig.game.getEntityByName(this.targets[this.currentTarget]);if(target){oldDistance=this.distanceTo(target);var angle=this.angleTo(target);this.vel.x=Math.cos(angle)*this.speed;this.vel.y=Math.sin(angle)*this.speed;}
else{this.vel.x=0;this.vel.y=0;}
var newDistance=this.distanceTo(target);if(target&&(newDistance>oldDistance||newDistance<0.5)){this.pos.x=target.pos.x+target.size.x/2-this.size.x/2;this.pos.y=target.pos.y+target.size.y/2-this.size.y/2;this.currentTarget++;if(this.currentTarget>=this.targets.length&&this.targets.length>1){this.currentTarget=0;}}}else{this.vel.x=0;this.vel.y=0;}
this.parent();},receiveDamage:function(amount,from,x,y){this.health=this.health;}});});

// lib/game/entities/platformshadow.js
ig.baked=true;ig.module('game.entities.platformshadow').requires('impact.entity').defines(function(){EntityPlatformshadow=ig.Entity.extend({size:{x:256,y:16},offset:{x:0,y:0},maxVel:{x:00,y:100},type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.NONE,target:null,targets:[],currentTarget:0,speed:0,gravityFactor:0,animSheet:new ig.AnimationSheet('media/platform-shadow.png',256,16),init:function(x,y,settings){this.addAnim('idle',1,[0]);this.curentAnim=this.anims.idle;this.parent(x,y,settings);this.currentTarget=0;if(this.target){this.targets=ig.ksort(this.target);var target=ig.game.getEntityByName(this.targets[this.currentTarget]);if(target){this.pos.x=target.pos.x;this.pos.y=target.pos.y+target.size.y;}}},update:function(){if(this.target){var target=ig.game.getEntityByName(this.targets[this.currentTarget]);if(target){this.pos.x=target.pos.x;this.pos.y=target.pos.y+target.size.y;}
else{}
this.parent();}}});});

// lib/game/entities/leveltime.js
ig.baked=true;ig.module('game.entities.leveltime').requires('impact.entity').defines(function(){EntityLeveltime=ig.Entity.extend({size:{x:16,y:16},_wmScalable:true,_wmDrawBox:true,_wmBoxColor:'rgba(0, 0, 255, 0.7)',type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.A,collides:ig.Entity.COLLIDES.NEVER,time:0,frames:0,playerspawntimer:new ig.Timer(2),playerspawnflag:false,bot1:null,bot1spawntimer:new ig.Timer(2),bot1spawnflag:false,bot2:null,bot2spawntimer:new ig.Timer(2),bot2spawnflag:false,bot3:null,bot3spawntimer:new ig.Timer(2),bot3spawnflag:false,name:'leveltime',itemspawntimer:new ig.Timer(5),init:function(x,y,settings){this.parent(x,y,settings);this.time=ig.game.inittime;this.frames=this.time*30;ig.main.levelscore=0;ig.main.scorechanged=false;ig.main.scorebonus=0;ig.main.botscore=0;this.playerspawntimer.reset();this.playerspawnflag=false;this.itemspawntimer.reset();ig.game.botkilledtimer=new ig.Timer(2);if(ig.game.bot1){this.bot1spawntimer.reset();this.bot1spawnflag=false;}
if(ig.game.bot2){this.bot2spawntimer.reset();this.bot2spawnflag=false;}
if(ig.game.bot3){this.bot3spawntimer.reset();this.bot3spawnflag=false;}
ig.game.levelscore=0;ig.game.botscore=0;},update:function(){if(!ig.game.levelcomplete){this.frames-=1;var fps=30;if(ig.ua.mobile){fps=20;}else{}
this.time=((this.frames)/fps).round(1);if(this.time<0){this.time=0;ig.game.levelcomplete=true;ig.game.levelcompletetimer.reset();ig.game.levelcompleteflag=true;this.kill();}
var spawners=ig.game.getEntitiesByType(EntityItemspawner);var index=Math.floor(Math.random()*(spawners.length));var posx=spawners[index].pos.x;var posy=spawners[index].pos.y;if(this.itemspawntimer.delta()>0){this.item=ig.game.getEntityByName('item');if(!this.item){ig.game.spawnEntity(ItemGlowEffect,posx,posy);ig.game.spawnEntity(EntityItemSpawnEffect,posx-15,posy-15);var random=(Math.floor(Math.random()*190));if(random<1){ig.game.spawnEntity(Item_BounceBeam,posx,posy);}else if(random<15){ig.game.spawnEntity(Item_Split,posx,posy);}else if(random<30){ig.game.spawnEntity(Item_SplitBounce,posx,posy);}else if(random<45){ig.game.spawnEntity(Item_ThruBeam,posx,posy);}else if(random<60){ig.game.spawnEntity(Item_Grenade,posx,posy);}else if(random<70){ig.game.spawnEntity(Item_Mine,posx,posy);}else if(random<80){ig.game.spawnEntity(Item_Shocker,posx,posy);}else if(random<90){ig.game.spawnEntity(Item_Freeze,posx,posy);}else if(random<95){ig.game.spawnEntity(Item_Vampire,posx,posy);}else if(random<100){ig.game.spawnEntity(Item_Nuke,posx,posy);}else if(random<110){ig.game.spawnEntity(Item_Health,posx,posy);}else if(random<120){ig.game.spawnEntity(Item_Heatseeker,posx,posy);}else if(random<130){ig.game.spawnEntity(Item_Jammer,posx,posy);}else if(random<140){ig.game.spawnEntity(Item_BounceMine,posx,posy);}else if(random<150){ig.game.spawnEntity(Item_SplitBomb,posx,posy);}else if(random<160){ig.game.spawnEntity(Item_Ammo,posx,posy);}else if(random<165){ig.game.spawnEntity(Item_InfiniteAmmo,posx,posy);}else if(random<170){ig.game.spawnEntity(Item_ScatterBomb,posx,posy);}else if(random<180){ig.game.spawnEntity(Item_Heal,posx,posy);}else{ig.game.spawnEntity(Item_ScatterBeam,posx,posy);}}}
if(ig.game.bot1){this.bot1=ig.game.getEntityByName('bot1');if(!this.bot1&&this.bot1spawnflag){this.bot1spawntimer.reset();this.bot1spawnflag=false;}
if(!this.bot1&&this.bot1spawntimer.delta()>=0&&!this.bot1spawnflag){var spawners=ig.game.getEntitiesByType(EntityEnemyspawner);var index=Math.floor(Math.random()*(spawners.length));var posx=spawners[index].pos.x+spawners[index].size.x/2;var posy=spawners[index].pos.y;ig.game.spawnEntity(EntityPlayerSpawnEffect,posx-60,posy-60);ig.game.spawnEntity(EntityEnemybot1,posx-15,posy-60);this.bot1spawnflag=true;}}
if(ig.game.bot2){this.bot2=ig.game.getEntityByName('bot2')
if(!this.bot2&&this.bot2spawnflag){this.bot2spawntimer.reset();this.bot2spawnflag=false;}
if(!this.bot2&&this.bot2spawntimer.delta()>=0&&!this.bot2spawnflag){var spawners=ig.game.getEntitiesByType(EntityEnemyspawner);var index=Math.floor(Math.random()*(spawners.length));var posx=spawners[index].pos.x+spawners[index].size.x/2;var posy=spawners[index].pos.y;ig.game.spawnEntity(EntityPlayerSpawnEffect,posx-60,posy-60);ig.game.spawnEntity(EntityEnemybot2,posx-15,posy-60);this.bot2spawnflag=true;}}
if(ig.game.bot3){this.bot3=ig.game.getEntityByName('bot3');if(!this.bot3&&this.bot3spawnflag){this.bot3spawntimer.reset();this.bot3spawnflag=false;}
if(!this.bot3&&this.bot3spawntimer.delta()>=0&&!this.bot3spawnflag){var spawners=ig.game.getEntitiesByType(EntityEnemyspawner);var index=Math.floor(Math.random()*(spawners.length));var posx=spawners[index].pos.x+spawners[index].size.x/2;var posy=spawners[index].pos.y;ig.game.spawnEntity(EntityPlayerSpawnEffect,posx-60,posy-60);ig.game.spawnEntity(EntityEnemybot3,posx-15,posy-60);this.bot3spawnflag=true;}}
if(!ig.game.player&&this.playerspawnflag){this.playerspawntimer.reset();this.playerspawnflag=false;}
if(!ig.game.player&&this.playerspawntimer.delta()>=0&&!this.playerspawnflag){var spawners=ig.game.getEntitiesByType(EntityPlayerspawner);var index=Math.floor(Math.random()*(spawners.length));var posx=spawners[index].pos.x+spawners[index].size.x/2;var posy=spawners[index].pos.y;ig.game.spawnEntity(EntityPlayerSpawnEffect,posx-60,posy-60);ig.game.spawnEntity(EntityPlayer,posx-15,posy-60,{flip:false});this.playerspawnflag=true;if(ig.Sound.enabled){ig.game.spawning.play();}}}
this.parent();},draw:function(){if(ig.game.player){if(ig.game.player.health>0){ig.game.healthmeterstart.draw(2+ig.game.playerdeadicon.width,2+ig.game.playerdeadicon.height/2-ig.game.healthmeter.height/2);ig.game.healthmeterend.draw(4+ig.game.playerdeadicon.width+ig.game.player.health,2+ig.game.playerdeadicon.height/2-ig.game.healthmeter.height/2);}
for(i=0;i<=ig.game.player.health-1;i++){ig.game.healthmeter.draw(4+ig.game.playerdeadicon.width+((ig.game.healthmeter.width)*i),2+ig.game.playerdeadicon.height/2-ig.game.healthmeter.height/2);}
if(ig.game.jetpackfuel>0){ig.game.jetpackmeterstart.draw(2+ig.game.jetpackon.width,4+ig.game.playerdeadicon.height+ig.game.jetpackon.height/2-ig.game.jetpackmeter.height/2);ig.game.jetpackmeterend.draw(4+ig.game.jetpackon.width+ig.game.jetpackfuel,4+ig.game.playerdeadicon.height+ig.game.jetpackon.height/2-ig.game.jetpackmeter.height/2);}
for(i=0;i<=ig.game.jetpackfuel-1;i++){ig.game.jetpackmeter.draw(4+ig.game.jetpackon.width+((ig.game.jetpackmeter.width)*i),4+ig.game.playerdeadicon.height+ig.game.jetpackon.height/2-ig.game.jetpackmeter.height/2);}
if(ig.game.currentweapon>0){if(ig.game.ammo>0){ig.game.ammometerstart.draw(2+ig.game.weaponicon_default.width,4+ig.game.playerdeadicon.height+ig.game.jetpackon.height+ig.game.weaponicon_default.height/2-ig.game.ammometer.height/2);ig.game.ammometerend.draw(4+ig.game.weaponicon_default.width+ig.game.ammo,4+ig.game.playerdeadicon.height+ig.game.jetpackon.height+ig.game.weaponicon_default.height/2-ig.game.ammometer.height/2);}
for(i=0;i<=ig.game.ammo-1;i++){ig.game.ammometer.draw(4+ig.game.weaponicon_default.width+((ig.game.ammometer.width)*i),4+ig.game.playerdeadicon.height+ig.game.jetpackon.height+ig.game.weaponicon_default.height/2-ig.game.ammometer.height/2);}}}
if(this.bot1){if(this.bot1.health>0){ig.game.healthmeterstart.draw(ig.system.width-36-this.bot1.health,10);ig.game.healthmeterend.draw(ig.system.width-35,10);}
for(i=0;i<=this.bot1.health-1;i++){ig.game.healthmeter.draw(ig.system.width-36-((ig.game.healthmeter.width)*i),10);}}
if(this.bot2){if(this.bot2.health>0){ig.game.bot2meterstart.draw(ig.system.width-36-this.bot2.health,42);ig.game.bot2meterend.draw(ig.system.width-35,42);}
for(i=0;i<=this.bot2.health-1;i++){ig.game.bot2meter.draw(ig.system.width-36-((ig.game.bot2meter.width)*i),42);}}
if(this.bot3){if(this.bot3.health>0){ig.game.bot3meterstart.draw(ig.system.width-36-this.bot3.health,74);ig.game.bot3meterend.draw(ig.system.width-35,74);}
for(i=0;i<=this.bot3.health-1;i++){ig.game.bot3meter.draw(ig.system.width-36-((ig.game.bot3meter.width)*i),74);}}
if(this.currentAnim){this.currentAnim.draw(this.pos.x.round()-this.offset.x-ig.game.screen.x,this.pos.y.round()-this.offset.y-ig.game.screen.y);}}});});

// lib/game/entities/enemybot1.js
ig.baked=true;ig.module('game.entities.enemybot1').requires('impact.entity').defines(function(){EntityEnemybot1=ig.Entity.extend({size:{x:30,y:64},offset:{x:19,y:5},maxVel:{x:290,y:1000},friction:{x:300,y:0},type:ig.Entity.TYPE.B,checkAgainst:ig.Entity.TYPE.B,collides:ig.Entity.COLLIDES.PASSIVE,zIndex:1,flip:false,accelGround:600,accelAir:300,jump:500,bounciness:0,health:240,flip:false,hurttimer:null,hurtspacing:.1,inittimer:new ig.Timer(.4),attacktimer:new ig.Timer(.4),landtimer:new ig.Timer(.2),falling:false,flip:false,jetpackfuel:240,jetpackfuelmax:240,currentweapon:0,ammo:0,jetpackenable:new ig.Timer(2),freezetimer:new ig.Timer(2),name:'bot1',toggle:false,weaponenable:new ig.Timer(2),infiniteammo:new ig.Timer(0),healing:new ig.Timer(0),animSheet:new ig.AnimationSheet('media/enemy-robot1.png',68,69),init:function(x,y,settings){this.parent(x,y,settings);this.zIndex=1;this.addAnim('idle',1,[0]);this.addAnim('run',0.1,[1,2,3,4]);this.addAnim('jump',.1,[6,7,8]);this.addAnim('fall1',0.2,[10]);this.addAnim('fall2',0.2,[9]);this.addAnim('attack',.3,[5],[1]);this.addAnim('init',.2,[14,15,16],[1]);this.addAnim('land',.2,[11]);this.addAnim('taunt',.2,[18,19]);this.vel.x=0;this.vel.y=0;this.inittimer.reset();this.attacktimer.reset();this.hurttimer=new ig.Timer(this.hurtspacing);this.currentweapon=0;this.ammo=0;this.jetpackenable.set(0);this.freezetimer.set(0);this.weaponenable.set(0);this.infiniteammo.set(0);this.healing.set(0);this.maxVel.x=this.maxVel.x+Math.floor(Math.random()*(40));},update:function(){if(this.inittimer.delta()<0){this.vel.x=0;this.currentAnim=this.anims.init;this.parent();}else{if(this.jetpackenable.delta()<0){var random=(Math.floor(Math.random()*60));if(random<=5){ig.game.spawnEntity(EntityShockEffect,(this.flip?this.pos.x-this.offset.x-65:this.pos.x+(this.size.x)/2-100),this.pos.y-75,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});this.health-=3;if(this.health<=0){this.kill();}}}
if(ig.game.player){var accel=this.standing?this.accelGround:this.accelAir;if(ig.game.player.pos.x+(!ig.game.player.flip?ig.game.player.size.x:0)<=(this.pos.x+(this.flip?0:this.size.x)-120)){this.accel.x=-accel;this.flip=true;}
else if(ig.game.player.pos.x+(!ig.game.player.flip?ig.game.player.size.x:0)>=(this.pos.x+(this.flip?0:this.size.x)+120)){this.accel.x=accel;this.flip=false;}
else if(ig.game.player.pos.x+(!ig.game.player.flip?ig.game.player.size.x:0)<(this.pos.x+(this.flip?0:this.size.x))-80){this.accel.x=-accel/2;this.flip=true;}else if(ig.game.player.pos.x+(!ig.game.player.flip?ig.game.player.size.x:0)>(this.pos.x+(this.flip?0:this.size.x))+80){this.accel.x=accel/2;this.flip=false;}else{this.accel.x=(this.flip?-accel:accel);}
if(ig.game.player.pos.y<=(this.pos.y-50)){if(this.jetpackfuel>0){this.vel.y=-this.jump;this.jetpackfuel-=4;if(ig.game.fxquality!="low"){ig.game.spawnEntity(EntityJetpackFlare,(this.flip?this.pos.x+this.offset.x-1:this.pos.x-3),this.pos.y+43,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}}}
this.item=ig.game.getEntityByName('item');if(this.item){if(this.distanceTo(this.item)<150){var x=this.pos.x+(this.flip?-this.size.x/2:this.size.x/2);var y=this.pos.y+this.size.y/2;var res=ig.game.collisionMap.trace(x,y,(this.item.pos.x+this.item.size.x/2)-x,(this.item.pos.y+this.item.size.y/2)-y,this.size.x,this.size.y);if(!res.collision.x&&!res.collision.y){var angle=this.angleTo(this.item);this.vel.x=Math.cos(angle)*Math.abs(this.maxVel.x);if(this.vel.x<0){this.flip=true;}else{this.flip=false;}
this.vel.y=Math.sin(angle)*Math.abs(this.maxVel.y);if(this.vel.y<0&&this.jetpackfuel>0){this.vel.y=Math.sin(angle)*Math.abs(this.maxVel.y);if(Math.abs(this.vel.y)<20){this.vel.y=-50};this.jetpackfuel-=4;if(ig.game.fxquality!="low"){ig.game.spawnEntity(EntityJetpackFlare,(this.flip?this.pos.x+this.offset.x-1:this.pos.x-3),this.pos.y+43,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}}else if(this.vel.y<0&&this.jetpackfuel<=0){this.vel.y=Math.abs(this.vel.y+this.accelAir);this.accel.x=0;}}else{}}}}else{this.accel.x=0;}
if(this.standing&&this.landtimer.delta()<0){this.currentAnim=this.anims.land;this.currentAnim.flip.x=this.flip;}
else if(this.vel.y<0&&!this.standing){this.currentAnim=this.anims.jump;}
else if(this.vel.y>0&&this.vel.y<100&&!this.standing){this.falling=true;this.currentAnim=this.anims.fall1;}
else if(this.vel.y>100&&!this.standing){this.currentAnim=this.anims.fall2;}
else if(Math.abs(this.vel.x)>40){if(this.standing&&this.jetpackenable.delta()>0){this.jetpackfuel=this.jetpackfuelmax;}
this.currentAnim=this.anims.run;}
else{this.currentAnim=this.anims.idle;if(this.standing&&this.jetpackenable.delta()>0){this.jetpackfuel=this.jetpackfuelmax;}}
if(this.standing&&this.falling==true){this.landtimer.reset();this.falling=false;}
this.currentAnim.flip.x=this.flip;if(ig.game.player){if((ig.game.player.pos.x<=this.pos.x&&this.flip)||(ig.game.player.pos.x>=this.pos.x&&!this.flip)){if(Math.abs(ig.game.player.pos.y-this.pos.y)<60){if(this.distanceTo(ig.game.player)<600&&this.attacktimer.delta()>0){if(this.weaponenable.delta()>0){this.currentAnim=this.anims.attack;this.currentAnim.flip.x=this.flip;if(ig.game.fxquality!="low"){ig.game.spawnEntity(EntityGunFlare,(this.flip?this.pos.x-this.offset.x-24:this.pos.x+this.size.x+this.offset.x),this.pos.y+25,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}
switch(this.currentweapon){case 0:ig.game.spawnEntity(EntityWeaponDefault,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 1:ig.game.spawnEntity(EntityWeaponBounceBeam,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 2:ig.game.spawnEntity(EntityWeaponGrenade,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,vely:-100,owner:'bot'});break;case 3:ig.game.spawnEntity(EntityWeaponDefault,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});ig.game.spawnEntity(EntityWeaponSplitUp,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});ig.game.spawnEntity(EntityWeaponSplitDown,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 4:ig.game.spawnEntity(EntityWeaponBounceBeam,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});ig.game.spawnEntity(EntityWeaponSplitBounceUp,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});ig.game.spawnEntity(EntityWeaponSplitBounceDown,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 5:ig.game.spawnEntity(EntityWeaponThruBeam,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 6:ig.game.spawnEntity(EntityWeaponShocker,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 7:ig.game.spawnEntity(EntityWeaponFreeze,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 8:ig.game.spawnEntity(EntityWeaponMine,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x,vely:-100,owner:'bot'});break;case 9:ig.game.spawnEntity(EntityWeaponVampire,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:this.name});break;case 10:ig.game.spawnEntity(EntityWeaponNuke,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 11:ig.game.spawnEntity(EntityWeaponHeatseeker,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 12:ig.game.spawnEntity(EntityWeaponJammer,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 13:ig.game.spawnEntity(EntityWeaponBounceMine,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 14:ig.game.spawnEntity(EntityWeaponSplitBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,velx:this.vel.x,vely:0,owner:'bot'});break;case 15:ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+200,vely:-800,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+400,vely:-600,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+600,vely:-400,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+800,vely:-200,owner:'bot'});break;case 16:ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-600,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-400,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-200,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-0,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:200,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:400,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:600,owner:'bot'});break;}
if(this.infiniteammo.delta()>=0){if(this.currentweapon>0){this.ammo=this.ammo-10;if(this.ammo<=0){this.currentweapon=0;}}}}
this.attacktimer.reset();}}}}
if(this.attacktimer.delta()<-.1){this.currentAnim=this.anims.attack;this.currentAnim.flip.x=this.flip;}
if(!ig.game.player&&this.standing&&this.vel.x==0){this.currentAnim=this.anims.taunt;this.currentAnim.flip.x=this.flip;if(this.health<240){this.health++;ig.game.spawnEntity(EntityHealEffect,(this.flip?this.pos.x-this.offset.x-65:this.pos.x+(this.size.x)/2-100),this.pos.y-75,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}}
if(this.healing.delta()<0){ig.game.spawnEntity(EntityHealEffect,(this.flip?this.pos.x-this.offset.x-65:this.pos.x+(this.size.x)/2-100),this.pos.y-75,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});if(this.health<240){this.health++;}}
if(this.freezetimer.delta()<0){this.toggle=!this.toggle;this.jetpackfuel=0;this.vel.x=0;this.vel.y=0;this.accel.x=0;this.accel.y=0;this.gravityFactor=0;if(this.toggle){this.health-=1;if(this.health<=0){this.kill();}}}else{this.gravityFactor=1;}
this.parent();}},handleMovementTrace:function(res){this.parent(res);if(res.collision.x&&ig.game.collisionMap.getTile(this.pos.x+(this.flip?-4:this.size.x),this.pos.y+this.size.y)){this.flip=!this.flip;this.currentAnim.flip.x=!this.flip;}},check:function(other){this.vel.x=(this.flip?this.vel.x-10:this.vel.x+10);},kill:function(){ig.game.playerkills++;if(ig.Sound.enabled){ig.game.monsterdie.play();}
ig.game.botkilledtimer.reset();ig.game.levelscore++;ig.game.removeEntity(this);ig.game.spawnEntity(EnemyBot1Death,this.pos.x,this.pos.y,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});},receiveDamage:function(amount,from,x,y){if(this.inittimer.delta()<0){from.kill();}
else{if(!ig.game.levelcomplete){if(this.hurttimer.delta()>0){this.health-=amount;this.hurttimer.reset();if(this.health<=0){this.kill();}else{var count=ig.ua.mobile?1:1;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Grey,x,y,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_Grey,x,y,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,x,y,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,x,y,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});}
count=ig.ua.mobile?0:0;for(i=0;i<=count;i++){ig.game.spawnEntity(EntityPlayerDebris,x,y,{flip:this.flip,velx:-Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(EntityPlayerDebris,x,y,{flip:this.flip,velx:Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});}}}}}},collideWith:function(other,axis){if(other.collides==ig.Entity.COLLIDES.FIXED&&this.touches(other)){var overlap;var size;if(axis=='y'){size=this.size.y;if(this.pos.y<other.pos.y)overlap=this.pos.y+this.size.y-other.pos.y;else overlap=this.pos.y-(other.pos.y+other.size.y);}else{size=this.size.x;if(this.pos.x<other.pos.x)overlap=this.pos.x+this.size.x-other.pos.x;else overlap=this.pos.x-(other.pos.x+other.size.x);}
overlap=Math.abs(overlap);if(overlap>1){this.receiveDamage(100,other,this.pos.x,this.pos.y);}}}});EntityEnemybot2=ig.Entity.extend({size:{x:30,y:64},offset:{x:19,y:5},maxVel:{x:290,y:1000},friction:{x:300,y:0},type:ig.Entity.TYPE.B,checkAgainst:ig.Entity.TYPE.B,collides:ig.Entity.COLLIDES.PASSIVE,zIndex:1,flip:false,accelGround:600,accelAir:300,jump:500,bounciness:0,health:240,flip:false,hurttimer:null,hurtspacing:.1,inittimer:new ig.Timer(.4),attacktimer:new ig.Timer(.4),landtimer:new ig.Timer(.2),falling:false,flip:false,jetpackfuel:240,jetpackfuelmax:240,currentweapon:0,ammo:0,jetpackenable:new ig.Timer(2),freezetimer:new ig.Timer(2),name:'bot2',toggle:false,weaponenable:new ig.Timer(2),infiniteammo:new ig.Timer(0),healing:new ig.Timer(0),animSheet:new ig.AnimationSheet('media/enemy-robot3.png',68,69),init:function(x,y,settings){this.parent(x,y,settings);this.zIndex=1;this.addAnim('idle',1,[0]);this.addAnim('run',0.1,[1,2,3,4]);this.addAnim('jump',.1,[6,7,8]);this.addAnim('fall1',0.2,[10]);this.addAnim('fall2',0.2,[9]);this.addAnim('attack',.3,[5],[1]);this.addAnim('init',.2,[14,15,16],[1]);this.addAnim('land',.2,[11]);this.addAnim('taunt',.2,[18,19]);this.vel.x=0;this.vel.y=0;this.inittimer.reset();this.attacktimer.reset();this.hurttimer=new ig.Timer(this.hurtspacing);this.currentweapon=0;this.ammo=0;this.jetpackenable.set(0);this.freezetimer.set(0);this.weaponenable.set(0);this.infiniteammo.set(0);this.healing.set(0);this.maxVel.x=this.maxVel.x+Math.floor(Math.random()*(40));},update:function(){if(this.inittimer.delta()<0){this.vel.x=0;this.currentAnim=this.anims.init;this.parent();}else{if(this.jetpackenable.delta()<0){var random=(Math.floor(Math.random()*60));if(random<=5){ig.game.spawnEntity(EntityShockEffect,(this.flip?this.pos.x-this.offset.x-65:this.pos.x+(this.size.x)/2-100),this.pos.y-75,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});this.health-=3;if(this.health<=0){this.kill();}}}
if(ig.game.player){var accel=this.standing?this.accelGround:this.accelAir;if(ig.game.player.pos.x+(!ig.game.player.flip?ig.game.player.size.x:0)<=(this.pos.x+(this.flip?0:this.size.x)-120)){this.accel.x=-accel;this.flip=true;}
else if(ig.game.player.pos.x+(!ig.game.player.flip?ig.game.player.size.x:0)>=(this.pos.x+(this.flip?0:this.size.x)+120)){this.accel.x=accel;this.flip=false;}
else if(ig.game.player.pos.x+(!ig.game.player.flip?ig.game.player.size.x:0)<(this.pos.x+(this.flip?0:this.size.x))-80){this.accel.x=-accel/2;this.flip=true;}else if(ig.game.player.pos.x+(!ig.game.player.flip?ig.game.player.size.x:0)>(this.pos.x+(this.flip?0:this.size.x))+80){this.accel.x=accel/2;this.flip=false;}else{this.accel.x=(this.flip?-accel:accel);}
if(ig.game.player.pos.y<=(this.pos.y-50)){if(this.jetpackfuel>0){this.vel.y=-this.jump;this.jetpackfuel-=4;if(ig.game.fxquality!="low"){ig.game.spawnEntity(EntityJetpackFlare,(this.flip?this.pos.x+this.offset.x-1:this.pos.x-3),this.pos.y+43,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}}}
if(this.item){if(this.distanceTo(this.item)<150){var x=this.pos.x+(this.flip?-this.size.x/2:this.size.x/2);var y=this.pos.y+this.size.y/2;var res=ig.game.collisionMap.trace(x,y,(this.item.pos.x+this.item.size.x/2)-x,(this.item.pos.y+this.item.size.y/2)-y,this.size.x,this.size.y);if(!res.collision.x&&!res.collision.y){var angle=this.angleTo(this.item);this.vel.x=Math.cos(angle)*Math.abs(this.maxVel.x);if(this.vel.x<0){this.flip=true;}else{this.flip=false;}
this.vel.y=Math.sin(angle)*Math.abs(this.maxVel.y);if(this.vel.y<0&&this.jetpackfuel>0){this.vel.y=Math.sin(angle)*Math.abs(this.maxVel.y);if(Math.abs(this.vel.y)<20){this.vel.y=-50};this.jetpackfuel-=4;if(ig.game.fxquality!="low"){ig.game.spawnEntity(EntityJetpackFlare,(this.flip?this.pos.x+this.offset.x-1:this.pos.x-3),this.pos.y+43,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}}else if(this.vel.y<0&&this.jetpackfuel<=0){this.vel.y=Math.abs(this.vel.y+this.accelAir);this.accel.x=0;}}else{}}}}else{this.accel.x=0;}
if(this.standing&&this.landtimer.delta()<0){this.currentAnim=this.anims.land;this.currentAnim.flip.x=this.flip;}
else if(this.vel.y<0&&!this.standing){this.currentAnim=this.anims.jump;}
else if(this.vel.y>0&&this.vel.y<100&&!this.standing){this.falling=true;this.currentAnim=this.anims.fall1;}
else if(this.vel.y>100&&!this.standing){this.currentAnim=this.anims.fall2;}
else if(Math.abs(this.vel.x)>40){if(this.standing&&this.jetpackenable.delta()>0){this.jetpackfuel=this.jetpackfuelmax;}
this.currentAnim=this.anims.run;}
else{this.currentAnim=this.anims.idle;if(this.standing&&this.jetpackenable.delta()>0){this.jetpackfuel=this.jetpackfuelmax;}}
if(this.standing&&this.falling==true){this.landtimer.reset();this.falling=false;}
this.currentAnim.flip.x=this.flip;if(ig.game.player){if((ig.game.player.pos.x<=this.pos.x&&this.flip)||(ig.game.player.pos.x>=this.pos.x&&!this.flip)){if(Math.abs(ig.game.player.pos.y-this.pos.y)<60){if(this.distanceTo(ig.game.player)<600&&this.attacktimer.delta()>0){if(this.weaponenable.delta()>0){this.currentAnim=this.anims.attack;this.currentAnim.flip.x=this.flip;if(ig.game.fxquality!="low"){ig.game.spawnEntity(EntityGunFlare,(this.flip?this.pos.x-this.offset.x-24:this.pos.x+this.size.x+this.offset.x),this.pos.y+25,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}
switch(this.currentweapon){case 0:ig.game.spawnEntity(EntityWeaponDefault,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 1:ig.game.spawnEntity(EntityWeaponBounceBeam,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 2:ig.game.spawnEntity(EntityWeaponGrenade,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,vely:-100,owner:'bot'});break;case 3:ig.game.spawnEntity(EntityWeaponDefault,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});ig.game.spawnEntity(EntityWeaponSplitUp,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});ig.game.spawnEntity(EntityWeaponSplitDown,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 4:ig.game.spawnEntity(EntityWeaponBounceBeam,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});ig.game.spawnEntity(EntityWeaponSplitBounceUp,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});ig.game.spawnEntity(EntityWeaponSplitBounceDown,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 5:ig.game.spawnEntity(EntityWeaponThruBeam,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 6:ig.game.spawnEntity(EntityWeaponShocker,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 7:ig.game.spawnEntity(EntityWeaponFreeze,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 8:ig.game.spawnEntity(EntityWeaponMine,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x,vely:-100,owner:'bot'});break;case 9:ig.game.spawnEntity(EntityWeaponVampire,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:this.name});break;case 10:ig.game.spawnEntity(EntityWeaponNuke,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 11:ig.game.spawnEntity(EntityWeaponHeatseeker,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 12:ig.game.spawnEntity(EntityWeaponJammer,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 13:ig.game.spawnEntity(EntityWeaponBounceMine,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 14:ig.game.spawnEntity(EntityWeaponSplitBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,velx:this.vel.x,vely:0,owner:'bot'});break;case 15:ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+200,vely:-800,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+400,vely:-600,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+600,vely:-400,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+800,vely:-200,owner:'bot'});break;case 16:ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-600,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-400,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-200,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-0,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:200,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:400,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:600,owner:'bot'});break;}
if(this.infiniteammo.delta()>=0){if(this.currentweapon>0){this.ammo=this.ammo-10;if(this.ammo<=0){this.currentweapon=0;}}}}
this.attacktimer.reset();}}}}
if(this.attacktimer.delta()<-.1){this.currentAnim=this.anims.attack;this.currentAnim.flip.x=this.flip;}
if(!ig.game.player&&this.standing&&this.vel.x==0){this.currentAnim=this.anims.taunt;this.currentAnim.flip.x=this.flip;if(this.health<240){this.health++;ig.game.spawnEntity(EntityHealEffect,(this.flip?this.pos.x-this.offset.x-65:this.pos.x+(this.size.x)/2-100),this.pos.y-75,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}}
if(this.healing.delta()<0){ig.game.spawnEntity(EntityHealEffect,(this.flip?this.pos.x-this.offset.x-65:this.pos.x+(this.size.x)/2-100),this.pos.y-75,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});if(this.health<240){this.health++;}}
if(this.freezetimer.delta()<0){this.toggle=!this.toggle;this.jetpackfuel=0;this.vel.x=0;this.vel.y=0;this.accel.x=0;this.accel.y=0;this.gravityFactor=0;if(this.toggle){this.health-=1;if(this.health<=0){this.kill();}}}else{this.gravityFactor=1;}
this.parent();}},handleMovementTrace:function(res){this.parent(res);if(res.collision.x&&ig.game.collisionMap.getTile(this.pos.x+(this.flip?-4:this.size.x),this.pos.y+this.size.y)){this.flip=!this.flip;this.currentAnim.flip.x=!this.flip;}},check:function(other){},kill:function(){ig.game.playerkills++;if(ig.Sound.enabled){ig.game.monsterdie.play();}
ig.game.botkilledtimer.reset();ig.game.levelscore++;ig.game.removeEntity(this);ig.game.spawnEntity(EnemyBot2Death,this.pos.x,this.pos.y,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});},receiveDamage:function(amount,from,x,y){if(this.inittimer.delta()<0){from.kill();}
else{if(!ig.game.levelcomplete){if(this.hurttimer.delta()>0){this.health-=amount;this.hurttimer.reset();if(this.health<=0){this.kill();}else{var count=ig.ua.mobile?1:1;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Grey,x,y,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_Grey,x,y,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,x,y,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,x,y,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});}
count=ig.ua.mobile?0:0;for(i=0;i<=count;i++){ig.game.spawnEntity(EntityPlayerDebris,x,y,{flip:this.flip,velx:-Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(EntityPlayerDebris,x,y,{flip:this.flip,velx:Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});}}}}}},collideWith:function(other,axis){if(other.collides==ig.Entity.COLLIDES.FIXED&&this.touches(other)){var overlap;var size;if(axis=='y'){size=this.size.y;if(this.pos.y<other.pos.y)overlap=this.pos.y+this.size.y-other.pos.y;else overlap=this.pos.y-(other.pos.y+other.size.y);}else{size=this.size.x;if(this.pos.x<other.pos.x)overlap=this.pos.x+this.size.x-other.pos.x;else overlap=this.pos.x-(other.pos.x+other.size.x);}
overlap=Math.abs(overlap);if(overlap>1){this.receiveDamage(100,other,this.pos.x,this.pos.y);}}}});EntityEnemybot3=ig.Entity.extend({size:{x:30,y:64},offset:{x:19,y:5},maxVel:{x:290,y:1000},friction:{x:300,y:0},type:ig.Entity.TYPE.B,checkAgainst:ig.Entity.TYPE.B,collides:ig.Entity.COLLIDES.PASSIVE,zIndex:1,flip:false,accelGround:600,accelAir:300,jump:500,bounciness:0,health:240,flip:false,hurttimer:null,hurtspacing:.1,inittimer:new ig.Timer(.4),attacktimer:new ig.Timer(.4),landtimer:new ig.Timer(.2),falling:false,flip:false,jetpackfuel:240,jetpackfuelmax:240,currentweapon:0,ammo:0,jetpackenable:new ig.Timer(2),freezetimer:new ig.Timer(2),name:'bot3',toggle:false,weaponenable:new ig.Timer(2),infiniteammo:new ig.Timer(0),healing:new ig.Timer(0),animSheet:new ig.AnimationSheet('media/enemy-robot2.png',68,69),init:function(x,y,settings){this.parent(x,y,settings);this.zIndex=1;this.addAnim('idle',1,[0]);this.addAnim('run',0.1,[1,2,3,4]);this.addAnim('jump',.1,[6,7,8]);this.addAnim('fall1',0.2,[10]);this.addAnim('fall2',0.2,[9]);this.addAnim('attack',.3,[5],[1]);this.addAnim('init',.2,[14,15,16],[1]);this.addAnim('land',.2,[11]);this.addAnim('taunt',.2,[18,19]);this.vel.x=0;this.vel.y=0;this.inittimer.reset();this.attacktimer.reset();this.hurttimer=new ig.Timer(this.hurtspacing);this.currentweapon=0;this.ammo=0;this.jetpackenable.set(0);this.freezetimer.set(0);this.weaponenable.set(0);this.infiniteammo.set(0);this.healing.set(0);this.maxVel.x=this.maxVel.x+Math.floor(Math.random()*(40));},update:function(){if(this.inittimer.delta()<0){this.vel.x=0;this.currentAnim=this.anims.init;this.parent();}else{if(this.jetpackenable.delta()<0){var random=(Math.floor(Math.random()*60));if(random<=5){ig.game.spawnEntity(EntityShockEffect,(this.flip?this.pos.x-this.offset.x-65:this.pos.x+(this.size.x)/2-100),this.pos.y-75,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});this.health-=3;if(this.health<=0){this.kill();}}}
if(ig.game.player){var accel=this.standing?this.accelGround:this.accelAir;if(ig.game.player.pos.x+(!ig.game.player.flip?ig.game.player.size.x:0)<=(this.pos.x+(this.flip?0:this.size.x)-120)){this.accel.x=-accel;this.flip=true;}
else if(ig.game.player.pos.x+(!ig.game.player.flip?ig.game.player.size.x:0)>=(this.pos.x+(this.flip?0:this.size.x)+120)){this.accel.x=accel;this.flip=false;}
else if(ig.game.player.pos.x+(!ig.game.player.flip?ig.game.player.size.x:0)<(this.pos.x+(this.flip?0:this.size.x))-80){this.accel.x=-accel/2;this.flip=true;}else if(ig.game.player.pos.x+(!ig.game.player.flip?ig.game.player.size.x:0)>(this.pos.x+(this.flip?0:this.size.x))+80){this.accel.x=accel/2;this.flip=false;}else{this.accel.x=(this.flip?-accel:accel);}
if(ig.game.player.pos.y<=(this.pos.y-50)){if(this.jetpackfuel>0){this.vel.y=-this.jump;this.jetpackfuel-=4;if(ig.game.fxquality!="low"){ig.game.spawnEntity(EntityJetpackFlare,(this.flip?this.pos.x+this.offset.x-1:this.pos.x-3),this.pos.y+43,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}}}
if(this.item){if(this.distanceTo(this.item)<150){var x=this.pos.x+(this.flip?-this.size.x/2:this.size.x/2);var y=this.pos.y+this.size.y/2;var res=ig.game.collisionMap.trace(x,y,(this.item.pos.x+this.item.size.x/2)-x,(this.item.pos.y+this.item.size.y/2)-y,this.size.x,this.size.y);if(!res.collision.x&&!res.collision.y){var angle=this.angleTo(this.item);this.vel.x=Math.cos(angle)*Math.abs(this.maxVel.x);if(this.vel.x<0){this.flip=true;}else{this.flip=false;}
this.vel.y=Math.sin(angle)*Math.abs(this.maxVel.y);if(this.vel.y<0&&this.jetpackfuel>0){this.vel.y=Math.sin(angle)*Math.abs(this.maxVel.y);if(Math.abs(this.vel.y)<20){this.vel.y=-50};this.jetpackfuel-=4;if(ig.game.fxquality!="low"){ig.game.spawnEntity(EntityJetpackFlare,(this.flip?this.pos.x+this.offset.x-1:this.pos.x-3),this.pos.y+43,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}}else if(this.vel.y<0&&this.jetpackfuel<=0){this.vel.y=Math.abs(this.vel.y+this.accelAir);this.accel.x=0;}}else{}}}}else{this.accel.x=0;}
if(this.standing&&this.landtimer.delta()<0){this.currentAnim=this.anims.land;this.currentAnim.flip.x=this.flip;}
else if(this.vel.y<0&&!this.standing){this.currentAnim=this.anims.jump;}
else if(this.vel.y>0&&this.vel.y<100&&!this.standing){this.falling=true;this.currentAnim=this.anims.fall1;}
else if(this.vel.y>100&&!this.standing){this.currentAnim=this.anims.fall2;}
else if(Math.abs(this.vel.x)>40){if(this.standing&&this.jetpackenable.delta()>0){this.jetpackfuel=this.jetpackfuelmax;}
this.currentAnim=this.anims.run;}
else{this.currentAnim=this.anims.idle;if(this.standing&&this.jetpackenable.delta()>0){this.jetpackfuel=this.jetpackfuelmax;}}
if(this.standing&&this.falling==true){this.landtimer.reset();this.falling=false;}
this.currentAnim.flip.x=this.flip;if(ig.game.player){if((ig.game.player.pos.x<=this.pos.x&&this.flip)||(ig.game.player.pos.x>=this.pos.x&&!this.flip)){if(Math.abs(ig.game.player.pos.y-this.pos.y)<60){if(this.distanceTo(ig.game.player)<600&&this.attacktimer.delta()>0){if(this.weaponenable.delta()>0){this.currentAnim=this.anims.attack;this.currentAnim.flip.x=this.flip;if(ig.game.fxquality!="low"){ig.game.spawnEntity(EntityGunFlare,(this.flip?this.pos.x-this.offset.x-24:this.pos.x+this.size.x+this.offset.x),this.pos.y+25,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}
switch(this.currentweapon){case 0:ig.game.spawnEntity(EntityWeaponDefault,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 1:ig.game.spawnEntity(EntityWeaponBounceBeam,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 2:ig.game.spawnEntity(EntityWeaponGrenade,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,vely:-100,owner:'bot'});break;case 3:ig.game.spawnEntity(EntityWeaponDefault,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});ig.game.spawnEntity(EntityWeaponSplitUp,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});ig.game.spawnEntity(EntityWeaponSplitDown,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 4:ig.game.spawnEntity(EntityWeaponBounceBeam,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});ig.game.spawnEntity(EntityWeaponSplitBounceUp,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});ig.game.spawnEntity(EntityWeaponSplitBounceDown,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 5:ig.game.spawnEntity(EntityWeaponThruBeam,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 6:ig.game.spawnEntity(EntityWeaponShocker,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 7:ig.game.spawnEntity(EntityWeaponFreeze,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 8:ig.game.spawnEntity(EntityWeaponMine,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x,vely:-100,owner:'bot'});break;case 9:ig.game.spawnEntity(EntityWeaponVampire,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:this.name});break;case 10:ig.game.spawnEntity(EntityWeaponNuke,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 11:ig.game.spawnEntity(EntityWeaponHeatseeker,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,owner:'bot'});break;case 12:ig.game.spawnEntity(EntityWeaponJammer,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 13:ig.game.spawnEntity(EntityWeaponBounceMine,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,owner:'bot'});break;case 14:ig.game.spawnEntity(EntityWeaponSplitBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,velx:this.vel.x,vely:0,owner:'bot'});break;case 15:ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+200,vely:-800,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+400,vely:-600,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+600,vely:-400,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBomb,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+13,{flip:this.flip,velx:this.vel.x+800,vely:-200,owner:'bot'});break;case 16:ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-600,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-400,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-200,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:-0,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:200,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:400,owner:'bot'});ig.game.spawnEntity(EntityWeaponScatterBeam,(this.flip?this.pos.x-this.offset.x-14:this.pos.x+this.size.x+this.offset.x),this.pos.y+29,{flip:this.flip,vely:600,owner:'bot'});break;}
if(this.infiniteammo.delta()>=0){if(this.currentweapon>0){this.ammo=this.ammo-10;if(this.ammo<=0){this.currentweapon=0;}}}}
this.attacktimer.reset();}}}}
if(this.attacktimer.delta()<-.1){this.currentAnim=this.anims.attack;this.currentAnim.flip.x=this.flip;}
if(!ig.game.player&&this.standing&&this.vel.x==0){this.currentAnim=this.anims.taunt;this.currentAnim.flip.x=this.flip;if(this.health<240){this.health++;ig.game.spawnEntity(EntityHealEffect,(this.flip?this.pos.x-this.offset.x-65:this.pos.x+(this.size.x)/2-100),this.pos.y-75,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});}}
if(this.healing.delta()<0){ig.game.spawnEntity(EntityHealEffect,(this.flip?this.pos.x-this.offset.x-65:this.pos.x+(this.size.x)/2-100),this.pos.y-75,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});if(this.health<240){this.health++;}}
if(this.freezetimer.delta()<0){this.toggle=!this.toggle;this.jetpackfuel=0;this.vel.x=0;this.vel.y=0;this.accel.x=0;this.accel.y=0;this.gravityFactor=0;if(this.toggle){this.health-=1;if(this.health<=0){this.kill();}}}else{this.gravityFactor=1;}
this.parent();}},handleMovementTrace:function(res){this.parent(res);if(res.collision.x&&ig.game.collisionMap.getTile(this.pos.x+(this.flip?-4:this.size.x),this.pos.y+this.size.y)){this.flip=!this.flip;this.currentAnim.flip.x=!this.flip;}},check:function(other){this.vel.x=(this.flip?this.vel.x-30:this.vel.x+30);},kill:function(){ig.game.playerkills++;if(ig.Sound.enabled){ig.game.monsterdie.play();}
ig.game.botkilledtimer.reset();ig.game.levelscore++;ig.game.removeEntity(this);ig.game.spawnEntity(EnemyBot3Death,this.pos.x,this.pos.y,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});},receiveDamage:function(amount,from,x,y){if(this.inittimer.delta()<0){from.kill();}
else{if(!ig.game.levelcomplete){if(this.hurttimer.delta()>0){this.health-=amount;this.hurttimer.reset();if(this.health<=0){this.kill();}else{var count=ig.ua.mobile?1:1;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Grey,x,y,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_Grey,x,y,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,x,y,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,x,y,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});}
count=ig.ua.mobile?0:0;for(i=0;i<=count;i++){ig.game.spawnEntity(EntityPlayerDebris,x,y,{flip:this.flip,velx:-Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(EntityPlayerDebris,x,y,{flip:this.flip,velx:Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});}}}}}},collideWith:function(other,axis){if(other.collides==ig.Entity.COLLIDES.FIXED&&this.touches(other)){var overlap;var size;if(axis=='y'){size=this.size.y;if(this.pos.y<other.pos.y)overlap=this.pos.y+this.size.y-other.pos.y;else overlap=this.pos.y-(other.pos.y+other.size.y);}else{size=this.size.x;if(this.pos.x<other.pos.x)overlap=this.pos.x+this.size.x-other.pos.x;else overlap=this.pos.x-(other.pos.x+other.size.x);}
overlap=Math.abs(overlap);if(overlap>1){this.receiveDamage(100,other,this.pos.x,this.pos.y);}}}});EnemyBot1Death=ig.Entity.extend({size:{x:30,y:51},offset:{x:19,y:0},maxVel:{x:500,y:500},bounciness:0,lifetime:3,fadetime:1,type:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.PASSIVE,animSheet:new ig.AnimationSheet('media/enemy-robot1.png',68,69),init:function(x,y,settings){this.parent(x,y,settings);this.zIndex=5;this.vel.x=settings.velx/10;this.vel.y=-(Math.random()*Math.abs(this.maxVel.x/2));ig.game.spawnEntity(EntityEnemyBot1Head,this.pos.x,this.pos.y,{flip:this.flip,velx:-settings.velx});ig.game.spawnEntity(EntityEnemyBot1Wheel,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});ig.game.spawnEntity(EntityPlayerJetpack,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});ig.game.spawnEntity(EntityPlayerArm,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});ig.game.spawnEntity(EntityPlayerJaw,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});var count=ig.ua.mobile?2:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Grey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_Grey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});}
count=ig.ua.mobile?2:5;for(i=0;i<=count;i++){ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:-Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});}
this.addAnim('die',.3,[12,13]);this.currentAnim=this.anims.die;this.idleTimer=new ig.Timer();},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.vel.x=this.vel.x*.9;this.vel.y=this.vel.y*.9;}},update:function(){this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);if(this.idleTimer.delta()>this.lifetime){this.kill();return;}
this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);this.parent();}});EnemyBot2Death=ig.Entity.extend({size:{x:30,y:51},offset:{x:19,y:0},maxVel:{x:500,y:500},bounciness:0,lifetime:3,fadetime:1,type:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.PASSIVE,animSheet:new ig.AnimationSheet('media/enemy-robot3.png',68,69),init:function(x,y,settings){this.parent(x,y,settings);this.zIndex=5;this.vel.x=settings.velx/10;this.vel.y=-(Math.random()*Math.abs(this.maxVel.x/2));ig.game.spawnEntity(EntityEnemyBot2Head,this.pos.x,this.pos.y,{flip:this.flip,velx:-settings.velx});ig.game.spawnEntity(EntityEnemyBot2Wheel,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});ig.game.spawnEntity(EntityPlayerJetpack,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});ig.game.spawnEntity(EntityPlayerArm,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});ig.game.spawnEntity(EntityPlayerJaw,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});var count=ig.ua.mobile?2:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Grey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_Grey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});}
count=ig.ua.mobile?2:5;for(i=0;i<=count;i++){ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:-Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});}
this.addAnim('die',.3,[12,13]);this.currentAnim=this.anims.die;this.idleTimer=new ig.Timer();},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.vel.x=this.vel.x*.9;this.vel.y=this.vel.y*.9;}},update:function(){this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);if(this.idleTimer.delta()>this.lifetime){this.kill();return;}
this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);this.parent();}});EnemyBot3Death=ig.Entity.extend({size:{x:30,y:51},offset:{x:19,y:0},maxVel:{x:500,y:500},bounciness:0,lifetime:3,fadetime:1,type:ig.Entity.TYPE.NONE,collides:ig.Entity.COLLIDES.PASSIVE,animSheet:new ig.AnimationSheet('media/enemy-robot2.png',68,69),init:function(x,y,settings){this.parent(x,y,settings);this.zIndex=5;this.vel.x=settings.velx/10;this.vel.y=-(Math.random()*Math.abs(this.maxVel.x/2));ig.game.spawnEntity(EntityEnemyBot3Head,this.pos.x,this.pos.y,{flip:this.flip,velx:-settings.velx});ig.game.spawnEntity(EntityEnemyBot3Wheel,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});ig.game.spawnEntity(EntityPlayerJetpack,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});ig.game.spawnEntity(EntityPlayerArm,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});ig.game.spawnEntity(EntityPlayerJaw,this.pos.x,this.pos.y,{flip:this.flip,velx:settings.velx});var count=ig.ua.mobile?2:10;for(i=0;i<=count;i++){ig.game.spawnEntity(Particle_Grey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_Grey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(true?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(Particle_DarkGrey,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:(false?-Math.floor(Math.random()*this.maxVel.x/4):Math.floor(Math.random()*this.maxVel.x/4)),vely:Math.floor(Math.random()*this.maxVel.y/2)});}
count=ig.ua.mobile?2:5;for(i=0;i<=count;i++){ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:-Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});ig.game.spawnEntity(EntityPlayerDebris,this.pos.x+(this.flip?0:this.size.x/2),this.pos.y+this.size.y/2,{flip:this.flip,velx:Math.floor(Math.random()*this.maxVel.x/4),vely:-Math.floor(Math.random()*this.maxVel.y/2)});}
this.addAnim('die',.3,[12,13]);this.currentAnim=this.anims.die;this.idleTimer=new ig.Timer();},handleMovementTrace:function(res){this.parent(res);if(res.collision.x||res.collision.y){this.vel.x=this.vel.x*.9;this.vel.y=this.vel.y*.9;}},update:function(){this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);if(this.idleTimer.delta()>this.lifetime){this.kill();return;}
this.currentAnim.alpha=1-(this.idleTimer.delta()/this.lifetime);this.parent();}});});

// lib/game/entities/hazardblade.js
ig.baked=true;ig.module('game.entities.hazardblade').requires('impact.entity').defines(function(){EntityHazardblade=ig.Entity.extend({size:{x:672,y:16},offset:{x:0,y:0},maxVel:{x:100,y:100},_wmDrawBox:true,_wmBoxColor:'rgba(0, 255, 100, 0.7)',type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.BOTH,collides:ig.Entity.COLLIDES.PASSIVE,_wmDrawBox:true,_wmBoxColor:'rgba(255, 0, 100, 0.7)',target:null,targets:[],currentTarget:0,speed:0,gravityFactor:0,animSheet:new ig.AnimationSheet('media/hazard-blade.png',672,16),init:function(x,y,settings){this.addAnim('idle',.05,[0,1,2,1]);this.curentAnim=this.anims.idle;this.parent(x,y,settings);if(this.target){this.targets=ig.ksort(this.target);}},update:function(){if(this.target){var oldDistance=0;var target=ig.game.getEntityByName(this.targets[this.currentTarget]);if(target){oldDistance=this.distanceTo(target);var angle=this.angleTo(target);this.vel.x=Math.cos(angle)*this.speed;this.vel.y=Math.sin(angle)*this.speed;}
else{this.vel.x=0;this.vel.y=0;}
var newDistance=this.distanceTo(target);if(target&&(newDistance>oldDistance||newDistance<0.5)){this.pos.x=target.pos.x+target.size.x/2-this.size.x/2;this.pos.y=target.pos.y+target.size.y/2-this.size.y/2;this.currentTarget++;if(this.currentTarget>=this.targets.length&&this.targets.length>1){this.currentTarget=0;}}}else{this.vel.x=0;this.vel.y=0;}
this.parent();},check:function(other){other.receiveDamage(1000,this,this.pos.x,this.pos.y);},receiveDamage:function(amount,from,x,y){this.health=this.health;}});});

// lib/game/entities/hazardacid.js
ig.baked=true;ig.module('game.entities.hazardacid').requires('impact.entity').defines(function(){EntityHazardacid=ig.Entity.extend({size:{x:672,y:16},offset:{x:0,y:0},maxVel:{x:100,y:100},_wmDrawBox:true,_wmBoxColor:'rgba(0, 255, 100, 0.7)',type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.BOTH,collides:ig.Entity.COLLIDES.PASSIVE,_wmDrawBox:true,_wmBoxColor:'rgba(255, 0, 100, 0.7)',target:null,targets:[],currentTarget:0,speed:0,gravityFactor:0,animSheet:new ig.AnimationSheet('media/hazard-acid.png',672,16),init:function(x,y,settings){this.addAnim('idle',.3,[0,1,2,1]);this.curentAnim=this.anims.idle;this.parent(x,y,settings);if(this.target){this.targets=ig.ksort(this.target);}},update:function(){if(this.target){var oldDistance=0;var target=ig.game.getEntityByName(this.targets[this.currentTarget]);if(target){oldDistance=this.distanceTo(target);var angle=this.angleTo(target);this.vel.x=Math.cos(angle)*this.speed;this.vel.y=Math.sin(angle)*this.speed;}
else{this.vel.x=0;this.vel.y=0;}
var newDistance=this.distanceTo(target);if(target&&(newDistance>oldDistance||newDistance<0.5)){this.pos.x=target.pos.x+target.size.x/2-this.size.x/2;this.pos.y=target.pos.y+target.size.y/2-this.size.y/2;this.currentTarget++;if(this.currentTarget>=this.targets.length&&this.targets.length>1){this.currentTarget=0;}}}else{this.vel.x=0;this.vel.y=0;}
this.parent();},check:function(other){other.receiveDamage(1000,this,this.pos.x,this.pos.y);},receiveDamage:function(amount,from,x,y){this.health=this.health;}});});

// lib/game/entities/hazardcanonleft.js
ig.baked=true;ig.module('game.entities.hazardcanonleft').requires('impact.entity').defines(function(){EntityHazardcanonleft=ig.Entity.extend({size:{x:16,y:16},offset:{x:0,y:0},maxVel:{x:500,y:500},_wmDrawBox:true,_wmBoxColor:'rgba(0, 255, 100, 0.7)',type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.BOTH,collides:ig.Entity.COLLIDES.FIXED,_wmDrawBox:true,_wmBoxColor:'rgba(255, 0, 100, 0.7)',target:null,targets:[],currentTarget:0,speed:0,gravityFactor:0,emittimer:null,flip:false,animSheet:new ig.AnimationSheet('media/hazard-canon-left.png',16,16),init:function(x,y,settings){this.addAnim('idle',1.25,[0,1,2,3]);this.curentAnim=this.anims.idle;this.parent(x,y,settings);this.emittimer=new ig.Timer(5);if(this.target){this.targets=ig.ksort(this.target);}},update:function(){if(this.emittimer.delta()>0){ig.game.spawnEntity(EntityGunFlare,(this.flip?this.pos.x-this.offset.x-24:this.pos.x+this.size.x+this.offset.x),this.pos.y,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});ig.game.spawnEntity(EntityWeaponDefault,(this.flip?this.pos.x-this.offset.x-12:this.pos.x+this.size.x+this.offset.x),this.pos.y+2,{flip:this.flip,owner:'bot'});this.emittimer.reset();}
if(this.target){var oldDistance=0;var target=ig.game.getEntityByName(this.targets[this.currentTarget]);if(target){oldDistance=this.distanceTo(target);var angle=this.angleTo(target);this.vel.x=Math.cos(angle)*this.speed;this.vel.y=Math.sin(angle)*this.speed;}
else{this.vel.x=0;this.vel.y=0;}
var newDistance=this.distanceTo(target);if(target&&(newDistance>oldDistance||newDistance<0.5)){this.pos.x=target.pos.x+target.size.x/2-this.size.x/2;this.pos.y=target.pos.y+target.size.y/2-this.size.y/2;this.currentTarget++;if(this.currentTarget>=this.targets.length&&this.targets.length>1){this.currentTarget=0;}}}else{this.vel.x=0;this.vel.y=0;}
this.parent();},receiveDamage:function(amount,from,x,y){this.health=this.health;}});});

// lib/game/entities/hazardcanonright.js
ig.baked=true;ig.module('game.entities.hazardcanonright').requires('impact.entity').defines(function(){EntityHazardcanonright=ig.Entity.extend({size:{x:16,y:16},offset:{x:0,y:0},maxVel:{x:500,y:500},_wmDrawBox:true,_wmBoxColor:'rgba(0, 255, 100, 0.7)',type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.BOTH,collides:ig.Entity.COLLIDES.FIXED,_wmDrawBox:true,_wmBoxColor:'rgba(255, 0, 100, 0.7)',target:null,targets:[],currentTarget:0,speed:0,gravityFactor:0,emittimer:null,flip:true,animSheet:new ig.AnimationSheet('media/hazard-canon-right.png',16,16),init:function(x,y,settings){this.addAnim('idle',1.25,[0,1,2,3]);this.curentAnim=this.anims.idle;this.parent(x,y,settings);this.emittimer=new ig.Timer(5);if(this.target){this.targets=ig.ksort(this.target);}},update:function(){if(this.emittimer.delta()>0){ig.game.spawnEntity(EntityGunFlare,(this.flip?this.pos.x-this.offset.x-24:this.pos.x+this.size.x+this.offset.x),this.pos.y,{flip:this.flip,velx:this.vel.x,vely:this.vel.y});ig.game.spawnEntity(EntityWeaponDefault,(this.flip?this.pos.x-this.offset.x-32:this.pos.x+this.size.x+this.offset.x),this.pos.y+2,{flip:this.flip,owner:'bot'});this.emittimer.reset();}
if(this.target){var oldDistance=0;var target=ig.game.getEntityByName(this.targets[this.currentTarget]);if(target){oldDistance=this.distanceTo(target);var angle=this.angleTo(target);this.vel.x=Math.cos(angle)*this.speed;this.vel.y=Math.sin(angle)*this.speed;}
else{this.vel.x=0;this.vel.y=0;}
var newDistance=this.distanceTo(target);if(target&&(newDistance>oldDistance||newDistance<0.5)){this.pos.x=target.pos.x+target.size.x/2-this.size.x/2;this.pos.y=target.pos.y+target.size.y/2-this.size.y/2;this.currentTarget++;if(this.currentTarget>=this.targets.length&&this.targets.length>1){this.currentTarget=0;}}}else{this.vel.x=0;this.vel.y=0;}
this.parent();},receiveDamage:function(amount,from,x,y){this.health=this.health;}});});

// lib/game/entities/hazardsawblade.js
ig.baked=true;ig.module('game.entities.hazardsawblade').requires('impact.entity').defines(function(){EntityHazardsawblade=ig.Entity.extend({size:{x:128,y:128},offset:{x:0,y:0},maxVel:{x:100,y:100},_wmDrawBox:true,_wmBoxColor:'rgba(0, 255, 100, 0.7)',type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.BOTH,collides:ig.Entity.COLLIDES.PASSIVE,_wmDrawBox:true,_wmBoxColor:'rgba(255, 0, 100, 0.7)',target:null,targets:[],currentTarget:0,speed:0,gravityFactor:0,animSheet:new ig.AnimationSheet('media/hazard-sawblade.png',128,128),init:function(x,y,settings){this.zIndex=-5;this.addAnim('idle',.05,[0,1,2]);this.curentAnim=this.anims.idle;this.parent(x,y,settings);if(this.target){this.targets=ig.ksort(this.target);}},update:function(){if(this.target){var oldDistance=0;var target=ig.game.getEntityByName(this.targets[this.currentTarget]);if(target){oldDistance=this.distanceTo(target);var angle=this.angleTo(target);this.vel.x=Math.cos(angle)*this.speed;this.vel.y=Math.sin(angle)*this.speed;}
else{this.vel.x=0;this.vel.y=0;}
var newDistance=this.distanceTo(target);if(target&&(newDistance>oldDistance||newDistance<0.5)){this.pos.x=target.pos.x+target.size.x/2-this.size.x/2;this.pos.y=target.pos.y+target.size.y/2-this.size.y/2;this.currentTarget++;if(this.currentTarget>=this.targets.length&&this.targets.length>1){this.currentTarget=0;}}}else{this.vel.x=0;this.vel.y=0;}
this.parent();},check:function(other){other.receiveDamage(1000,this,this.pos.x,this.pos.y);},receiveDamage:function(amount,from,x,y){this.health=this.health;}});});

// lib/game/entities/void.js
ig.baked=true;ig.module('game.entities.void').requires('impact.entity').defines(function(){EntityVoid=ig.Entity.extend({_wmDrawBox:true,_wmBoxColor:'rgba(128, 28, 230, 0.7)',size:{x:16,y:16},update:function(){}});});

// lib/game/entities/botwarninglow.js
ig.baked=true;ig.module('game.entities.botwarninglow').requires('impact.entity').defines(function(){EntityBotwarninglow=ig.Entity.extend({_wmScalable:true,_wmDrawBox:true,_wmBoxColor:'rgba(200, 255, 50, 0.7)',type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.B,collides:ig.Entity.COLLIDES.PASSIVE,size:{x:16,y:16},strength:0,update:function(){},check:function(other){if(other.jetpackenable.delta()>0){other.vel.y=other.vel.y-this.strength;}}});});

// lib/game/entities/botwarninghigh.js
ig.baked=true;ig.module('game.entities.botwarninghigh').requires('impact.entity').defines(function(){EntityBotwarninghigh=ig.Entity.extend({_wmScalable:true,_wmDrawBox:true,_wmBoxColor:'rgba(200, 255, 50, 0.7)',type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.B,collides:ig.Entity.COLLIDES.PASSIVE,size:{x:16,y:16},strength:0,update:function(){},check:function(other){other.vel.y=other.vel.y+this.strength;other.jetpackfuel=0;}});});

// lib/game/entities/botwarningleft.js
ig.baked=true;ig.module('game.entities.botwarningleft').requires('impact.entity').defines(function(){EntityBotwarningleft=ig.Entity.extend({_wmScalable:true,_wmDrawBox:true,_wmBoxColor:'rgba(200, 255, 50, 0.7)',type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.B,collides:ig.Entity.COLLIDES.PASSIVE,size:{x:16,y:16},strength:0,update:function(){},check:function(other){other.vel.x=other.vel.x+this.strength;}});});

// lib/game/entities/botwarningright.js
ig.baked=true;ig.module('game.entities.botwarningright').requires('impact.entity').defines(function(){EntityBotwarningright=ig.Entity.extend({_wmScalable:true,_wmDrawBox:true,_wmBoxColor:'rgba(200, 255, 50, 0.7)',type:ig.Entity.TYPE.NONE,checkAgainst:ig.Entity.TYPE.B,collides:ig.Entity.COLLIDES.PASSIVE,size:{x:16,y:16},strength:0,update:function(){},check:function(other){other.vel.x=other.vel.x-this.strength;}});});

// lib/game/levels/1.js
ig.baked=true;ig.module('game.levels.1').requires('impact.image').defines(function(){Level1={"entities":[{"type":"EntitySpring","x":560,"y":528},{"type":"EntitySpring","x":112,"y":528},{"type":"EntityLeveltime","x":348,"y":288},{"type":"EntityItemspawner","x":112,"y":144},{"type":"EntityItemspawner","x":560,"y":148},{"type":"EntityItemspawner","x":560,"y":644},{"type":"EntityItemspawner","x":108,"y":644},{"type":"EntityEnemyspawner","x":560,"y":104},{"type":"EntityEnemyspawner","x":112,"y":104},{"type":"EntityEnemyspawner","x":108,"y":600},{"type":"EntityEnemyspawner","x":560,"y":600},{"type":"EntityPlayerspawner","x":340,"y":312},{"type":"EntitySpringshadow","x":112,"y":544},{"type":"EntitySpringshadow","x":560,"y":544}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl1.png","repeat":true,"distance":"1","tilesize":176,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-8x8.png","repeat":false,"distance":"1","tilesize":16,"data":[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}]};Level1Resources=[new ig.Image('media/background-lvl1.png'),new ig.Image('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/levels/2.js
ig.baked=true;ig.module('game.levels.2').requires('impact.image').defines(function(){Level2={"entities":[{"type":"EntitySpring","x":336,"y":512,"settings":{"name":"spring1","target":{"1":"spring1-target1","2":"spring1-target2"},"speed":20}},{"type":"EntityLeveltime","x":344,"y":288},{"type":"EntityItemspawner","x":100,"y":252},{"type":"EntityItemspawner","x":580,"y":256},{"type":"EntityItemspawner","x":560,"y":644},{"type":"EntityItemspawner","x":108,"y":644},{"type":"EntityEnemyspawner","x":580,"y":208},{"type":"EntityEnemyspawner","x":100,"y":204},{"type":"EntityEnemyspawner","x":108,"y":600},{"type":"EntityEnemyspawner","x":560,"y":600},{"type":"EntityPlayerspawner","x":340,"y":616},{"type":"EntityItemspawner","x":340,"y":392},{"type":"EntitySpringshadow","x":336,"y":528,"settings":{"target":{"1":"spring1"}}},{"type":"EntityVoid","x":216,"y":512,"settings":{"name":"spring1-target1"}},{"type":"EntityVoid","x":468,"y":512,"settings":{"name":"spring1-target2"}},{"type":"EntitySpring","x":336,"y":304,"settings":{"name":"spring2","target":{"1":"spring2-target2","2":"spring2-target1"},"speed":20}},{"type":"EntityVoid","x":468,"y":304,"settings":{"name":"spring2-target2"}},{"type":"EntityVoid","x":216,"y":304,"settings":{"name":"spring2-target1"}},{"type":"EntitySpringshadow","x":336,"y":320,"settings":{"target":{"1":"spring2"}}}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl2.png","repeat":true,"distance":"2","tilesize":176,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-8x8.png","repeat":false,"distance":"1","tilesize":16,"data":[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],[6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],[6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],[6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],[6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],[6,7,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,8,6]]},{"name":"background_objects","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/lvl1-backgroundtiles.png ","repeat":false,"distance":"1","tilesize":16,"data":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}]};Level2Resources=[new ig.Image('media/background-lvl2.png'),new ig.Image('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/levels/3.js
ig.baked=true;ig.module('game.levels.3').requires('impact.image').defines(function(){Level3={"entities":[{"type":"EntitySpring","x":576,"y":436,"settings":{"name":"spring1","target":{"1":"spring1-target1","2":"spring1-target2"},"speed":20}},{"type":"EntitySpring","x":336,"y":512},{"type":"EntityLeveltime","x":340,"y":300},{"type":"EntityItemspawner","x":96,"y":260},{"type":"EntityItemspawner","x":576,"y":260},{"type":"EntityItemspawner","x":576,"y":644},{"type":"EntityItemspawner","x":96,"y":644},{"type":"EntityEnemyspawner","x":576,"y":216},{"type":"EntityEnemyspawner","x":96,"y":216},{"type":"EntityEnemyspawner","x":96,"y":600},{"type":"EntityEnemyspawner","x":576,"y":600},{"type":"EntityPlayerspawner","x":240,"y":292},{"type":"EntityItemspawner","x":336,"y":468},{"type":"EntitySpring","x":96,"y":436,"settings":{"name":"spring2","target":{"1":"spring2-target1","2":"spring2-target2"},"speed":20}},{"type":"EntityItemspawner","x":336,"y":132},{"type":"EntityEnemyspawner","x":336,"y":88},{"type":"EntityPlayerspawner","x":436,"y":600},{"type":"EntitySpringshadow","x":576,"y":452,"settings":{"target":{"1":"spring1"}}},{"type":"EntitySpringshadow","x":96,"y":452,"settings":{"target":{"1":"spring2"}}},{"type":"EntitySpringshadow","x":336,"y":528},{"type":"EntityVoid","x":584,"y":548,"settings":{"name":"spring1-target2"}},{"type":"EntityVoid","x":584,"y":324,"settings":{"name":"spring1-target1"}},{"type":"EntityVoid","x":108,"y":548,"settings":{"name":"spring2-target2"}},{"type":"EntityVoid","x":104,"y":324,"settings":{"name":"spring2-target1"}},{"type":"EntityItemspawner","x":336,"y":644},{"type":"EntityPlayerspawner","x":436,"y":292},{"type":"EntityPlayerspawner","x":240,"y":600},{"type":"EntityHazardcanonleft","x":384,"y":176},{"type":"EntityHazardcanonright","x":304,"y":176},{"type":"EntityHazardcanonleft","x":288,"y":384},{"type":"EntityHazardcanonleft","x":480,"y":384},{"type":"EntityHazardcanonright","x":208,"y":384},{"type":"EntityHazardcanonright","x":400,"y":384}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl3.png","repeat":true,"distance":"2","tilesize":176,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-8x8.png","repeat":false,"distance":"1","tilesize":16,"data":[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]]},{"name":"main","width":44,"height":44,"linkWithCollision":true,"visible":1,"tilesetName":"media/tiles.png","repeat":false,"distance":"1","tilesize":16,"data":[[10,11,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,12,10],[10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10],[10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10],[10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10],[10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10],[10,0,0,0,0,0,0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,0,0,0,0,0,0,0,0,0,0,0,0,0,10],[10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10],[10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10],[10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10],[10,11,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,12,10]]},{"name":"background_objects","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/lvl1-backgroundtiles.png ","repeat":false,"distance":"1","tilesize":16,"data":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}]};Level3Resources=[new ig.Image('media/background-lvl3.png'),new ig.Image('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/levels/4.js
ig.baked=true;ig.module('game.levels.4').requires('impact.image').defines(function(){Level4={"entities":[{"type":"EntitySpring","x":576,"y":352},{"type":"EntityLeveltime","x":340,"y":212},{"type":"EntityItemspawner","x":96,"y":308},{"type":"EntityItemspawner","x":576,"y":308},{"type":"EntityItemspawner","x":560,"y":644},{"type":"EntityItemspawner","x":108,"y":644},{"type":"EntityEnemyspawner","x":576,"y":260},{"type":"EntityEnemyspawner","x":96,"y":260},{"type":"EntityEnemyspawner","x":108,"y":600},{"type":"EntityEnemyspawner","x":336,"y":600},{"type":"EntityItemspawner","x":336,"y":644},{"type":"EntitySpring","x":96,"y":352},{"type":"EntityItemspawner","x":332,"y":40},{"type":"EntityPlayerspawner","x":508,"y":600},{"type":"EntityPlayerspawner","x":160,"y":596},{"type":"EntityPlatform","x":220,"y":352,"settings":{"name":"platform1","target":{"1":"platform1-target1","2":"platform1-target2"},"speed":10}},{"type":"EntityPlatformshadow","x":220,"y":368,"settings":{"target":{"1":"platform1"}}},{"type":"EntityVoid","x":340,"y":660,"settings":{"name":"platform1-target1"}},{"type":"EntityEnemyspawner","x":560,"y":600},{"type":"EntityVoid","x":340,"y":16,"settings":{"name":"platform1-target2"}},{"type":"EntityHazardcanonleft","x":16,"y":528},{"type":"EntityHazardcanonleft","x":16,"y":160},{"type":"EntityHazardcanonright","x":672,"y":160},{"type":"EntityHazardcanonright","x":672,"y":528}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl4.png","repeat":true,"distance":"2","tilesize":176,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-8x8.png","repeat":false,"distance":"1","tilesize":16,"data":[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]]},{"name":"main","width":44,"height":44,"linkWithCollision":true,"visible":1,"tilesetName":"media/tiles.png","repeat":false,"distance":"1","tilesize":16,"data":[[14,15,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,16,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,15,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,16,14]]},{"name":"background_objects","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}]};Level4Resources=[new ig.Image('media/background-lvl4.png'),new ig.Image('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/levels/5.js
ig.baked=true;ig.module('game.levels.5').requires('impact.image').defines(function(){Level5={"entities":[{"type":"EntitySpring","x":576,"y":320},{"type":"EntityLeveltime","x":340,"y":212},{"type":"EntityItemspawner","x":96,"y":376},{"type":"EntityItemspawner","x":576,"y":260},{"type":"EntityItemspawner","x":560,"y":644},{"type":"EntityItemspawner","x":108,"y":644},{"type":"EntityEnemyspawner","x":576,"y":216},{"type":"EntityEnemyspawner","x":96,"y":332},{"type":"EntityEnemyspawner","x":108,"y":600},{"type":"EntityEnemyspawner","x":560,"y":600},{"type":"EntityItemspawner","x":332,"y":472},{"type":"EntitySpring","x":96,"y":432},{"type":"EntityItemspawner","x":332,"y":132},{"type":"EntityPlayerspawner","x":432,"y":604},{"type":"EntityPlayerspawner","x":240,"y":604},{"type":"EntityHazardcanonleft","x":48,"y":112},{"type":"EntityHazardcanonleft","x":48,"y":320},{"type":"EntityHazardcanonleft","x":48,"y":544},{"type":"EntityHazardcanonright","x":640,"y":208},{"type":"EntityHazardcanonright","x":640,"y":432},{"type":"EntityHazardcanonright","x":640,"y":656},{"type":"EntityItemspawner","x":28,"y":500},{"type":"EntityItemspawner","x":28,"y":272},{"type":"EntityItemspawner","x":28,"y":64},{"type":"EntityItemspawner","x":644,"y":388},{"type":"EntityItemspawner","x":644,"y":164},{"type":"EntityItemspawner","x":644,"y":612},{"type":"EntityPlayerspawner","x":644,"y":568},{"type":"EntityPlayerspawner","x":28,"y":456},{"type":"EntityPlayerspawner","x":28,"y":24},{"type":"EntityPlayerspawner","x":28,"y":232},{"type":"EntityPlayerspawner","x":644,"y":344},{"type":"EntityPlayerspawner","x":644,"y":120},{"type":"EntityItemspawner","x":332,"y":312}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl5.png","repeat":true,"distance":"2","tilesize":176,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-8x8.png","repeat":false,"distance":"1","tilesize":16,"data":[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],[6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],[6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],[6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],[6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],[6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,8,6],[6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],[6,7,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,8,6]]},{"name":"background_objects","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/lvl1-backgroundtiles.png ","repeat":false,"distance":"1","tilesize":16,"data":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}]};Level5Resources=[new ig.Image('media/background-lvl5.png'),new ig.Image('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/levels/6.js
ig.baked=true;ig.module('game.levels.6').requires('impact.image').defines(function(){Level6={"entities":[{"type":"EntitySpring","x":576,"y":352,"settings":{"name":"spring1","target":{"1":"spring1-pos1","2":"spring1-pos2"},"speed":10}},{"type":"EntityLeveltime","x":340,"y":212},{"type":"EntityItemspawner","x":96,"y":260},{"type":"EntityItemspawner","x":576,"y":260},{"type":"EntityItemspawner","x":560,"y":644},{"type":"EntityItemspawner","x":108,"y":644},{"type":"EntityEnemyspawner","x":576,"y":216},{"type":"EntityEnemyspawner","x":96,"y":216},{"type":"EntityEnemyspawner","x":108,"y":600},{"type":"EntityEnemyspawner","x":560,"y":600},{"type":"EntityItemspawner","x":336,"y":472},{"type":"EntitySpring","x":96,"y":352,"settings":{"name":"spring2","target":{"1":"spring2-pos1","2":"spring2-pos2"},"speed":10}},{"type":"EntityItemspawner","x":336,"y":132},{"type":"EntityEnemyspawner","x":336,"y":264},{"type":"EntityPlayerspawner","x":432,"y":604},{"type":"EntityPlayerspawner","x":240,"y":604},{"type":"EntityHazardblade","x":16,"y":16},{"type":"EntityPlayerspawner","x":424,"y":264},{"type":"EntityPlayerspawner","x":236,"y":264},{"type":"EntityEnemyspawner","x":332,"y":604},{"type":"EntityBotwarninghigh","x":16,"y":32,"settings":{"size":{"x":672,"y":32},"strength":50}},{"type":"EntityVoid","x":584,"y":392,"settings":{"name":"spring1-pos2"}},{"type":"EntityVoid","x":584,"y":312,"settings":{"name":"spring1-pos1"}},{"type":"EntitySpringshadow","x":576,"y":368,"settings":{"target":{"1":"spring1"}}},{"type":"EntityVoid","x":104,"y":312,"settings":{"name":"spring2-pos1"}},{"type":"EntityVoid","x":104,"y":392,"settings":{"name":"spring2-pos2"}},{"type":"EntitySpringshadow","x":96,"y":368,"settings":{"target":{"1":"spring2"}}},{"type":"EntityBotwarninghigh","x":16,"y":32,"settings":{"size":{"x":672,"y":12},"strength":150}}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl6.png","repeat":true,"distance":"2","tilesize":176,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-8x8.png","repeat":false,"distance":"1","tilesize":16,"data":[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]]},{"name":"main","width":44,"height":44,"linkWithCollision":true,"visible":1,"tilesetName":"media/tiles.png","repeat":false,"distance":"1","tilesize":16,"data":[[18,15,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,16,18],[18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,19,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,20,18]]},{"name":"background_objects","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/lvl1-backgroundtiles.png ","repeat":false,"distance":"1","tilesize":16,"data":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}]};Level6Resources=[new ig.Image('media/background-lvl6.png'),new ig.Image('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/levels/7.js
ig.baked=true;ig.module('game.levels.7').requires('impact.image').defines(function(){Level7={"entities":[{"type":"EntitySpring","x":576,"y":352},{"type":"EntityLeveltime","x":340,"y":212},{"type":"EntityItemspawner","x":96,"y":312},{"type":"EntityItemspawner","x":432,"y":204},{"type":"EntityItemspawner","x":576,"y":584},{"type":"EntityItemspawner","x":96,"y":584},{"type":"EntityEnemyspawner","x":576,"y":264},{"type":"EntityEnemyspawner","x":96,"y":264},{"type":"EntityEnemyspawner","x":96,"y":536},{"type":"EntityEnemyspawner","x":576,"y":536},{"type":"EntityPlayerspawner","x":240,"y":164},{"type":"EntitySpring","x":96,"y":352},{"type":"EntityItemspawner","x":336,"y":132},{"type":"EntityEnemyspawner","x":336,"y":316},{"type":"EntityPlayerspawner","x":432,"y":488},{"type":"EntityPlayerspawner","x":432,"y":164},{"type":"EntityPlayerspawner","x":240,"y":488},{"type":"EntityHazardacid","x":16,"y":672},{"type":"EntityItemspawner","x":336,"y":356},{"type":"EntityBotwarninglow","x":16,"y":628,"settings":{"size":{"x":672,"y":44},"strength":125}},{"type":"EntityItemspawner","x":576,"y":312},{"type":"EntityItemspawner","x":240,"y":208},{"type":"EntityItemspawner","x":240,"y":532},{"type":"EntityItemspawner","x":432,"y":532},{"type":"EntityBotwarninglow","x":16,"y":656,"settings":{"size":{"x":672,"y":16},"strength":200}}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl7.png","repeat":true,"distance":"2","tilesize":176,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-8x8.png","repeat":false,"distance":"1","tilesize":16,"data":[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,2]]},{"name":"background_objects","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/lvl1-backgroundtiles.png ","repeat":false,"distance":"1","tilesize":16,"data":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/levels/8.js
ig.baked=true;ig.module('game.levels.8').requires('impact.image').defines(function(){Level8={"entities":[{"type":"EntityLeveltime","x":344,"y":212},{"type":"EntityItemspawner","x":116,"y":264},{"type":"EntityItemspawner","x":556,"y":260},{"type":"EntityItemspawner","x":560,"y":644},{"type":"EntityItemspawner","x":112,"y":644},{"type":"EntityEnemyspawner","x":556,"y":216},{"type":"EntityEnemyspawner","x":116,"y":216},{"type":"EntityEnemyspawner","x":112,"y":600},{"type":"EntityEnemyspawner","x":560,"y":600},{"type":"EntityPlayerspawner","x":68,"y":216},{"type":"EntityItemspawner","x":336,"y":472},{"type":"EntityPlayerspawner","x":612,"y":600},{"type":"EntityPlayerspawner","x":604,"y":216},{"type":"EntityPlayerspawner","x":60,"y":600},{"type":"EntityPlatform","x":224,"y":20,"settings":{"name":"spring1","target":{"1":"spring1-pos1","2":"spring1-pos2"},"speed":20}},{"type":"EntityPlatform","x":224,"y":672,"settings":{"name":"spring2","target":{"1":"spring2-pos1","2":"spring2-pos2"},"speed":20}},{"type":"EntityPlatformshadow","x":224,"y":36,"settings":{"target":{"1":"spring1"}}},{"type":"EntityPlatformshadow","x":224,"y":688,"settings":{"target":{"1":"spring2"}}},{"type":"EntityVoid","x":344,"y":320,"settings":{"name":"spring1-pos2"}},{"type":"EntityVoid","x":344,"y":20,"settings":{"name":"spring1-pos1"}},{"type":"EntityVoid","x":344,"y":372,"settings":{"name":"spring2-pos2"}},{"type":"EntityVoid","x":344,"y":672,"settings":{"name":"spring2-pos1"}},{"type":"EntitySpring","x":128,"y":512},{"type":"EntitySpring","x":528,"y":512},{"type":"EntityHazardcanonleft","x":32,"y":64},{"type":"EntityHazardcanonleft","x":32,"y":272},{"type":"EntityHazardcanonright","x":656,"y":64},{"type":"EntityHazardcanonright","x":656,"y":272}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl8.png","repeat":true,"distance":"2","tilesize":88,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-8x8.png","repeat":false,"distance":"1","tilesize":16,"data":[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,15,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,16,14]]},{"name":"background_objects","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/lvl1-backgroundtiles.png ","repeat":false,"distance":"1","tilesize":16,"data":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}]};Level8Resources=[new ig.Image('media/background-lvl8.png'),new ig.Image('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/levels/9.js
ig.baked=true;ig.module('game.levels.9').requires('impact.image').defines(function(){Level9={"entities":[{"type":"EntitySpring","x":576,"y":352},{"type":"EntityLeveltime","x":340,"y":228,"settings":{"size":{"x":16,"y":16}}},{"type":"EntityItemspawner","x":96,"y":260},{"type":"EntityItemspawner","x":576,"y":260},{"type":"EntityItemspawner","x":560,"y":644},{"type":"EntityItemspawner","x":108,"y":644},{"type":"EntityEnemyspawner","x":576,"y":216},{"type":"EntityEnemyspawner","x":96,"y":216},{"type":"EntityEnemyspawner","x":108,"y":600},{"type":"EntityEnemyspawner","x":560,"y":600},{"type":"EntityItemspawner","x":336,"y":500},{"type":"EntitySpring","x":96,"y":352},{"type":"EntityItemspawner","x":336,"y":192},{"type":"EntityPlayerspawner","x":432,"y":604},{"type":"EntityPlayerspawner","x":240,"y":604},{"type":"EntityHazardsawblade","x":288,"y":296},{"type":"EntityBotwarningleft","x":416,"y":256,"settings":{"size":{"x":88,"y":208},"strength":40}},{"type":"EntityBotwarningright","x":200,"y":256,"settings":{"size":{"x":88,"y":208},"strength":40}},{"type":"EntityBotwarninghigh","x":248,"y":424,"settings":{"size":{"x":208,"y":88},"strength":40}},{"type":"EntityBotwarninglow","x":248,"y":208,"settings":{"size":{"x":208,"y":88},"strength":40}},{"type":"EntityItemspawner","x":636,"y":560},{"type":"EntityItemspawner","x":40,"y":560},{"type":"EntityPlayerspawner","x":40,"y":516},{"type":"EntityPlayerspawner","x":636,"y":516},{"type":"EntityItemspawner","x":240,"y":644},{"type":"EntityItemspawner","x":432,"y":644},{"type":"EntityBotwarningleft","x":416,"y":256,"settings":{"size":{"x":40,"y":208},"strength":100}},{"type":"EntityBotwarninglow","x":248,"y":256,"settings":{"size":{"x":208,"y":40},"strength":100}},{"type":"EntityBotwarningright","x":248,"y":256,"settings":{"size":{"x":40,"y":208},"strength":100}},{"type":"EntityBotwarninghigh","x":248,"y":424,"settings":{"size":{"x":208,"y":40},"strength":100}}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl9.png","repeat":true,"distance":"2","tilesize":176,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-8x8.png","repeat":false,"distance":"1","tilesize":16,"data":[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1],[1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1],[1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1],[1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1],[1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]]},{"name":"main","width":44,"height":44,"linkWithCollision":true,"visible":1,"tilesetName":"media/tiles.png","repeat":false,"distance":"1","tilesize":16,"data":[[26,27,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,28,26],[26,0,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26],[26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26],[26,25,25,25,25,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,25,25,25,25,26],[26,0,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0,0,26],[26,0,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0,0,26],[26,0,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0,0,26],[26,0,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0,0,26],[26,27,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,28,26]]},{"name":"background_objects","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/lvl1-backgroundtiles.png ","repeat":false,"distance":"1","tilesize":16,"data":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}]};Level9Resources=[new ig.Image('media/background-lvl9.png'),new ig.Image('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/levels/10.js
ig.baked=true;ig.module('game.levels.10').requires('impact.image').defines(function(){Level10={"entities":[{"type":"EntityLeveltime","x":340,"y":212},{"type":"EntityItemspawner","x":72,"y":348},{"type":"EntityItemspawner","x":604,"y":348},{"type":"EntityItemspawner","x":464,"y":552},{"type":"EntityItemspawner","x":216,"y":552},{"type":"EntityEnemyspawner","x":216,"y":512},{"type":"EntityEnemyspawner","x":464,"y":512},{"type":"EntityPlayerspawner","x":208,"y":280},{"type":"EntityItemspawner","x":336,"y":552},{"type":"EntityItemspawner","x":336,"y":44},{"type":"EntityEnemyspawner","x":336,"y":88},{"type":"EntityPlayerspawner","x":336,"y":512},{"type":"EntityPlayerspawner","x":464,"y":280},{"type":"EntityHazardsawblade","x":16,"y":16},{"type":"EntityHazardsawblade","x":560,"y":16},{"type":"EntityBotwarningleft","x":144,"y":16,"settings":{"size":{"x":40,"y":168},"strength":80}},{"type":"EntityBotwarningright","x":520,"y":16,"settings":{"strength":40,"size":{"x":40,"y":168}}},{"type":"EntityBotwarninghigh","x":472,"y":144,"settings":{"strength":20,"size":{"x":184,"y":88}}},{"type":"EntityEnemyspawner","x":460,"y":88},{"type":"EntityEnemyspawner","x":216,"y":88},{"type":"EntityItemspawner","x":460,"y":44},{"type":"EntityItemspawner","x":216,"y":44},{"type":"EntityHazardacid","x":16,"y":672},{"type":"EntitySpring","x":604,"y":592,"settings":{"name":"spring2"}},{"type":"EntitySpring","x":76,"y":592,"settings":{"name":"spring1"}},{"type":"EntitySpringshadow","x":604,"y":608,"settings":{"target":{"1":"spring2"}}},{"type":"EntitySpringshadow","x":76,"y":608,"settings":{"target":{"1":"spring1"}}},{"type":"EntityBotwarninglow","x":16,"y":612,"settings":{"size":{"x":672,"y":60},"strength":125}},{"type":"EntityBotwarninglow","x":16,"y":652,"settings":{"size":{"x":672,"y":20},"strength":200}},{"type":"EntityBotwarninghigh","x":520,"y":144,"settings":{"strength":40,"size":{"x":168,"y":40}}},{"type":"EntityBotwarninghigh","x":544,"y":144,"settings":{"strength":100,"size":{"x":144,"y":16}}},{"type":"EntityBotwarningright","x":472,"y":16,"settings":{"strength":20,"size":{"x":88,"y":216}}},{"type":"EntityBotwarningright","x":544,"y":16,"settings":{"strength":100,"size":{"x":16,"y":144}}},{"type":"EntityBotwarninghigh","x":16,"y":144,"settings":{"strength":20,"size":{"x":212,"y":88}}},{"type":"EntityBotwarningleft","x":144,"y":16,"settings":{"size":{"x":16,"y":168},"strength":100}},{"type":"EntityBotwarningleft","x":144,"y":16,"settings":{"size":{"x":84,"y":216},"strength":40}},{"type":"EntityBotwarninghigh","x":16,"y":144,"settings":{"strength":100,"size":{"x":144,"y":16}}},{"type":"EntityBotwarninghigh","x":16,"y":144,"settings":{"strength":80,"size":{"x":168,"y":40}}}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl10.png","repeat":true,"distance":"2","tilesize":176,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-8x8.png","repeat":false,"distance":"1","tilesize":16,"data":[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}]};Level10Resources=[new ig.Image('media/background-lvl10.png'),new ig.Image('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/levels/11.js
ig.baked=true;ig.module('game.levels.11').requires('impact.image').defines(function(){Level11={"entities":[{"type":"EntityLeveltime","x":332,"y":228},{"type":"EntityItemspawner","x":288,"y":308},{"type":"EntityItemspawner","x":328,"y":308},{"type":"EntityItemspawner","x":368,"y":640},{"type":"EntityItemspawner","x":288,"y":640},{"type":"EntityEnemyspawner","x":368,"y":268},{"type":"EntityEnemyspawner","x":288,"y":268},{"type":"EntityEnemyspawner","x":288,"y":600},{"type":"EntityEnemyspawner","x":368,"y":600},{"type":"EntityItemspawner","x":328,"y":640},{"type":"EntityPlayerspawner","x":328,"y":268},{"type":"EntityPlayerspawner","x":328,"y":600},{"type":"EntityPlatform","x":16,"y":24,"settings":{"name":"spring1","target":{"1":"spring1-pos1","2":"spring1-pos2"},"speed":20}},{"type":"EntityPlatform","x":432,"y":672,"settings":{"name":"spring2","target":{"1":"spring2-pos1","2":"spring2-pos2"},"speed":20}},{"type":"EntityPlatformshadow","x":16,"y":40,"settings":{"target":{"1":"spring1"}}},{"type":"EntityPlatformshadow","x":432,"y":688,"settings":{"target":{"1":"spring2"}}},{"type":"EntityVoid","x":136,"y":672,"settings":{"name":"spring1-pos2"}},{"type":"EntityVoid","x":136,"y":24,"settings":{"name":"spring1-pos1"}},{"type":"EntityVoid","x":552,"y":24,"settings":{"name":"spring2-pos2"}},{"type":"EntityVoid","x":552,"y":672,"settings":{"name":"spring2-pos1"}},{"type":"EntitySpring","x":288,"y":436},{"type":"EntitySpring","x":368,"y":436},{"type":"EntityItemspawner","x":368,"y":308},{"type":"EntityItemspawner","x":288,"y":72},{"type":"EntityItemspawner","x":368,"y":72},{"type":"EntityItemspawner","x":328,"y":72},{"type":"EntityEnemyspawner","x":368,"y":32},{"type":"EntityEnemyspawner","x":288,"y":32},{"type":"EntityPlayerspawner","x":328,"y":32},{"type":"EntitySpring","x":328,"y":436}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl11.png","repeat":true,"distance":"2","tilesize":120,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-8x8.png","rep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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]]},{"name":"main","width":44,"height":44,"linkWithCollision":true,"visible":1,"tilesetName":"media/tiles.png","repeat":false,"distance":"1","tilesize":16,"data":[[22,23,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22],[22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22],[22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22],[22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22],[22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22],[22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22],[22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22],[22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22],[22,23,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,24,22]]},{"name":"background_objects","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/lvl1-backgroundtiles.png ","repeat":false,"distance":"1","tilesize":16,"data":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}]};Level11Resources=[new ig.Image('media/background-lvl11.png'),new ig.Image('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/levels/12.js
ig.baked=true;ig.module('game.levels.12').requires('impact.image').defines(function(){Level12={"entities":[{"type":"EntityLeveltime","x":340,"y":384},{"type":"EntityItemspawner","x":116,"y":264},{"type":"EntityItemspawner","x":556,"y":260},{"type":"EntityItemspawner","x":560,"y":644},{"type":"EntityItemspawner","x":112,"y":644},{"type":"EntityEnemyspawner","x":556,"y":216},{"type":"EntityEnemyspawner","x":116,"y":216},{"type":"EntityEnemyspawner","x":112,"y":600},{"type":"EntityEnemyspawner","x":560,"y":600},{"type":"EntityPlayerspawner","x":68,"y":216},{"type":"EntityItemspawner","x":340,"y":644},{"type":"EntityPlayerspawner","x":612,"y":600},{"type":"EntityPlayerspawner","x":604,"y":216},{"type":"EntityPlayerspawner","x":60,"y":600},{"type":"EntityItemspawner","x":340,"y":264},{"type":"EntityEnemyspawner","x":292,"y":220},{"type":"EntityPlayerspawner","x":340,"y":220},{"type":"EntityEnemyspawner","x":388,"y":220},{"type":"EntityPlayerspawner","x":340,"y":600},{"type":"EntityEnemyspawner","x":292,"y":600},{"type":"EntityEnemyspawner","x":388,"y":600}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl12.png","repeat":true,"distance":"2","tilesize":176,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-8x8.png","repeat":false,"distance":"1","tilesize":16,"data":[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]]},{"name":"main","width":44,"height":44,"linkWithCollision":true,"visible":1,"tilesetName":"media/tiles.png","repeat":false,"distance":"1","tilesize":16,"data":[[14,15,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,16,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,15,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,16,14]]},{"name":"background_objects","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/lvl1-backgroundtiles.png ","repeat":false,"distance":"1","tilesize":16,"data":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}]};Level12Resources=[new ig.Image('media/background-lvl12.png'),new ig.Image('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/levels/13.js
ig.baked=true;ig.module('game.levels.13').requires('impact.image').defines(function(){Level13={"entities":[{"type":"EntityLeveltime","x":344,"y":332},{"type":"EntityItemspawner","x":116,"y":260},{"type":"EntityItemspawner","x":556,"y":260},{"type":"EntityItemspawner","x":560,"y":644},{"type":"EntityItemspawner","x":112,"y":644},{"type":"EntityEnemyspawner","x":556,"y":216},{"type":"EntityEnemyspawner","x":116,"y":216},{"type":"EntityEnemyspawner","x":112,"y":600},{"type":"EntityEnemyspawner","x":560,"y":600},{"type":"EntityItemspawner","x":340,"y":644},{"type":"EntityPlayerspawner","x":608,"y":600},{"type":"EntityPlayerspawner","x":64,"y":600},{"type":"EntityItemspawner","x":340,"y":260},{"type":"EntityEnemyspawner","x":292,"y":216},{"type":"EntityPlayerspawner","x":340,"y":216},{"type":"EntityEnemyspawner","x":388,"y":216},{"type":"EntityPlayerspawner","x":340,"y":600},{"type":"EntityEnemyspawner","x":292,"y":600},{"type":"EntityEnemyspawner","x":388,"y":600},{"type":"EntityPlayerspawner","x":340,"y":392},{"type":"EntityItemspawner","x":340,"y":436},{"type":"EntityEnemyspawner","x":292,"y":392},{"type":"EntityEnemyspawner","x":388,"y":392},{"type":"EntityItemspawner","x":112,"y":436},{"type":"EntityEnemyspawner","x":112,"y":388},{"type":"EntityItemspawner","x":556,"y":432},{"type":"EntityEnemyspawner","x":556,"y":388},{"type":"EntitySpring","x":336,"y":304}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl13.png","repeat":true,"distance":"2","tilesize":176,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]]},{"name":"main","width":44,"height":44,"linkWithCollision":true,"visible":1,"tilesetName":"media/tiles.png","repeat":false,"distance":"1","tilesize":16,"data":[[18,19,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18],[18,19,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,20,18]]},{"name":"background_objects","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/lvl1-backgroundtiles.png ","repeat":false,"distance":"1","tilesize":16,"data":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}]};Level13Resources=[new ig.Image('media/background-lvl13.png'),new ig.Image('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/levels/14.js
ig.baked=true;ig.module('game.levels.14').requires('impact.image').defines(function(){Level14={"entities":[{"type":"EntityLeveltime","x":340,"y":212},{"type":"EntityItemspawner","x":96,"y":312},{"type":"EntityItemspawner","x":432,"y":180},{"type":"EntityItemspawner","x":576,"y":584},{"type":"EntityItemspawner","x":96,"y":584},{"type":"EntityEnemyspawner","x":576,"y":264},{"type":"EntityEnemyspawner","x":96,"y":264},{"type":"EntityEnemyspawner","x":96,"y":536},{"type":"EntityEnemyspawner","x":576,"y":536},{"type":"EntityPlayerspawner","x":240,"y":128},{"type":"EntitySpring","x":524,"y":352,"settings":{"name":"spring2","speed":15,"target":{"1":"spring2-pos1","2":"spring2-pos2"}}},{"type":"EntityItemspawner","x":336,"y":400},{"type":"EntityEnemyspawner","x":336,"y":272},{"type":"EntityPlayerspawner","x":576,"y":480},{"type":"EntityPlayerspawner","x":432,"y":132},{"type":"EntityPlayerspawner","x":96,"y":480},{"type":"EntityHazardacid","x":16,"y":672},{"type":"EntityItemspawner","x":336,"y":316},{"type":"EntityBotwarninglow","x":16,"y":632,"settings":{"size":{"x":672,"y":40},"strength":125}},{"type":"EntityItemspawner","x":576,"y":312},{"type":"EntityItemspawner","x":240,"y":176},{"type":"EntityItemspawner","x":240,"y":532},{"type":"EntityItemspawner","x":432,"y":532},{"type":"EntityBotwarninglow","x":16,"y":656,"settings":{"size":{"x":672,"y":16},"strength":200}},{"type":"EntityVoid","x":152,"y":352,"settings":{"name":"spring2-pos2"}},{"type":"EntityVoid","x":532,"y":352,"settings":{"name":"spring2-pos1"}},{"type":"EntitySpringshadow","x":524,"y":368,"settings":{"target":{"2":"spring2"}}},{"type":"EntityHazardblade","x":16,"y":16},{"type":"EntityBotwarninghigh","x":16,"y":32,"settings":{"size":{"x":672,"y":16},"strength":150}},{"type":"EntityBotwarninghigh","x":16,"y":32,"settings":{"size":{"x":672,"y":48},"strength":50}}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl14.png","repeat":true,"distance":"2","tilesize":176,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-8x8.png","repeat":false,"distance":"1","tilesize":16,"data":[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,0,0,0,0,0,0,0,0,0,0,3,1,2],[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2],[2,0,0,0,0,3,1,1,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,1,4,0,0,0,0,2],[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2],[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2],[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2],[2,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,2]]},{"name":"background_objects","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/lvl1-backgroundtiles.png ","repeat":false,"distance":"1","tilesize":16,"data":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,1,1,1,1,1,1,1,1,1,1,1,1,3,0,0,0,0,0,0,0,0,0,0,2,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,2,1,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,1,3,0,0,0,0,0],[0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}]};Level14Resources=[new ig.Image('media/background-lvl14.png'),new ig.Image('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/levels/15.js
ig.baked=true;ig.module('game.levels.15').requires('impact.image').defines(function(){Level15={"entities":[{"type":"EntityLeveltime","x":340,"y":228,"settings":{"size":{"x":16,"y":16}}},{"type":"EntityItemspawner","x":248,"y":104},{"type":"EntityItemspawner","x":428,"y":108},{"type":"EntityItemspawner","x":560,"y":644},{"type":"EntityItemspawner","x":108,"y":644},{"type":"EntityEnemyspawner","x":428,"y":68},{"type":"EntityEnemyspawner","x":248,"y":64},{"type":"EntityEnemyspawner","x":108,"y":612},{"type":"EntityEnemyspawner","x":560,"y":616},{"type":"EntityItemspawner","x":336,"y":644},{"type":"EntityItemspawner","x":336,"y":108},{"type":"EntityPlayerspawner","x":432,"y":612},{"type":"EntityPlayerspawner","x":240,"y":612},{"type":"EntityHazardsawblade","x":288,"y":296},{"type":"EntityBotwarningleft","x":416,"y":256,"settings":{"size":{"x":88,"y":208},"strength":40}},{"type":"EntityBotwarningright","x":200,"y":256,"settings":{"size":{"x":88,"y":208},"strength":40}},{"type":"EntityBotwarninghigh","x":248,"y":424,"settings":{"size":{"x":208,"y":88},"strength":40}},{"type":"EntityBotwarninglow","x":248,"y":208,"settings":{"size":{"x":208,"y":88},"strength":40}},{"type":"EntityItemspawner","x":636,"y":560},{"type":"EntityItemspawner","x":40,"y":560},{"type":"EntityPlayerspawner","x":336,"y":64},{"type":"EntityItemspawner","x":240,"y":644},{"type":"EntityItemspawner","x":432,"y":644},{"type":"EntityBotwarningleft","x":416,"y":256,"settings":{"size":{"x":40,"y":208},"strength":100}},{"type":"EntityBotwarninglow","x":248,"y":256,"settings":{"size":{"x":208,"y":40},"strength":100}},{"type":"EntityBotwarningright","x":248,"y":256,"settings":{"size":{"x":40,"y":208},"strength":100}},{"type":"EntityBotwarninghigh","x":248,"y":424,"settings":{"size":{"x":208,"y":40},"strength":100}},{"type":"EntityEnemyspawner","x":36,"y":324},{"type":"EntityItemspawner","x":36,"y":368},{"type":"EntityItemspawner","x":640,"y":372},{"type":"EntityEnemyspawner","x":640,"y":328},{"type":"EntitySpring","x":560,"y":584,"settings":{"name":"spring1","speed":25,"target":{"1":"spring1-pos1","2":"spring1-pos2"}}},{"type":"EntityVoid","x":568,"y":584,"settings":{"name":"spring1-pos1"}},{"type":"EntityVoid","x":116,"y":584,"settings":{"name":"spring1-pos2"}},{"type":"EntitySpringshadow","x":560,"y":600,"settings":{"target":{"1":"spring1"}}}],"layer":[{"name":"background","width":1,"height":1,"linkWithCollision":false,"visible":1,"tilesetName":"media/background-lvl15.png","repeat":true,"distance":"2","tilesize":176,"data":[[1]]},{"name":"collision","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/collisiontiles-8x8.png","repeat":false,"distance":"1","tilesize":16,"data":[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]]},{"name":"main","width":44,"height":44,"linkWithCollision":true,"visible":1,"tilesetName":"media/tiles.png","repeat":false,"distance":"1","tilesize":16,"data":[[14,15,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,16,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14],[14,15,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,16,14]]},{"name":"background_objects","width":44,"height":44,"linkWithCollision":false,"visible":1,"tilesetName":"media/lvl1-backgroundtiles.png ","repeat":false,"distance":"1","tilesize":16,"data":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}]};Level15Resources=[new ig.Image('media/background-lvl15.png'),new ig.Image('media/tiles.png'),new ig.Image('media/lvl1-backgroundtiles.png ')];});

// lib/game/main.js
ig.baked=true;ig.module('game.main').requires('impact.game','impact.font','game.entities.player','game.entities.weapons','game.entities.items','game.entities.playerspawner','game.entities.itemspawner','game.entities.enemyspawner','game.entities.particles','game.entities.effects','game.entities.spring','game.entities.springshadow','game.entities.platform','game.entities.platformshadow','game.entities.leveltime','game.entities.enemybot1','game.entities.hazardblade','game.entities.hazardacid','game.entities.hazardcanonleft','game.entities.hazardcanonright','game.entities.hazardsawblade','game.entities.void','game.entities.botwarninglow','game.entities.botwarninghigh','game.entities.botwarningleft','game.entities.botwarningright','game.levels.1','game.levels.2','game.levels.3','game.levels.4','game.levels.5','game.levels.6','game.levels.7','game.levels.8','game.levels.9','game.levels.10','game.levels.11','game.levels.12','game.levels.13','game.levels.14','game.levels.15').defines(function(){MyGame=ig.Game.extend({numberoflevels:15,time:0,levelcomplete:false,gravity:1000,healthmeter:new ig.Image('media/healthmeter.png'),healthmeterstart:new ig.Image('media/healthmeterstart.png'),healthmeterend:new ig.Image('media/healthmeterend.png'),bot2meter:new ig.Image('media/bot2meter.png'),bot2meterstart:new ig.Image('media/bot2meterstart.png'),bot2meterend:new ig.Image('media/bot2meterend.png'),bot3meter:new ig.Image('media/bot3meter.png'),bot3meterstart:new ig.Image('media/bot3meterstart.png'),bot3meterend:new ig.Image('media/bot3meterend.png'),jetpackmeter:new ig.Image('media/jetpackmeter.png'),jetpackmeterstart:new ig.Image('media/jetpackmeterstart.png'),jetpackmeterend:new ig.Image('media/jetpackmeterend.png'),jetpackfuel:240,ammo:50,ammometer:new ig.Image('media/ammometer.png'),ammometerstart:new ig.Image('media/ammometerstart.png'),ammometerend:new ig.Image('media/ammometerend.png'),playericon:new ig.Image('media/player-icon.png'),playerdeadicon:new ig.Image('media/player-icondead.png'),jetpackon:new ig.Image('media/jetpack-on.png'),jetpackoff:new ig.Image('media/jetpack-off.png'),weaponicon_default:new ig.Image('media/weapon-icon-default.png'),weaponicon_bouncebeam:new ig.Image('media/weapon-icon-bouncebeam.png'),weaponicon_grenade:new ig.Image('media/weapon-icon-grenade.png'),weaponicon_split:new ig.Image('media/weapon-icon-split.png'),weaponicon_splitbounce:new ig.Image('media/weapon-icon-splitbounce.png'),weaponicon_thrubeam:new ig.Image('media/weapon-icon-thrubeam.png'),weaponicon_shocker:new ig.Image('media/weapon-icon-shocker.png'),weaponicon_freeze:new ig.Image('media/weapon-icon-freeze.png'),weaponicon_mine:new ig.Image('media/weapon-icon-mine.png'),weaponicon_vampire:new ig.Image('media/weapon-icon-vampire.png'),weaponicon_nuke:new ig.Image('media/weapon-icon-nuke.png'),weaponicon_heatseeker:new ig.Image('media/weapon-icon-heatseeker.png'),weaponicon_jammer:new ig.Image('media/weapon-icon-jammer.png'),weaponicon_bouncemine:new ig.Image('media/weapon-icon-bouncemine.png'),weaponicon_splitbomb:new ig.Image('media/weapon-icon-splitbomb.png'),weaponicon_scatterbomb:new ig.Image('media/weapon-icon-scatterbomb.png'),weaponicon_scatterbeam:new ig.Image('media/weapon-icon-scatterbeam.png'),weaponicon_off:new ig.Image('media/weapon-icon-off.png'),infiniteicon:new ig.Image('media/infinite-icon.png'),bot1icon:new ig.Image('media/enemy-icon-bot1.png'),bot2icon:new ig.Image('media/enemy-icon-bot3.png'),bot3icon:new ig.Image('media/enemy-icon-bot2.png'),bot1deadicon:new ig.Image('media/enemy-icon-bot1dead.png'),bot2deadicon:new ig.Image('media/enemy-icon-bot3dead.png'),bot3deadicon:new ig.Image('media/enemy-icon-bot2dead.png'),highscorestaron:new ig.Image('media/star-on.png'),highscorestaroff:new ig.Image('media/star-off.png'),entitylimit:ig.ua.mobile?5:150,qualitychangetimer:new ig.Timer(0),qualitymessage:"",fxquality:'high',homescreen:true,homescreentimer:null,homekeypress:true,leveltoload:1,savedlevel:0,levelscore:0,botscore:0,pause:false,pauseflag:false,scorebonus:0,titleimg:new ig.Image('media/logo.jpg'),levelcomplete:false,levelcompletetimer:new ig.Timer(),levelcompleteflag:false,godmode:false,godmodechanged:false,unlimitedammo:false,unlimitedammochanged:false,cheatschanged:false,cheatchangetimer:new ig.Timer(0),showcredits:false,creditsshown:false,creditsshowntimer:new ig.Timer(0),inittime:0,player:null,activedistance:null,sound:false,soundon:new ig.Image('media/soundon.png'),soundoff:new ig.Image('media/soundoff.png'),soundtoggle:new ig.Timer(3),spawnchance:0,currentweapon:0,bot1:false,bot2:false,bot3:false,bot4:false,shakescreen:new ig.Timer(0),shakestrength:5,botkilledtimer:null,resetscores:false,showfps:false,framerateNow:0,fps:0,playerkills:0,playerstreaktimer:new ig.Timer(0),playerstreak1:false,playerstreak2:false,playerstreak3:false,playername:"Player",playerid:null,gethighscores:false,highscorerank:null,highscorename:null,highscorepoints:null,init:function(){Playtomic.Log.View(2319,"bfea564fa7ba4d96",document.location);localStorage.setItem('Level',this.numberoflevels);ig.input.bind(ig.KEY.LEFT_ARROW,'left');ig.input.bind(ig.KEY.RIGHT_ARROW,'right');ig.input.bind(ig.KEY.UP_ARROW,'jump');ig.input.bind(ig.KEY.DOWN_ARROW,'duck');ig.input.bind(ig.KEY.X,'shoot1');ig.input.bind(ig.KEY.C,'shoot2');ig.input.bind(ig.KEY.SHIFT,'home');ig.input.bind(ig.KEY.SPACE,'pause');ig.input.bind(ig.KEY.S,'sound');ig.input.bind(ig.KEY.F,'fps');ig.input.bind(ig.KEY.Q,'quality');ig.input.bind(ig.KEY.N,'name');ig.Sound.enabled=false;if(ig.ua.mobile){ig.input.bindTouch('#buttonLeft','left');ig.input.bindTouch('#buttonRight','right');ig.input.bindTouch('#buttonJump','jump');ig.input.bindTouch('#buttonJump2','jump');ig.input.bindTouch('#buttonDuck','duck');ig.input.bindTouch('#buttonShoot','shoot1');ig.input.bindTouch('#buttonHome','home');ig.input.bindTouch('#buttonPause','pause');}
this.homescreen=true;this.homescreentimer=new ig.Timer();if(this.resetscores){localStorage.setItem('Level',1);localStorage.setItem('HighScore1',0);localStorage.setItem('HighScore2',0);localStorage.setItem('HighScore3',0);localStorage.setItem('HighScore4',0);localStorage.setItem('HighScore5',0);localStorage.setItem('HighScore6',0);localStorage.setItem('HighScore7',0);localStorage.setItem('HighScore8',0);localStorage.setItem('HighScore9',0);localStorage.setItem('HighScore10',0);}
this.savedlevel=this.numberoflevels;document:ReverseDisplay('enterusername');this.leveltoload=1;this.scorebonus=0;this.scorechanged=false;this.scorechangeamount=0;this.activedistance=ig.system.width*1.5;if(ig.Sound.enabled==true){}
if(ig.ua.mobile){ig.Timer.timeScale=1.2;}
this.shakescreen.set(0);this.highscorerank=new Array();this.highscorename=new Array();this.highscorepoints=new Array();this.gethighscores=true;for(i=0;i<5;i++){this.highscorerank[i]=i;this.highscorename[i]="";this.highscorepoints[i]="";}},update:function(){this.playername=document.getElementById("playername").value;if(this.playername==""){this.playername="Player";}
var now=(new Date()).getTime();var delta=now-this.framerateNow;this.framerateNow=(new Date()).getTime();this.fps=Math.floor(1000/(delta));this.player=ig.game.getEntityByName('player');var timer=ig.game.getEntityByName('leveltime');if(timer){this.time=timer.time;}
if(this.playerkills==5&&!this.playerstreak1){this.playerstreaktimer.set(1);this.playerstreak1=true;}
if(this.playerkills==10&&!this.playerstreak2){this.playerstreaktimer.set(1);this.playerstreak2=true;}
if(this.playerkills==15&&!this.playerstreak3){this.playerstreaktimer.set(1);this.playerstreak3=true;}
if(this.fps<10&&!this.levelcomplete&&!this.pause&&!this.homescreen&&(this.entitylimit>5)){if(this.entitylimit==150){this.entitylimit=75;this.qualitymessage="FPS Drop Detected - Changing FX Quality to: MEDIUM"
this.fxquality='medium';}else if(this.entitylimit==75){this.entitylimit=5;this.qualitymessage="FPS Drop Detected - Changing FX Quality to: LOW"
this.fxquality='low';}
this.qualitychangetimer.set(2);}
if(ig.input.pressed('name')){document:ReverseDisplay('enterusername');}
if(ig.input.pressed('fps')){this.showfps=!this.showfps;}
if(ig.input.pressed('quality')){if(this.entitylimit==150){this.entitylimit=75;this.qualitymessage="FX Quality: MEDIUM"
this.fxquality='medium';}else if(this.entitylimit==75){this.entitylimit=5;this.qualitymessage="FX Quality: LOW"
this.fxquality='low';}else if(this.entitylimit==5){this.entitylimit=150;this.qualitymessage="FX Quality: HIGH"
this.fxquality='high';}
this.qualitychangetimer.set(2);}
if(ig.input.pressed('pause')&&!this.homescreen&&!this.levelcomplete){if(this.pause==false){this.pause=true;this.pauseflag=true;if(ig.Sound.enabled==true){}}else{this.pause=false;this.pauseflag=false;if(ig.Sound.enabled==true){}}}
if(this.pause){if(ig.input.pressed('shoot1')&&ig.input.state('left')&&ig.input.state('right')){if(!this.godmode){this.godmode=true;this.godmodechanged=true;this.cheatschanged=true;}else{this.godmode=false;this.godmodechanged=true;this.cheatschanged=true;}}else
if(ig.input.pressed('shoot2')&&ig.input.state('left')&&ig.input.state('right')){if(!this.unlimitedammo){this.unlimitedammo=true;this.unlimitedammochanged=true;this.cheatschanged=true;}else{this.unlimitedammo=false;this.unlimitedammochanged=true;this.cheatschanged=true;}}}
if((this.creditsshown&&this.creditsshowntimer.delta()>0)&&((ig.input.pressed('shoot1')||ig.input.pressed('shoot2')))){this.creditsshown=false;this.savedlevel=localStorage.getItem('Level');if(this.player){ig.game.removeEntity(this.player);}
ig.system.context.fillStyle='#000000';ig.system.context.fillRect(0,0,ig.system.width*ig.system.scale,ig.system.height*ig.system.scale);this.levelcomplete=false;this.levelcompleteflag=false;this.homescreen=true;this.homescreentimer=new ig.Timer();this.gethighscores=true;for(i=0;i<5;i++){this.highscorerank[i]=i;this.highscorename[i]="";this.highscorepoints[i]="";}
if(this.savedlevel==null){this.savedlevel=1;}
if(ig.Sound.enabled==true){}
this.leveltoload=this.leveltoload;}
if((this.levelcomplete&&this.levelcompletetimer.delta()>1)&&((ig.input.pressed('shoot1')||ig.input.pressed('shoot2')))){this.savedlevel=localStorage.getItem('Level');if(this.player){ig.game.removeEntity(this.player);}
ig.system.context.fillStyle='#000000';ig.system.context.fillRect(0,0,ig.system.width*ig.system.scale,ig.system.height*ig.system.scale);if(this.leveltoload==this.numberoflevels){this.creditsshown=true;this.creditsshowntimer.set(1);}else{this.levelcomplete=false;this.levelcompleteflag=false;this.homescreen=true;this.homescreentimer=new ig.Timer();this.gethighscores=true;for(i=0;i<5;i++){this.highscorerank[i]=i;this.highscorename[i]="";this.highscorepoints[i]="";}
if(this.savedlevel==null){this.savedlevel=1;}
if(ig.Sound.enabled==true){}
this.leveltoload=this.leveltoload;}}
if((ig.input.pressed('home')&&!this.homescreen&&!this.pause&&!this.storyshown)){if(this.player){ig.game.removeEntity(this.player);}
ig.system.context.fillStyle='#000000';ig.system.context.fillRect(0,0,ig.system.width*ig.system.scale,ig.system.height*ig.system.scale);this.levelcomplete=false;this.levelcompleteflag=false;this.homescreen=true;this.homescreentimer=new ig.Timer();this.gethighscores=true;for(i=0;i<5;i++){this.highscorerank[i]=i;this.highscorename[i]="";this.highscorepoints[i]="";}
if(this.savedlevel==null){this.savedlevel=1;}
if(ig.Sound.enabled==true){}}
if((this.homescreen&&this.homescreentimer.delta()>.3)){if((ig.input.pressed('jump')||ig.input.pressed('right'))&&this.leveltoload<this.savedlevel){this.leveltoload=this.leveltoload+1;this.homekeypress=true;if(ig.Sound.enabled){ig.game.key.play();}
this.gethighscores=true;for(i=0;i<5;i++){this.highscorerank[i]=i;this.highscorename[i]="";this.highscorepoints[i]="";}}
if((ig.input.pressed('duck')||ig.input.pressed('left'))&&this.leveltoload>1){this.leveltoload=this.leveltoload-1;this.homekeypress=true;this.gethighscores=true;for(i=0;i<5;i++){this.highscorerank[i]=i;this.highscorename[i]="";this.highscorepoints[i]="";}}
if((ig.input.pressed('shoot1')||ig.input.pressed('shoot2'))){this.homescreen=false;this.homekeypress=false;this.levelscore=0;this.scorechanged=false;this.scorebonus=0;this.currentweapon=0;this.loadLevelDeferred(ig.global['Level'+this.leveltoload]);Playtomic.Log.Play();var levelplayed=String('Level'+this.leveltoload);Playtomic.Log.CustomMetric(levelplayed+" Started");if(ig.Sound.enabled==true){}
this.parent();}}
else{if(this.pause){}else{if(this.shakescreen.delta()<0){var strength=this.shakestrength;var s=strength;if(s>0.2){this.screen.x=Math.random().map(-1,1,-s,s)*-this.shakescreen.delta();this.screen.y=Math.random().map(-1,1,-s,s)*-this.shakescreen.delta();}}else{this.screen.x=0;this.screen.y=0;}
this.parent();}}},draw:function(){if(this.pause){if(this.unlimitedammochanged||this.godmodechanged){ig.system.context.globalAlpha=.5;ig.system.context.globalAlpha=1;ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;var fontsize=26;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('CHEAT ENTERED!',ig.system.width/2+1,ig.system.height*.4);ig.system.context.fillStyle='#fff';ig.system.context.fillText('CHEAT ENTERED!',ig.system.width/2,ig.system.height*.4);this.cheatchangetimer.set(2);this.unlimitedammochanged=false;this.godmodechanged=false;}
if(this.pauseflag){ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;var fontsize=26;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('PAUSED',ig.system.width/2+1,ig.system.height/2-12);ig.system.context.fillStyle='#fff';ig.system.context.fillText('PAUSED',ig.system.width/2,ig.system.height/2-13);ig.system.context.shadowBlur=0;this.pauseflag=false;}}else{if(this.homescreen){this.storyshown=false;ig.system.context.globalAlpha=1;ig.system.context.fillStyle='#000000';ig.system.context.fillRect(0,0,ig.system.width*ig.system.scale,ig.system.height*ig.system.scale);this.titleimg.draw(0,0);if(this.homekeypress==true){this.homekeypress=false;}
var leveltitle="";var twostarshighscore=0;var threestarshighscore=0;var botcount=0;var leveltime=0;switch(this.leveltoload.toString()){case"1":leveltitle=": Metal Mayhem";twostarhighscore=15;threestarhighscore=20;botcount=1;leveltime=2;break;case"2":leveltitle=": Desert Destruction";twostarhighscore=10;threestarhighscore=20;botcount=2;leveltime=2;break;case"3":leveltitle=": Cerebral Chaos";twostarhighscore=15;threestarhighscore=30;botcount=3;leveltime=2;break;case"4":leveltitle=": Alley Assault";twostarhighscore=15;threestarhighscore=30;botcount=2;leveltime=3;break;case"5":leveltitle=": Cobblestone Calamity";twostarhighscore=15;threestarhighscore=30;botcount=3;leveltime=3;break;case"6":leveltitle=": Lethal Lawncare";twostarhighscore=10;threestarhighscore=25;botcount=2;leveltime=3;break;case"7":leveltitle=": Halftone Horror";twostarhighscore=20;threestarhighscore=30;botcount=3;leveltime=4;break;case"8":leveltitle=": Cube Catastrophe";twostarhighscore=20;threestarhighscore=30;botcount=2;leveltime=4;break;case"9":leveltitle=": Velvet Violence";twostarhighscore=15;threestarhighscore=25;botcount=1;leveltime=4;break;case"10":leveltitle=": Wicker Wasteland";twostarhighscore=20;threestarhighscore=30;botcount=3;leveltime=4;break;case"11":leveltitle=": Blue Battery";twostarhighscore=20;threestarhighscore=30;botcount=3;leveltime=2;break;case"12":leveltitle=": Pinstripe Pandemonium";twostarhighscore=20;threestarhighscore=30;botcount=3;leveltime=3;break;case"13":leveltitle=": Weave Wreckage";twostarhighscore=20;threestarhighscore=30;botcount=3;leveltime=3;break;case"14":leveltitle=": Desolate Disturbance";twostarhighscore=20;threestarhighscore=30;botcount=3;leveltime=2;break;case"15":leveltitle=": Brickwork Battle";twostarhighscore=20;threestarhighscore=30;botcount=3;leveltime=2;break;}
var highscore=localStorage.getItem('HighScore'+this.leveltoload.toString());if(highscore==null){highscore=0;}
var fontsize=26;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;ig.system.context.fillStyle='#000000';ig.system.context.fillText('ARENA '+this.leveltoload+leveltitle,ig.system.width/2+1,ig.system.height*.5-13);ig.system.context.fillStyle='#fff';ig.system.context.fillText('ARENA '+this.leveltoload+leveltitle,ig.system.width/2,ig.system.height*.5-14);var scenario="";if(botcount==1){scenario=this.playername+" VS 1 BOT";this.bot1=true;this.bot2=false;this.bot3=false;this.bot4=false;}else if(botcount==2){scenario=this.playername+" VS 2 BOTS";this.bot1=true;this.bot2=true;this.bot3=false;this.bot4=false;}else if(botcount==3){scenario=this.playername+" VS 3 BOTS";this.bot1=true;this.bot2=true;this.bot3=true;this.bot4=false;}else if(botcount==4){scenario=this.playername+" VS 4 BOTS";this.bot1=true;this.bot2=true;this.bot3=true;this.bot4=true;}
var fontsize=13;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(scenario,ig.system.width/2+1,ig.system.height*.5+26);ig.system.context.fillStyle='#fff';ig.system.context.fillText(scenario,ig.system.width/2,ig.system.height*.5+25);var timetext=leveltime+' MINUTE MATCH';this.inittime=leveltime*60;ig.system.context.fillStyle='#000000';ig.system.context.fillText(timetext,ig.system.width/2+1,ig.system.height*.5+40);ig.system.context.fillStyle='#fff';ig.system.context.fillText(timetext,ig.system.width/2,ig.system.height*.5+39);ig.system.context.fillStyle='#000000';ig.system.context.fillText('YOUR HIGH SCORE: '+highscore+" FRAGS",ig.system.width/2+1,ig.system.height*.5+54);ig.system.context.fillStyle='#fff';ig.system.context.fillText('YOUR HIGH SCORE: '+highscore+" FRAGS",ig.system.width/2,ig.system.height*.5+53);var helptext='(ARROWS TO CHANGE LEVELS - SHOOT TO START)';ig.system.context.fillStyle='#000000';ig.system.context.fillText(helptext,ig.system.width/2+1,ig.system.height*.95);ig.system.context.fillStyle='#fff';ig.system.context.fillText(helptext,ig.system.width/2,ig.system.height*.95);if(highscore>0){this.highscorestaron.draw(ig.system.width/2-95,ig.system.height*.5+68);}else{this.highscorestaroff.draw(ig.system.width/2-95,ig.system.height*.5+68);}
if(highscore>=twostarhighscore){this.highscorestaron.draw(ig.system.width/2-30,ig.system.height*.5+68);}else{this.highscorestaroff.draw(ig.system.width/2-30,ig.system.height*.5+68);}
if(highscore>=threestarhighscore){this.highscorestaron.draw(ig.system.width/2+35,ig.system.height*.5+68);}else{this.highscorestaroff.draw(ig.system.width/2+35,ig.system.height*.5+68);}
fontsize=18;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('Leaderboard for Arena '+this.leveltoload,ig.system.width/2+1,517+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText('Leaderboard for Arena '+this.leveltoload,ig.system.width/2,517);var column1=240;var column2=280;var column3=420;var y=540;ig.system.context.shadowBlur=0;ig.system.context.globalAlpha=.6;ig.system.context.fillStyle='#000000';ig.system.context.fillRect(230,520,245,100);ig.system.context.globalAlpha=1;ig.system.context.strokeStyle='#fff';ig.system.context.lineWidth=2;ig.system.context.strokeRect(230,520,245,100);fontsize=11;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText("RANK",column1+1,y+1);ig.system.context.fillStyle='#0082ff';ig.system.context.fillText("RANK",column1,y);ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText("BOT NAME",column2+1,y+1);ig.system.context.fillStyle='#0082ff';ig.system.context.fillText("BOT NAME",column2,y);ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText("SCORE",column3+1,y+1);ig.system.context.fillStyle='#0082ff';ig.system.context.fillText("SCORE",column3,y);ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;var tablename=String('Level'+ig.game.leveltoload);function HomeListComplete(scores,numscores,response)
{if(response.Success){for(i=0;i<5;i++){var Score=scores[i];if(Score){ig.game.highscorerank[i]=i;ig.game.highscorename[i]=Score.Name;ig.game.highscorepoints[i]=Score.Points;}}}else{}}
var textcolor="#fff";fontsize=11;for(i=0;i<5;i++){var y=555+(fontsize+2)*i;if(this.highscorerank[i]>=0){ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText((this.highscorerank[i]+1)+")",column1+1,y+1);ig.system.context.fillStyle=textcolor;ig.system.context.fillText((this.highscorerank[i]+1)+")",column1,y);}
if(this.highscorename[i]){ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(this.highscorename[i],column2+1,y+1);ig.system.context.fillStyle=textcolor;ig.system.context.fillText(this.highscorename[i],column2,y);}
if(this.highscorepoints[i]){ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(this.highscorepoints[i]+" Frags",column3+1,y+1);ig.system.context.fillStyle=textcolor;ig.system.context.fillText(this.highscorepoints[i]+" Frags",column3,y);}}
if(this.gethighscores==true){Playtomic.Leaderboards.List(tablename,HomeListComplete,{perpage:5});this.gethighscores=false;}
if(this.homescreentimer.delta()<1){var alpha=1-this.homescreentimer.delta()*2.5;if(alpha<0){alpha=0;}
ig.system.context.globalAlpha=alpha;ig.system.context.fillStyle='#fff';ig.system.context.fillRect(0,0,ig.system.width*ig.system.scale,ig.system.height*ig.system.scale);ig.system.context.globalAlpha=1;}}
else{if(this.levelcomplete){this.time=0;if(this.player){ig.game.removeEntity(this.player);}
if(this.creditsshown){Playtomic.Log.CustomMetric("ViewedCredits");var s=ig.system.scale;ig.system.context.fillStyle='#000000';ig.system.context.fillRect(0,0,ig.system.width*ig.system.scale,ig.system.height*ig.system.scale);ig.system.context.shadowColor="000";ig.system.context.shadowBlur=10;var fontsize=26;var story1="Thank You For Playing!";var story2="Be Sure to Get 3 Stars on All Levels!";var story3="Programming, Artwork, & Audio by Ascended Arts.";ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#e90000';ig.system.context.fillText(story1,ig.system.width*s/2+1,ig.system.height*.25+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText(story1,ig.system.width*s/2,ig.system.height*.25);ig.system.context.fillStyle='#e90000';ig.system.context.fillText(story2,ig.system.width*s/2+1,ig.system.height*.5+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText(story2,ig.system.width*s/2,ig.system.height*.5);ig.system.context.fillStyle='#e90000';ig.system.context.fillText(story3,ig.system.width*s/2+1,ig.system.height*.75+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText(story3,ig.system.width*s/2,ig.system.height*.75);var helptext='(SHOOT TO CONTINUE)';var fontsize=13;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(helptext,ig.system.width/2+1,ig.system.height*.95);ig.system.context.fillStyle='#fff';ig.system.context.fillText(helptext,ig.system.width/2,ig.system.height*.95);}else if(this.levelcompleteflag){ig.system.context.globalAlpha=.4;ig.system.context.fillStyle='#000000';ig.system.context.fillRect(0,0,ig.system.width*ig.system.scale,ig.system.height*ig.system.scale);ig.system.context.globalAlpha=1;ig.system.context.shadowColor="000";ig.system.context.shadowBlur=10;var fontsize=22;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('TIME UP!',ig.system.width/2+1,2+fontsize+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText('TIME UP!',ig.system.width/2,2+fontsize);var playerscoretext=this.playername+': '+this.levelscore;if(this.levelscore==1){playerscoretext=playerscoretext+" FRAG";}else{playerscoretext=playerscoretext+" FRAGS";}
ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(playerscoretext,ig.system.width/2+1,6+(fontsize*3)+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText(playerscoretext,ig.system.width/2,6+(fontsize*3));var botscoretext="COMPUTER: "+this.botscore;if(this.botscore==1){botscoretext=botscoretext+" FRAG";}else{botscoretext=botscoretext+" FRAGS";}
ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(botscoretext,ig.system.width/2+1,8+(fontsize*4)+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText(botscoretext,ig.system.width/2,8+(fontsize*4));ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('TOP 30 Leaderboard for Arena '+this.leveltoload,ig.system.width/2+1,10+(fontsize*5)+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText('TOP 30 Leaderboard for Arena '+this.leveltoload,ig.system.width/2,10+(fontsize*5));var column1=50;var column2=150;var column3=320;var column4=400;var y=150;ig.system.context.shadowBlur=0;ig.system.context.globalAlpha=.6;ig.system.context.fillStyle='#000000';ig.system.context.fillRect(40,130,624,500);ig.system.context.globalAlpha=1;ig.system.context.strokeStyle='#fff';ig.system.context.lineWidth=2;ig.system.context.strokeRect(40,130,624,500);fontsize=13;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText("RANK",column1+1,y+1);ig.system.context.fillStyle='#0082ff';ig.system.context.fillText("RANK",column1,y);ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText("BOT NAME",column2+1,y+1);ig.system.context.fillStyle='#0082ff';ig.system.context.fillText("BOT NAME",column2,y);ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText("SCORE",column3+1,y+1);ig.system.context.fillStyle='#0082ff';ig.system.context.fillText("SCORE",column3,y);ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText("TIME",column4+1,y+1);ig.system.context.fillStyle='#0082ff';ig.system.context.fillText("TIME",column4,y);var fontsize=22;if(this.levelscore>this.botscore){var highscore=localStorage.getItem('HighScore'+this.leveltoload.toString());if(highscore==null){highscore=0;}
if(this.levelscore>highscore){if(!this.cheatschanged){ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('YOU WIN - PERSONAL HIGHSCORE!',ig.system.width/2+1,4+(fontsize*2)+1);ig.system.context.fillStyle='#00ff00';ig.system.context.fillText('YOU WIN - PERSONAL HIGHSCORE!',ig.system.width/2,4+(fontsize*2));localStorage.setItem('HighScore'+ig.game.leveltoload.toString(),ig.game.levelscore);}}else{ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('YOU WIN!',ig.system.width/2+1,4+(fontsize*2)+1);ig.system.context.fillStyle='#00ff00';ig.system.context.fillText('YOU WIN!',ig.system.width/2,4+(fontsize*2));}
if(ig.Sound.enabled){ig.game.win.play();}
function SubmitComplete(submitscore,submitted)
{fontsize=13;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText("FOUND!",438+1,619+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText("FOUND!",438,619);function ListComplete(scores,numscores,response)
{if(response.Success){fontsize=13;for(i=0;i<30;i++){var Score=scores[i];if(Score){var textcolor="#fff";if((Score.Name==ig.game.playername)&&(Score.Points==ig.game.levelscore)&&(Score.RDate.search("seconds")>=0)){textcolor="#00ff00";}
var y=165+(fontsize+2)*i;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText((i+1)+")",column1+1,y+1);ig.system.context.fillStyle=textcolor;ig.system.context.fillText((i+1)+")",column1,y);ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(Score.Name,column2+1,y+1);ig.system.context.fillStyle=textcolor;ig.system.context.fillText(Score.Name,column2,y);ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(Score.Points+" Frags",column3+1,y+1);ig.system.context.fillStyle=textcolor;ig.system.context.fillText(Score.Points+" Frags",column3,y);ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(Score.RDate,column4+1,y+1);ig.system.context.fillStyle=textcolor;ig.system.context.fillText(Score.RDate,column4,y);}}}else{}}
var tablename=String('Level'+ig.game.leveltoload);Playtomic.Leaderboards.List(tablename,ListComplete,{perpage:30});}
if(this.playername!="Player"){if(!this.cheatschanged){var submitscore={};submitscore.Name=this.playername;submitscore.Points=ig.game.levelscore;var tablename=String('Level'+this.leveltoload);Playtomic.Leaderboards.Submit(submitscore,tablename,SubmitComplete);}}else{function ShowListComplete(scores,numscores,response)
{fontsize=13;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText("FOUND!",438+1,619+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText("FOUND!",438,619);if(response.Success)
{fontsize=13;for(i=0;i<30;i++){var Score=scores[i];if(Score){var y=165+(fontsize+2)*i;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText((i+1)+")",column1+1,y+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText((i+1)+")",column1,y);ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(Score.Name,column2+1,y+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText(Score.Name,column2,y);ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(Score.Points+" Frags",column3+1,y+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText(Score.Points+" Frags",column3,y);ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(Score.RDate,column4+1,y+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText(Score.RDate,column4,y);}}}
else
{}}
var tablename=String('Level'+this.leveltoload);Playtomic.Leaderboards.List(tablename,ShowListComplete,{perpage:30});}}else{ig.system.context.shadowBlur=10;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('YOU LOSE!',ig.system.width/2+1,4+(fontsize*2)+1);ig.system.context.fillStyle='#ff0000';ig.system.context.fillText('YOU LOSE!',ig.system.width/2,4+(fontsize*2));if(ig.Sound.enabled){ig.game.lose.play();}
var tablename=String('Level'+this.leveltoload);ig.system.context.shadowBlur=0;function ListComplete(scores,numscores,response)
{fontsize=13;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText("FOUND!",438+1,619+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText("FOUND!",438,619);if(response.Success)
{fontsize=13;for(i=0;i<30;i++){var Score=scores[i];if(Score){var y=165+(fontsize+2)*i;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText((i+1)+")",column1+1,y+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText((i+1)+")",column1,y);ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(Score.Name,column2+1,y+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText(Score.Name,column2,y);ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(Score.Points+" Frags",column3+1,y+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText(Score.Points+" Frags",column3,y);ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(Score.RDate,column4+1,y+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText(Score.RDate,column4,y);}}}
else
{}}
Playtomic.Leaderboards.List(tablename,ListComplete,{perpage:30});}
ig.system.context.shadowBlur=10;fontsize=13;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText("Retrieving Leaderboard...",ig.system.width/2+1,619+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText("Retrieving Leaderboard...",ig.system.width/2,619);var helptext='(SHOOT TO CONTINUE)';fontsize=13;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(helptext,ig.system.width/2+1,ig.system.height*.95+1);ig.system.context.fillStyle='#fff';ig.system.context.fillText(helptext,ig.system.width/2,ig.system.height*.95);ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;this.levelcompleteflag=false;}}else{this.parent();}
if(this.cheatchangetimer.delta()<0){ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;if(this.godmode){var fontsize=26;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('GOD MODE ON',ig.system.width/2+1,ig.system.height*.4);ig.system.context.fillStyle='#fff';ig.system.context.fillText('GOD MODE ON',ig.system.width/2,ig.system.height*.4);}else{var fontsize=26;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('GOD MODE OFF',ig.system.width/2+1,ig.system.height*.4);ig.system.context.fillStyle='#fff';ig.system.context.fillText('GOD MODE OFF',ig.system.width/2,ig.system.height*.4);}
if(this.unlimitedammo){var fontsize=26;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('UNLIMITED AMMO ON',ig.system.width/2+1,ig.system.height*.6);ig.system.context.fillStyle='#fff';ig.system.context.fillText('UNLIMITED AMMO ON',ig.system.width/2,ig.system.height*.6);}else{var fontsize=26;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('UNLIMITED AMMO OFF',ig.system.width/2+1,ig.system.height*.6);ig.system.context.fillStyle='#fff';ig.system.context.fillText('UNLIMITED AMMO OFF',ig.system.width/2,ig.system.height*.6);}}
if(!this.creditsshown&&!this.levelcomplete){if(this.player){this.playericon.draw(2,2);}else{this.playerdeadicon.draw(2,2);}
if(this.player){if(this.player.freezetimer.delta()<0){s=3;var x=2+Math.random().map(-1,1,-s,s);var y=4+this.playerdeadicon.height+Math.random().map(-1,1,-s,s);this.jetpackoff.draw(x,y);ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;var fontsize=15;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('FROZEN!',3+this.jetpackon.width,5+this.playerdeadicon.height+this.jetpackon.height/2+4);ig.system.context.fillStyle='#0068dc';ig.system.context.fillText('FROZEN!',2+this.jetpackon.width,4+this.playerdeadicon.height+this.jetpackon.height/2+4);ig.system.context.shadowBlur=0;}else{if(this.player.jetpackenable.delta()>0){this.jetpackon.draw(2,4+this.playerdeadicon.height);}else{s=3;var x=2+Math.random().map(-1,1,-s,s);var y=4+this.playerdeadicon.height+Math.random().map(-1,1,-s,s);this.jetpackoff.draw(x,y);ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;var fontsize=15;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('MALFUNCTION!',3+this.jetpackon.width,5+this.playerdeadicon.height+this.jetpackon.height/2+4);ig.system.context.fillStyle='#ff0000';ig.system.context.fillText('MALFUNCTION!',2+this.jetpackon.width,4+this.playerdeadicon.height+this.jetpackon.height/2+4);ig.system.context.shadowBlur=0;}}}
if(this.player){if(this.player.weaponenable.delta()>0){switch(this.currentweapon){case 0:this.weaponicon_default.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 1:this.weaponicon_bouncebeam.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 2:this.weaponicon_grenade.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 3:this.weaponicon_split.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 4:this.weaponicon_splitbounce.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 5:this.weaponicon_thrubeam.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 6:this.weaponicon_shocker.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 7:this.weaponicon_freeze.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 8:this.weaponicon_mine.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 9:this.weaponicon_vampire.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 10:this.weaponicon_nuke.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 11:this.weaponicon_heatseeker.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 12:this.weaponicon_jammer.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 13:this.weaponicon_bouncemine.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 14:this.weaponicon_splitbomb.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 15:this.weaponicon_scatterbomb.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;case 16:this.weaponicon_scatterbeam.draw(2,6+this.playerdeadicon.height+this.jetpackon.height);break;}}else{this.ammo=0;s=3;var x=2+Math.random().map(-1,1,-s,s);var y=6+this.playerdeadicon.height+this.jetpackon.height+Math.random().map(-1,1,-s,s);this.weaponicon_off.draw(x,y);ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;var fontsize=15;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('JAMMED!',3+this.jetpackon.width,5+this.playerdeadicon.height+this.jetpackon.height/2+4+34);ig.system.context.fillStyle='#ff0000';ig.system.context.fillText('JAMMED!',2+this.jetpackon.width,4+this.playerdeadicon.height+this.jetpackon.height/2+4+34);}
if(this.player.infiniteammo.delta()<0){this.ammo=0;this.infiniteicon.draw(4+30,6+this.playerdeadicon.height+this.jetpackon.height);ammotime=String(-this.player.infiniteammo.delta().round(1));if(ammotime/Math.floor(ammotime)==1){ammotime=ammotime+".0";}
ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;if(ammotime>=0){var fontsize=16;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(ammotime+"s",4+30+30,4+this.playerdeadicon.height+this.jetpackon.height/2+4+34);ig.system.context.fillStyle='#fff';ig.system.context.fillText(ammotime+"s",3+30+30,3+this.playerdeadicon.height+this.jetpackon.height/2+4+34);}}}
if(this.time/Math.floor(this.time)==1){this.time=this.time+".0";}
ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;if(this.time>=0){var fontsize=16;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('TIME: '+this.time+"s",3,9+this.playerdeadicon.height+this.jetpackon.height+this.weaponicon_default.height+16);if(this.time<20){ig.system.context.fillStyle='#ff0000';}else{ig.system.context.fillStyle='#fff';}
ig.system.context.fillText('TIME: '+this.time+"s",2,8+this.playerdeadicon.height+this.jetpackon.height+this.weaponicon_default.height+16);if(this.time>this.inittime-1){var fontsize=26;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('GET READY!',ig.system.width/2+1,ig.system.height/2-12);ig.system.context.fillStyle='#fff';ig.system.context.fillText('GET READY!',ig.system.width/2,ig.system.height/2-13);}
if((this.time>this.inittime-2)&&(this.time<=this.inittime-1)){var fontsize=26;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('FIGHT!',ig.system.width/2+1,ig.system.height/2-12);ig.system.context.fillStyle='#ff0000';ig.system.context.fillText('FIGHT!',ig.system.width/2,ig.system.height/2-13);}
if(this.time>=19&&this.time<=20){var fontsize=26;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('20 SECOND WARNING!',ig.system.width/2+1,ig.system.height*.4);ig.system.context.fillStyle='#ff0000';ig.system.context.fillText('20 SECOND WARNING!',ig.system.width/2,ig.system.height*.4);}}
var fontsize=16;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(this.playername+': '+this.levelscore,3,9+this.playerdeadicon.height+this.jetpackon.height+this.weaponicon_default.height+32);if(ig.game.levelscore>ig.game.botscore){ig.system.context.fillStyle='#00ff00';}else{ig.system.context.fillStyle='#fff';}
ig.system.context.fillText(this.playername+': '+this.levelscore,2,8+this.playerdeadicon.height+this.jetpackon.height+this.weaponicon_default.height+32);var fontsize=16;ig.system.context.textAlign='left';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText('COMPUTER: '+this.botscore,3,9+this.playerdeadicon.height+this.jetpackon.height+this.weaponicon_default.height+48);if(ig.game.levelscore<=ig.game.botscore){ig.system.context.fillStyle='#00ff00';}else{ig.system.context.fillStyle='#fff';}
ig.system.context.fillText('COMPUTER: '+this.botscore,2,8+this.playerdeadicon.height+this.jetpackon.height+this.weaponicon_default.height+48);ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;if(this.bot1){var bot1=ig.game.getEntityByName('bot1');if(bot1){this.bot1icon.draw(ig.system.width-this.bot1icon.width-2,2);}else{this.bot1deadicon.draw(ig.system.width-this.bot1icon.width-2,2);}}
if(this.bot2){var bot2=ig.game.getEntityByName('bot2');if(bot2){this.bot2icon.draw(ig.system.width-this.bot2icon.width-2,34);}else{this.bot2deadicon.draw(ig.system.width-this.bot2icon.width-2,34);}}
if(this.bot3){var bot3=ig.game.getEntityByName('bot3');if(bot3){this.bot3icon.draw(ig.system.width-this.bot3icon.width-2,66);}else{this.bot3deadicon.draw(ig.system.width-this.bot3icon.width-2,66);}}
if(this.playerstreaktimer.delta()<0){this.player.health=this.player.inithealth;ig.game.ammo=150;var killtext="";if(this.playerkills==5){killtext="KILLING STREAK!";}
if(this.playerkills==10){killtext="RAMPAGE!";}
if(this.playerkills==15){killtext="UNSTOPPABLE!";}
ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;var fontsize=26;ig.system.context.textAlign='center';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(killtext,ig.system.width/2+1,ig.system.height*.4);ig.system.context.fillStyle='#ff0000';ig.system.context.fillText(killtext,ig.system.width/2,ig.system.height*.4);ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;}}}}
if(this.soundtoggle.delta()<0&&!this.pause){if(!ig.ua.mobile){if(this.sound==false){ig.system.context.globalAlpha=-this.soundtoggle.delta();this.soundoff.draw(2,(ig.system.height)-(this.soundon.height)-2);ig.system.context.globalAlpha=1;}else{ig.system.context.globalAlpha=-this.soundtoggle.delta();this.soundon.draw(2,(ig.system.height)-(this.soundon.height)-2);ig.system.context.globalAlpha=1;}}}
if(this.showfps&&!this.pause){ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;var fontsize=12;ig.system.context.textAlign='right';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(this.fps+'fps',ig.system.width-1,ig.system.height-1);ig.system.context.fillStyle='#fff';ig.system.context.fillText(this.fps+'fps',ig.system.width-2,ig.system.height-2);}
if(this.qualitychangetimer.delta()<0&&!this.pause){ig.system.context.shadowColor="000";ig.system.context.shadowBlur=0;var fontsize=12;ig.system.context.textAlign='right';ig.system.context.font='bold '+fontsize+'px sans-serif';ig.system.context.fillStyle='#000000';ig.system.context.fillText(this.qualitymessage,ig.system.width-1,ig.system.height-2-fontsize);ig.system.context.fillStyle='#fff';ig.system.context.fillText(this.qualitymessage,ig.system.width-2,ig.system.height-3-fontsize);}}});ig.Sound.enabled=false;if(ig.ua.iPhone4){ig.main('#canvas',MyGame,30,160,140,2);}
else if(ig.ua.mobile){ig.main('#canvas',MyGame,30,160,140,2);}
else{ig.main('#canvas',MyGame,30,704,704,1);}});
