Excuse me if I'm wrong, but I think for kSPEED you might want something closer to:
kSPEED = room_speed / fps;
Rather than not understanding why it doesn't work in HTML5 I'm wondering why it works in Windows. The technique that I think you're going for is called delta time and is a great idea to use even on one platform due to differences in hardware.



Find content
Male
