Irregular Shape - Touch Ignore Transparency
lukejnr
Member, PRO Posts: 63
Hi,
So I am making a touch based puzzle with draggable pieces. As the shapes are irregular in shape, they are transparent PNG files. I have developed it so I can drag the pieces around with my finger.
I want GS to ignore any touches in the transparent part of the image. So if I have a triangle, I only want to be able to drag the piece if I touch the actually triangle, not the square container of the Actor.
Thanks, Luke
So I am making a touch based puzzle with draggable pieces. As the shapes are irregular in shape, they are transparent PNG files. I have developed it so I can drag the pieces around with my finger.
I want GS to ignore any touches in the transparent part of the image. So if I have a triangle, I only want to be able to drag the piece if I touch the actually triangle, not the square container of the Actor.
Thanks, Luke
Comments
Illustration Portfolio:: |
Our Christmas Wishes for iPad:: |
Astropak for iPhone,
Android
and Kindle Fire