My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 17: Bugfix for Sprite pixel level collision detection
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  bar...@gmail.com
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

Powered by Google Project Hosting