Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -1,74 +1,8 @@
{
"main":
[
{"type":"image","key":"titlepage","url":"images/menu.jpg"},
{"type":"image","key":"creditspage","url":"images/credits.jpg"},
{"type":"image","key":"logo","url":"images/logo.png"},
{"type":"image","key":"dead","url":"images/dead.png"},

{"type": "image","key": "outsideTiles","url": "images/outside.png"},
{"type": "image","key": "insideTiles","url": "images/inside.png"},

{"type": "image","key": "window","url": "images/window.png"},
{"type": "image","key": "selector","url": "images/selector.png"},
{"type": "image","key": "cancel","url": "images/cancel.png"},
{"type": "image","key": "new","url": "images/new.png"},
{"type": "image","key": "clicker","url": "images/clicker.png"},
{"type": "image","key": "heart","url": "images/heart.png"},
{"type": "image","key": "life","url": "images/life.png"},
{"type": "image","key": "power","url": "images/power.png"},
{"type": "image","key": "dany_n","url": "images/dany.png"},
{"type": "image","key": "profile","url": "images/profile.png"},

{"type":"image","key":"fog","url":"images/fog.png"},

{"type":"image","key":"sky","url":"images/sky.png"},
{"type":"image","key":"storm","url":"images/storm.png"},
{"type":"image","key":"bloodSky","url":"images/bloodSky.png"},
{"type":"image","key":"clouds","url":"images/clouds.png"},

{"type":"image","key":"bugBullet","url":"images/bugBullet.png"},
{"type":"image","key":"blood2","url":"images/blood2.png"},
{"type":"image","key":"poison","url":"images/poison.png"},
{"type":"image","key":"otherPoison","url":"images/otherPoison.png"},
{"type":"image","key":"flyBullet","url":"images/flyBullet.png"},
{"type":"image","key":"otherFlyBullet","url":"images/otherFlyBullet.png"},
{"type":"image","key":"bubble","url":"images/bubble.png"},
{"type":"image","key":"legBullet","url":"images/legBullet.png"},
{"type":"image","key":"mud","url":"images/mud.png"},
{"type":"image","key":"bullet2","url":"images/bullet2.png"},
{"type":"image","key":"hammerBullet","url":"images/hammerBullet.png"},
{"type":"image","key":"blueBullet","url":"images/blueBullet.png"},
{"type":"image","key":"cBullet","url":"images/cBullet.png"},
{"type":"image","key":"cBulletSmall","url":"images/cBulletSmall.png"},
{"type":"image","key":"nightweirdBullet","url":"images/nightweirdBullet.png"},
{"type":"image","key":"maggotBall","url":"images/maggotBall.png"},

{"type":"text","key":"menuScript","url":"scripts/menu.js"},
{"type":"text","key":"deadScript","url":"scripts/dead.js"},
{"type":"text","key":"pauseScript","url":"scripts/pause.js"},
{"type":"text","key":"stdScript","url":"scripts/std.js"},

{"type":"audio","key":"tick","urls":["audio/tick.ogg"],"autoDecode": true},
{"type":"audio","key":"shot","urls":["audio/shot.ogg"],"autoDecode": true},
{"type":"audio","key":"drip","urls":["audio/drip.ogg"],"autoDecode": true},
{"type":"audio","key":"die","urls":["audio/die.ogg"],"autoDecode": true},
{"type":"audio","key":"fiendDeath","urls":["audio/fiendDeath.ogg"],"autoDecode": true},
{"type":"audio","key":"worm","urls":["audio/worm.ogg"],"autoDecode": true},
{"type":"audio","key":"wormDeath","urls":["audio/wormDeath.ogg"],"autoDecode": true},
{"type":"audio","key":"charge","urls":["audio/charge.ogg"],"autoDecode": true},
{"type":"audio","key":"scream","urls":["audio/scream.ogg"],"autoDecode": true},
{"type":"audio","key":"bugNoise","urls":["audio/bugNoise.ogg"],"autoDecode": true},
{"type":"audio","key":"bugDeath","urls":["audio/bugDeath.ogg"],"autoDecode": true},
{"type":"audio","key":"centipede","urls":["audio/centipede.ogg"],"autoDecode": true},
{"type":"audio","key":"flyNoise","urls":["audio/flyNoise.ogg"],"autoDecode": true},

{"type":"audio","key":"first","urls":["audio/first.ogg"],"autoDecode":true},
{"type":"audio","key":"firstBoss","urls":["audio/firstBoss.ogg"],"autoDecode":true},
{"type":"audio","key":"secondBoss","urls":["audio/secondBoss.ogg"],"autoDecode":true},
{"type":"audio","key":"thirdBoss","urls":["audio/thirdBoss.ogg"],"autoDecode":true},
{"type":"audio","key":"menu","urls":["audio/menu.ogg"],"autoDecode":true},
{"type":"audio","key":"ererom","urls":["audio/ererom.ogg"],"autoDecode":true},
{"type":"audio","key":"song","urls":["audio/song.ogg"],"autoDecode":true}
]
}
@@ -0,0 +1,16 @@
{
"sprites":
[
{
"key":"dotbangoraKebabom",
"url":"images/dotbangoraKebabom.png",
"animations":
[
{"name":"front","frames":[1,1],"fps":1,"loop":true},
{"name":"back","frames":[1,1],"fps":1,"loop":true},
{"name":"dying","frames":[2,3],"fps":8,"loop":true},
{"name":"death","frames":[4,7],"fps":3,"loop":false}
]
}
]
}
@@ -11,9 +11,6 @@ module Scumbag

this.state.add('Boot',Boot,false);
this.state.add('Preloader',Preloader,false);
this.state.add('MainMenu',MainMenu,false);
this.state.add('Overworld',Overworld,false);
this.state.add('Gameover',Gameover,false);
this.state.add('Credits',Credits,false);

this.state.start('Boot');
@@ -0,0 +1,13 @@
module Scumbag
{
export function loadAnimations(sprite:Phaser.Sprite,game:Phaser.Game):void
{
let animations = game.cache.getJSON("animations").animations[<string>sprite.key];
for (let animation of animations)
{
sprite.animations.add(animation.name,
Util.range(animation.frames[0] - 1,animation.frames[1] - 1),
animation.fps,animation.loop);
}
}
};

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.