I have a game loop where each time it goes through through the loop I use the function PtInRegion(). After 15 seconds, the function stops working.Any ideas why and how to fix it?
"Beware of computer programmers that carry screw drivers"
I have not a damn clue why it doesn''t work.
but you can figure out by stepping through your code using debug mode and the use of breakpoints.
HHSDrum@yahoo.com
Polarisoft Home Page

HHSDrum@yahoo.com
Polarisoft Home Page
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
Don''t you love debugging? You spent hours on it and in the end you find out a fullstop/semicolon/1 single thing that you would never notice. Christ it gives me a headache.
if you like programming, you like maths, you just don't know it yet
Hey. I don''t know for sure, but your function may stop responding because of some sort of over-flow or something in one of your variables. This is a pretty common reason for functions that stop working over a period of time, i would think.
I hope that little info helps!
-Shane
I hope that little info helps!
-Shane
-Shane Parker
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement