Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Help with shooting game
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
mumbojumbo123




PostPosted: 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!
Sponsor
Sponsor
Sponsor
sponsor
omni




PostPosted: Sun May 30, 2004 6:45 pm   Post subject: (No subject)

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




PostPosted: Sun May 30, 2004 8:26 pm   Post subject: (No 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.
Flashkicks




PostPosted: Mon May 31, 2004 8:26 am   Post subject: (No subject)

Confused ....................... Yaaaaaaaaa... Some coding to see might be helpful. .....ACHOO CODE.. Ahem.... Sorry- i got the snuffles.....
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: