Issue 17: Bugfix for Sprite pixel level collision detection
Status:  Fixed
Owner:
Closed:  Jan 2010
Project Member Reported by bar...@gmail.com, Nov 18, 2009
There is a bug in Sprite's pixel level collision detection, which causes
the getRGB method to sometimes throw an IllegalArgumentException or return
the wrong values. The problem only appears on Sprites with multiple frames
when the number of columns does not match the number of rows (for example a
1x3 or 3x2 image).

The fix is small, just requiring switching the 'rows' variable with 'cols'
in two places.

sprite.patch
1.1 KB   View   Download
Jan 8, 2010
Project Member #1 bar...@gmail.com
Fixed in trunk (future 3.0 version)
Status: Fixed
Labels: Milestone-3.0