1) You create a simple box around this item, it doesn't matter if he clicked one pixel from the item. That's the easiest and fastest way.
2) Use more than one of these boxes around the items, so you can get it work with many different shapes.
3) Use the alpha with the item white and the rest black and have it in the memory. If you click on some white stuff, he got the object. This method needs much memory and is slow compared to no. 1 or no. 2.
IMO method 1 should be the one you normally use, if you do not need it for something special. You will have less problems and more memory than using method 3. Method 2 is also useful if you go many different shapes, so you can have a circle item for example.
_ / \ | | \ _ /
In the first method, you have only one box around, like this :
__________ | _ | | / \ | | | | | | \ _ / | __________
This would work, but you could click on some characters which are near the item and you get the item and won't talk to the characters.
_______ |/ \| | | |\ _ /|
It's a bit ugly to show this using ASCII-art, but I don't wanna create some jpeg's or something else. I hope you unterstand what I mean. Here is one better example :
|---------|-------|| | || |-------|| ||---------|
Normally you would have big overhead in the rectangle, but you can create 2 rectangles and it works perfectly. You can do this with as many rects as you want and get it work with every object
CU
------------------
Skullpture Entertainment
#40842461
[This message has been edited by NuFAN (edited September 18, 1999).]