cool i can't wait to see it, i love vert shooters.
I'm guessing it was influenced by ESPgaluda?
I'm trying to implement slow-mo...
dahhh ^--- was me, always forget to login. just PM me if you get a demo out soon, I got a domain recently so I could even host it for you if you want
[Edited by - AAAP on November 27, 2005 8:42:05 PM]
[Edited by - AAAP on November 27, 2005 8:42:05 PM]
i think the problem you experienced with the chopiness results from the integer rounding down the result.
say time diff is 7 it rounds down to 7/4 = 1
and if the time diff is 3 it rounds down to 0
you can change it to float, or if you want to keep everything int, you can keep the reminder of the result in another var, and add it to the calculation in the next time its called. (so 7/4 will return 1, but next time it will be (7+3)/4=2, next time it will be (7+1)/4)
if you call your method more than once per frame you can have very small time diff. even at only once per frame the error is too big to my likings.
Iftah.
say time diff is 7 it rounds down to 7/4 = 1
and if the time diff is 3 it rounds down to 0
you can change it to float, or if you want to keep everything int, you can keep the reminder of the result in another var, and add it to the calculation in the next time its called. (so 7/4 will return 1, but next time it will be (7+3)/4=2, next time it will be (7+1)/4)
if you call your method more than once per frame you can have very small time diff. even at only once per frame the error is too big to my likings.
Iftah.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement