im currently programming a simple space invaders.. i have the aliens, missiles and the player.. all of them are working smoothly, but say those aliens are landed into the earth, when missiles hit the stones (for example) the stone must hava a damage. like in "GUN-BOUND" by mobius. can anyone tell me what method of Graphics2D should i use? thanks in advanced..

Recommended Answers

You could use clipping or alpha compositing to achieve that. Both are covered here: http://download.oracle.com/javase/tutorial/2d/advanced/index.html

Jump to Post

All 2 Replies

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.