I am new here so let me first say hello!
Second thing: Slick2D is rlly great work! I enjoy using Slick!
Ok then - heres My Problem:
I have got a tga-Image and i want to check a Collision with this Image.
The Figur is black, the light red area is transparent!
I want that for Example the area of the figures head is detected seperatly from for Example the figures lower body.
Uploaded with ImageShack.us
Now they are several Ways to do this in Slick.
1) Creating a Polygon and Check whether the MousePosition is inside
Problem is - it's a lot of work to set up a polygon for every new figur separatly...
2) Check whether the MousePosition is inide the tga-File
Problem is - i want to detect only the visible areas - if I check the MousePosition
depending of the Images Width and Height i will also get "true" if the Mouse stays over
the transparent area.
How would u solve this problem?