Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualsalmjak

Posted 05 January 2013 - 08:41 PM

Can that be because I have no sleeps in the code
Most probably yes. Most loops while cause a lot of strain on your cpu. (Some infinite loops will cause your computer to freeze completely)
What you could do is to use sleep to adjust movement speed instead of your current system. (I'm not a hundred percent positive on this solution thought)

#2salmjak

Posted 05 January 2013 - 08:41 PM

Can that be because I have no sleeps in the code
Most probably yes. Most loops while cause a lot of strain on your cpu. (Some infinite loops will cause your computer to freeze completely)
What you could do is to use sleep to adjust movement speed instead of your current system. (I'm not a hundred percent positive on this solution thought)

#1salmjak

Posted 05 January 2013 - 08:40 PM

Can that be because I have no sleeps in the code

 

Most probably yes. Most loops while cause a lot of strain on your cpu.

What you could do is to use sleep to adjust movement speed instead of your current system. (I'm not a hundred percent positive on this solution thought)


PARTNERS