Bugfix: live management

This commit is contained in:
Fabrice Ecaille
2013-10-17 17:31:22 +02:00
parent d588759e90
commit 41dadb629f
2 changed files with 4 additions and 12 deletions

View File

@@ -24,12 +24,6 @@ var PLAYGROUND_WIDTH = 448,
START_Y = 40;
var SHIPS = {
scout: {width: 30, height: 25},
bomber: {width: 30, height: 25},
cruser: {width: 30, height: 25}
};
var animations = WORLD.farm;
function displayModal(data) {
@@ -137,9 +131,9 @@ $(function(){
width: 100,
height: 32
})
.addSprite("life3", animations.life)
.addSprite("life2", $.extend({posx: 32}, animations.life))
.addSprite("life1", $.extend({posx: 64}, animations.life))
.addSprite("life2", animations.life)
.addSprite("life1", $.extend({posx: 32}, animations.life))
.addSprite("life0", $.extend({posx: 64}, animations.life))
.end()
.addGroup("levelGrp", {
posx: PLAYGROUND_WIDTH - (6 * 32 + 16),