v0.8.0: finished improvements to demon spawner sprite
This commit is contained in:
parent
436f5ea18d
commit
44a82ffd38
Binary file not shown.
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 2.7 KiB |
|
@ -98,7 +98,11 @@ public class DemonSpawnerRoom extends SpecialRoom {
|
|||
}
|
||||
|
||||
if (Dungeon.level.findMob(cell) instanceof DemonSpawner){
|
||||
data[i] = 5 + 4*8;
|
||||
data[i-1] = 5 + 4*8;
|
||||
data[i] = 6 + 4*8;
|
||||
data[i+1] = 7 + 4*8;
|
||||
i++;
|
||||
cell++;
|
||||
} else if (map[cell] == Terrain.EMPTY_DECO) {
|
||||
if (Statistics.amuletObtained){
|
||||
data[i] = 31;
|
||||
|
|
|
@ -29,7 +29,6 @@ import com.watabou.utils.PointF;
|
|||
|
||||
public class SpawnerSprite extends MobSprite {
|
||||
|
||||
//TODO need to improve the base
|
||||
public SpawnerSprite() {
|
||||
super();
|
||||
|
||||
|
@ -42,7 +41,7 @@ public class SpawnerSprite extends MobSprite {
|
|||
|
||||
TextureFilm frames = new TextureFilm( texture, 16, 16 );
|
||||
|
||||
idle = new Animation( 6, true );
|
||||
idle = new Animation( 8, true );
|
||||
idle.frames( frames, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 );
|
||||
|
||||
run = idle.clone();
|
||||
|
|
Loading…
Reference in New Issue
Block a user