Diagonal object clickable area

Started by arj0n, Fri 13/01/2012 10:04:12

Previous topic - Next topic

arj0n

How can I change the clickable object of a diagonal object (like a stick) so that only the diagonal stick itself is clickable and not the other transparant areas of the sprite?

Khris

Transparent areas of Object sprites are ignored by default.
Check the "Pixel-perfect click detection" setting in General settings / Visual and set it to true.

arj0n

#2
Thanx, I think I used the wrong 'Transparant colour' option when importing the sprite.


SMF spam blocked by CleanTalk