I'm currently designing a game with triangular pieces. Since piece definitions are rectangular or square, this leaves a lot of leftover territory that is masked off. All well and good, but when the pieces are in any sort of proximity, they snap to each other and, worse, the "alpha-ed out" areas are still clickable, meaning that they overlap onto nearby pieces, making accurate selection impossible.
Is there any way to make transparent areas non-clickable?
Non-Clickable Alpha support
Moderators: Ichibrothers, Cambronne
-
- 010
- Posts: 42
- Joined: 20 Apr 2008, 01:43
- Location: The back of your mind
- Bill Barrett
- 231
- Posts: 351
- Joined: 25 May 2008, 13:25
-
- 010
- Posts: 42
- Joined: 20 Apr 2008, 01:43
- Location: The back of your mind
Sigh. You're right, of course. I never had this problem before, that I could remember, but it's been a short while since I had such odd-shaped components. My mask had a non-zero grayscale value in the background. Couldn't see it with your eyes, but the program, of course, knew it wasn't transparent. Fixed and thanks!