Mouse cursor collision with image?
BlitzMax Forums/BlitzMax Beginners Area/Mouse cursor collision with image?
| ||
How do you go about detecting collisions between the default mouse cursor and an image with the imagescollide function? The imagescollide examples i could find are always between user-loaded images. That would seem to just put the system cursor on top of another image is all. -Or can you replace the system cursor with your own cursor image? |
| ||
Create an image of 1x1pixels. You need not to paint the image. You only have to use it "virtually" in the ImageCollide() function with the given coordinates of the mouse. |
| ||
Thanks. I was thinking a 1x1 pixel, but had it stuck in my head i had to draw it also. |