28 reputation
3
bio website
location
age
visits member for 2 years, 2 months
seen May 24 '12 at 14:14

May
21
asked How should I do my collision response?
May
11
awarded  Editor
May
11
revised Pixel-perfect collision against rotated sprite in Flixel
added how I solved the problem for future readers
May
11
awarded  Scholar
May
11
comment Pixel-perfect collision against rotated sprite in Flixel
Okay! I just got it working, finally. It's not the most elegant code, but I can restructure it later. Thanks a lot, your help definitely pushed me in the right direction. I'll edit my solution into my question for future readers once I get the final kinks worked out (and once I get some sleep, lol).
May
11
accepted Pixel-perfect collision against rotated sprite in Flixel
May
9
comment Pixel-perfect collision against rotated sprite in Flixel
Also, how can I display a BitmapData on the screen, for debugging purposes?
May
9
comment Pixel-perfect collision against rotated sprite in Flixel
Not quite... I think I'm sort of getting the feel for it, though. FlxCollision does use framePixels. And as far as I can see, the real time rotation implemented by draw() doesn't change framePixels, it just creates a new BitmapData and renders that. So couldn't I just extend FlxSprite, override draw() and store that rotated BitmapData somewhere, then extend FlxCollision and get it to use that rather than framePixels?
May
9
awarded  Student
May
9
asked Pixel-perfect collision against rotated sprite in Flixel