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

Username:   Password: 
 RegisterRegister   
 Trig?Dividing Screen? or Slope? How to Shoot a Hockey Puck
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
@DRI@N




PostPosted: Tue May 25, 2004 4:28 pm   Post subject: Trig?Dividing Screen? or Slope? How to Shoot a Hockey Puck

I posted my hockey game already, but I'm having a problem. I want to make the SHIFT key , the "shoot" key and I'm working with integers while the slope returns real. If I round the puck misses the net, and isn't accurate! How can I make the shots go on net properly??? Razz Embarassed
Sponsor
Sponsor
Sponsor
sponsor
Mazer




PostPosted: Tue May 25, 2004 4:54 pm   Post subject: (No subject)

So keep it real. Real as in, the type, not "keepin' it real, yo".

You should just round for drawing, everything else should be kept as accurate as possible.
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  [ 2 Posts ]
Jump to:   


Style:  
Search: