v0.8.0: tweaked hidden mimic sprites

This commit is contained in:
Evan Debenham 2019-12-14 00:47:05 -05:00
parent 53b3d1e9fe
commit b23a091ed6
2 changed files with 7 additions and 0 deletions
core/src/main
assets
java/com/shatteredpixel/shatteredpixeldungeon/sprites

Binary file not shown.

Before

(image error) Size: 3.0 KiB

After

(image error) Size: 3.0 KiB

View File

@ -29,6 +29,13 @@ public class MimicSprite extends MobSprite {
private Animation hiding; private Animation hiding;
{
//adjust shadow slightly to account for 1 empty bottom pixel (used for border while hiding)
perspectiveRaise = 5 / 16f; //5 pixels
shadowWidth = 1f;
shadowOffset = -0.4f;
}
protected int texOffset(){ protected int texOffset(){
return 0; return 0;
} }