Hey all,
I've been working on a menu system, but am looking at improving my code. I have some buttons loaded in the program as sprites, and currently to test if the mouse is over the button, I have to say something like:
If MouseX() >900 And MouseX() <1023 And MouseY() >180 And MouseY() <205
I've tried useing the Sprite Collision() command to test if the cursor sprite is bumping into the button sprite, but theres a problem, the button ha LOTS of black in it, so if the cursor is anywhere over that black, the program says it's not there. So, I added a RGB value of 0,0,10 to the black in the button so it would register as partly black. That didn't work, so I added more blue to the image, and that STILL didn't work I ended up haveing to make it look obviously a little blue, but it was STILL becoming transparent in DBC. Is there any way around this?
Thanks,
-Sunflash
When FPSC develops enough, lets make a Redwall game!
