Hello everybody its me again
I have here a strange calculation error.
if screen fps()>0
fps = screen fps()
vel# = fps / ( fps / 20 )
walkspeed# = (vel# / fps) * 10
endif
vel# should be always 20 not matter how many frames I get. It works with 60 frames and above but at 45 frames I get the first small errors like 22,5 and it goes up to 30 with 30 frames O.o
But I am sure vel# = 30 / (30 /20) = 20 O.o
Someone know what cause this strange problem?
System: Win 8.1 64 / Core i5 (3,9GHz), GeForce 760 GTX 192 - Bit Dx 11 (Driver 335.23) / 8GB Ram