This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Error with intersect()

Error with intersect()

Postby RapchikProgrammer » Oct 18, 2008 @ 7:12am

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.
pm Member
Posts: 56
Joined: Oct 18, 2008 @ 7:08am

Postby edge » Oct 20, 2008 @ 3:36pm


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.
EDGELIB: Cross-platform mobile development at your fingertips
User avatar
pm Member
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands

Return to EDGELIB


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.



Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum