Z index ordering didnt work, resize game to 800x600

This commit is contained in:
2014-06-13 02:53:09 -07:00
parent 3d8b0fe7c5
commit b856b9282d

View File

@@ -1040,12 +1040,6 @@ GameState.prototype.update = function()
}
function _inner_collide(x) {
//Fix their Z index while we're here
if ( x.y > player.x ) {
x.z = player.z + 1;
} else {
x.z = player.z - 1;
}
for ( var ln in this.map_collision_layers ) {
layer = this.map_collision_layers[ln];
this.physics.arcade.collide(x, layer);