Cleaned up icecrusher eye socket graphics, made eyes during recovery more googly
authorLMH <lmh.0013@gmail.com>
Fri, 2 Aug 2013 23:58:29 +0000 (13:58 -1000)
committerLMH <lmh.0013@gmail.com>
Sat, 3 Aug 2013 00:59:01 +0000 (14:59 -1000)
data/images/creatures/icecrusher/iceblock.xcf
data/images/creatures/icecrusher/iceblock_main.png
data/images/creatures/icecrusher/krosh_main.png
src/object/icecrusher.cpp

index 769509f..b1a0a16 100644 (file)
Binary files a/data/images/creatures/icecrusher/iceblock.xcf and b/data/images/creatures/icecrusher/iceblock.xcf differ
index d6c9b3e..05da149 100644 (file)
Binary files a/data/images/creatures/icecrusher/iceblock_main.png and b/data/images/creatures/icecrusher/iceblock_main.png differ
index 3a40838..76bcb25 100644 (file)
Binary files a/data/images/creatures/icecrusher/krosh_main.png and b/data/images/creatures/icecrusher/krosh_main.png differ
index 7fd2f0e..043b748 100644 (file)
@@ -295,7 +295,7 @@ IceCrusher::eye_position(bool right)
   {
     // Eyes spin while icecrusher is recovering, giving a dazed impression
     return Vector(sin((right ? 1 : -1) * get_pos().y/13) * sprite->get_width()/64 * 2 - (right ? 1 : -1) * sprite->get_width()/64 * 2,
-                  cos(get_pos().y/13) * sprite->get_width()/64 * 2 - sprite->get_width()/64 * 2);
+                  cos(((right ? 3.1415 : 0) + get_pos().y/13)) * sprite->get_width()/64 * 2 - sprite->get_width()/64 * 2);
   }
 
   return Vector(0,0);