v0.4.3: improved performance for the prison exit visual
This commit is contained in:
parent
b67d84e7da
commit
9a31c441c1
Binary file not shown.
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 2.8 KiB |
|
@ -345,7 +345,7 @@ public class PrisonBossLevel extends Level {
|
||||||
unseal();
|
unseal();
|
||||||
|
|
||||||
CustomTileVisual vis = new exitVisual();
|
CustomTileVisual vis = new exitVisual();
|
||||||
vis.pos(7, 7);
|
vis.pos(11, 8);
|
||||||
customTiles.add(vis);
|
customTiles.add(vis);
|
||||||
((GameScene)ShatteredPixelDungeon.scene()).addCustomTile(vis);
|
((GameScene)ShatteredPixelDungeon.scene()).addCustomTile(vis);
|
||||||
|
|
||||||
|
@ -537,7 +537,15 @@ public class PrisonBossLevel extends Level {
|
||||||
|
|
||||||
tx = Assets.PRISON_EXIT;
|
tx = Assets.PRISON_EXIT;
|
||||||
txX = txY = 0;
|
txX = txY = 0;
|
||||||
tileW = tileH = 16;
|
tileW = 12;
|
||||||
|
tileH = 15;
|
||||||
|
}
|
||||||
|
|
||||||
|
//for compatibility with pre-0.4.3 saves
|
||||||
|
@Override
|
||||||
|
public void restoreFromBundle(Bundle bundle) {
|
||||||
|
super.restoreFromBundle(bundle);
|
||||||
|
pos(11, 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user