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.
Original issue reported on code.google.com by bar...@gmail.com on 18 Nov 2009 at 11:55
Original issue reported on code.google.com by
bar...@gmail.com
on 18 Nov 2009 at 11:55Attachments: