Hittest of transparent areas in images
Posted: 27 Feb 2015, 10:36
We want to implement Drag&Drop with images which also have transparent areas.
We need to test if the player clicked on a transparent area on the image or not.
Is there a way to read the alpha value of a pixel of the image?
Or how would you solve this issue of transparent areas that should not react to Mouse Inputs?
Edit: We are using the C++ Version.
We need to test if the player clicked on a transparent area on the image or not.
Is there a way to read the alpha value of a pixel of the image?
Or how would you solve this issue of transparent areas that should not react to Mouse Inputs?
Edit: We are using the C++ Version.