but it is based on the computer velocity if i run it in my computer it runs normal if a put the same code in a older computer it runs slow i just want to know if anybody can help me to convert this code in other one that make reference to time or something to make it run at the same velocity in every computer not just in mine
Last edited by moekkog on Mon Apr 20, 2009 1:31 am, edited 1 time in total.
that change in speed is called "lagg". and the only way to prevent it is to buy a new computer...or produce console games so that all you're customers have the same type of machine
i dont want to prevent it, i want to chage my code to get a counter of the local time of the computer and each 5 tic the counter raise or something to make the code dependand of the time or something else not the capabilities of the computer
but the problem is the numbers of loops is based on a counter that is no dependance of the time, a is the same problem in some computers and in some it ends to quicly in others to late i have tried this code
but the time is not constant i dont know why and in some time the splascreen comes out but it take too long to desapear in others it simpli does not appera and i dont know why