Commit c62c270c authored by Renato Alves's avatar Renato Alves 🌱
Browse files

Rats are not mice (or at least white rats)

parent d10e3134
client/img/1/rat.png

6.79 KB | W: | H:

client/img/1/rat.png

8 KB | W: | H:

client/img/1/rat.png
client/img/1/rat.png
client/img/1/rat.png
client/img/1/rat.png
  • 2-up
  • Swipe
  • Onion skin
client/img/2/rat.png

10.2 KB | W: | H:

client/img/2/rat.png

4.81 KB | W: | H:

client/img/2/rat.png
client/img/2/rat.png
client/img/2/rat.png
client/img/2/rat.png
  • 2-up
  • Swipe
  • Onion skin
client/img/3/rat.png

14 KB | W: | H:

client/img/3/rat.png

7.32 KB | W: | H:

client/img/3/rat.png
client/img/3/rat.png
client/img/3/rat.png
client/img/3/rat.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -1182,7 +1182,10 @@ function(InfoManager, BubbleManager, Renderer, Map, Animation, Sprite, AnimatedT
}
entity.isDying = true;
entity.setSprite(self.sprites[entity instanceof Mobs.Rat ? "rat" : "death"]);
entity.setSprite(self.sprites["death"]);
// Commented this because we are no longer using a rat specific animation for death
// The animation was too bloody/gory
//entity.setSprite(self.sprites[entity instanceof Mobs.Rat ? "rat" : "death"]);
entity.animate("death", 120, 1, function() {
log.info(entity.id + " was removed");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment