Computer Science Canada

Help with shooting game

Author:  mumbojumbo123 [ Sun May 30, 2004 6:32 pm ]
Post subject:  Help with shooting game

Im makin this game where u shoot targets. right now the program works fine with just one target but when i add another it get messed up. i think its the if statement because it only covers the target if its in the circle's coordinates and the mouse is down. anyways suggestions would be great!

Author:  omni [ Sun May 30, 2004 6:45 pm ]
Post subject: 

you might want to post ur code so then people will get a clear idea of what you are saying...

Author:  SuperGenius [ Sun May 30, 2004 8:26 pm ]
Post subject: 

if you use filled shapes, you can use whatdotcolour on the mouse's location to see if the pixel in question is the colour of your objects. assuming that the background doesn't include the colour you're using inn any part of it then you will know that they clicked a target.

Author:  Flashkicks [ Mon May 31, 2004 8:26 am ]
Post subject: 

Confused ....................... Yaaaaaaaaa... Some coding to see might be helpful. .....ACHOO CODE.. Ahem.... Sorry- i got the snuffles.....


: