Contour shapes - 2 Questions
Hi, I am in the process of making a game, and I am planning on trying to get it as accurate and user-friendly as possible. It is a 2D-fighter game, kind of like Space Invaders or Galaga, and the enemies are imported GIF files. The bullets that our ship fires are also imported GIFs, along with our ship image.
Is there an easy way to check for collision between the objects that doesn't use a bounding box? Right now, basically I check for intersection between the smallest rectangles that can fit around the ships/bullets, but if the corner of the bullet happens to nick the very corner of an enemy, collision is detected. Is there a way to fix this? (Detecting the outline of the image, etc...?)
Also, I want the enemies to become darker the more they become hit. For example let's say that if an enemy is 50% dead, how can I make all of its pixels 50% darker? Thanks for any help...
Both of my questions may seem kind of elementary, but I have done very little image work in Java. And if you think it's elementary, then that's good! That means I have some good help on my side...
Once again thanks for any help!!

