source code for imagerectcollide please :)
Blitz3D Forums/Blitz3D Beginners Area/source code for imagerectcollide please :)
| ||
I dont want the tail end of my arrow to cause a collision on a menu item. I know its stupid but I dont get the imagesrectcollide example. I want to test a collision point ie, the tip of the arrow with an image for collision. Please can someone GiMmIE Da cOdEZ. Read the sig <I noob, therefore I am> |
| ||
Just do this then. Create a 1x1 image. Call it point or something. Then:If imagesoverlap(point,MouseX(),MouseY(),menu_image,mx,my) then ;do stuff End If |
| ||
You don't need the image to be drawn, that's the beauty of the imagecollide commands :) |