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

Username:   Password: 
 RegisterRegister   
 pls help recognizing
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
fabulos




PostPosted: Fri Apr 29, 2005 4:24 pm   Post subject: pls help recognizing

Ok..i have a major problem. My problem is that the lasers in my program don't seem to recognize the asteroid...rather (i think) the loop is exiting when

code:


if distance < 20 + 165



the distance is less than 185. So i'm not sure if it is actually checking for the distance between the radius. also...here's my code, and if someone can, can u tell me where i went wrong. Also i made it so it creates a yellow circle everytime this statment is fulfilled. I did this so i can check that it had happened

Thanks



space.ace
 Description:

Download
 Filename:  space.ace
 Filesize:  4.55 KB
 Downloaded:  86 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Flikerator




PostPosted: Fri Apr 29, 2005 9:29 pm   Post subject: (No subject)

What is an ace file????
fabulos




PostPosted: Fri Apr 29, 2005 10:14 pm   Post subject: (No subject)

ok..here is a .zip file.


space1.zip
 Description:

Download
 Filename:  space1.zip
 Filesize:  3.99 KB
 Downloaded:  82 Time(s)

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  [ 3 Posts ]
Jump to:   


Style:  
Search: