V0.2.1 : WIP sprites for new quest bosses, plus a small Fetid Rat tweak.
This commit is contained in:
@@ -21,29 +21,29 @@ import com.watabou.noosa.TextureFilm;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Assets;
|
||||
|
||||
public class CrabSprite extends MobSprite {
|
||||
|
||||
|
||||
public CrabSprite() {
|
||||
super();
|
||||
|
||||
|
||||
texture( Assets.CRAB );
|
||||
|
||||
TextureFilm frames = new TextureFilm( texture, 16 );
|
||||
|
||||
|
||||
TextureFilm frames = new TextureFilm( texture, 16, 16 );
|
||||
|
||||
idle = new Animation( 5, true );
|
||||
idle.frames( frames, 0, 1, 0, 2 );
|
||||
|
||||
|
||||
run = new Animation( 15, true );
|
||||
run.frames( frames, 3, 4, 5, 6 );
|
||||
|
||||
|
||||
attack = new Animation( 12, false );
|
||||
attack.frames( frames, 7, 8, 9 );
|
||||
|
||||
|
||||
die = new Animation( 12, false );
|
||||
die.frames( frames, 10, 11, 12, 13 );
|
||||
|
||||
|
||||
play( idle );
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public int blood() {
|
||||
return 0xFFFFEA80;
|
||||
|
||||
Reference in New Issue
Block a user