Page 1 of 1

Error with intersect()

PostPosted: Oct 18, 2008 @ 7:12am
by RapchikProgrammer
Hey, i am having a problem with intersect() function in E2DSurface.

Now in my game i am creating one e2dsurface and blitting it over 50 times in different positions, now when i use the intersect() with the surface only the first image i blitted that is the index number 0 in the array collides none other does :S. please help me with this problem, thanks.

PostPosted: Oct 20, 2008 @ 3:36pm
by edge
Hi,

Are you using pixel precise collision detection, or basic bounding box collision? Also, are you setting the x/y parameters to the right coordinates in your function calls?

If you post a small code sample here, we can help you further.