PDA

View Full Version : DelphiX Pixelcheck bug corrected



Useless Hacker
18-07-2003, 08:07 PM
From http://www.gamedev.net/community/forums/topic.asp?topic_id=168886

I have corrected the famous bug with delphiX, pixelcheck and sprite collision

The correction is not very hard to understand, i have putted explanations about the correction in the source code.

The bug is in the DXsprite.pas file, in the ImageCollisionTest() procedure and u'll find my explanations here

I have made a little program, which test the collision with a lot of animated sprite, and pixelcheck activated or not, and bench the perf of the computer.

you can download all of this here :
http://ahouaib.free.fr/DelphiX/

enjoy