Can anyone give me some pointers with the below game please
http://www.geocities.com/gjpollitt/game.zip
I want to test if the laser hits the bat, how can I do this properly? The code as it stands detects a hit even when the laser is on the other side of the screen !!
If it hits the bat, how do I delete the bat image?
How would I approach this code if I had 10 bats? Would I have to create a type array? How would I add/delete bats from this?
Thanks for any help I may receive :)
http://www.geocities.com/gjpollitt/game.zip
I want to test if the laser hits the bat, how can I do this properly? The code as it stands detects a hit even when the laser is on the other side of the screen !!
If it hits the bat, how do I delete the bat image?
How would I approach this code if I had 10 bats? Would I have to create a type array? How would I add/delete bats from this?
Thanks for any help I may receive :)