Hi guys
My question is simple
Is there a way to select sprites not by collision polygons but by visible pixels or something like that? In my case i use On mouse clicked on object.
Thanks
Not as far as I know - any reason why collision polygons are insufficient?
Develop games in your browser. Powerful, performant & highly capable.
How about incorporating z-index? The top z on the top layer that you're interested in would be the visible pixels.
I can be done with the canvas plugin. For example look at the capx here:
http://www.scirra.com/forum/cut-or-slice-an-Object_topic56228_post351923.html#351923
Event 2 under the "dragdrop" group checks if a visible pixel is clicked.
Thanks for help guys.
Im kinda blocked with work at work atm, but once i have some time i'll test those options.
Cheers