Computer Science Canada Trig?Dividing Screen? or Slope? How to Shoot a Hockey Puck |
Author: | @DRI@N [ 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??? |
Author: | Mazer [ Tue May 25, 2004 4:54 pm ] |
Post 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. |