Hello everyone. While i was walking to the scool today i came on idea how to make a "shape sensitive" panel buttons i 3dgs.. I think that you will see the difference between these and standard panel buttons:
Hello everyone my name is Ivan Mandic from "Frozen pixel studio". ----------------------------------- Homepage: www.fpx-studio.com e-mail: emu_hunter_1990@hotmail.com (working on a game engine)
I Used perpixel check for alpha values... but it wasn't really a solution for antialiased images aligned right aside eachother, since it then was possible to select multiple buttons at the same time. But I guess there is something to think about that as well.
It is simple..I used a pixel color scan..(pixel_for_bmap)
Hello everyone my name is Ivan Mandic from "Frozen pixel studio". ----------------------------------- Homepage: www.fpx-studio.com e-mail: emu_hunter_1990@hotmail.com (working on a game engine)
Yeah I did the same except checked the alpha instead of color
I think that this system works better..
Hello everyone my name is Ivan Mandic from "Frozen pixel studio". ----------------------------------- Homepage: www.fpx-studio.com e-mail: emu_hunter_1990@hotmail.com (working on a game engine)
Did you do the pixel_for_bmap checks in a button functionOver? I'm curious as to how you handled the overlapping, ie a panel with a rectangular bounding box over laps another bounding box, how do you determine which one the mouse is over if it's over both bounding boxes at once??? Thanks!