Skip to content

Commit

Permalink
Cleaned up icecrusher eye socket graphics, made eyes during recovery …
Browse files Browse the repository at this point in the history
…more googly
  • Loading branch information
LMH0013 committed Aug 3, 2013
1 parent 125b5fa commit b16c2a8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
Binary file modified data/images/creatures/icecrusher/iceblock.xcf
Binary file not shown.
Binary file modified data/images/creatures/icecrusher/iceblock_main.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/images/creatures/icecrusher/krosh_main.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/object/icecrusher.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit b16c2a8

Please sign in to comment.