Trig?Dividing Screen? or Slope? How to Shoot a Hockey Puck
Author |
Message |
@DRI@N
|
Posted: 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??? ![Embarassed Embarassed](images/smiles/icon_redface.gif) |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Mazer
![](http://compsci.ca/v3/uploads/user_avatars/1323750815476d9f446d80c.png)
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
|
|