tlhunter/Cobalt-Calibur-3 — pull request #29 by derek-smith (2012-08-18 01:17:46+00:00)
Title: Updated movement by polling to achieve smoother movement

This removes the delay imposed by the browser/OS when a user holds down a movement key. This works by polling and tracking the movement keys. Right now it's set to check every 100 milliseconds. Tested in Chrome and Firefox in Ubuntu. This also limits the speed of the character to the polling interval. This is pretty simple and perhaps not ideal, but should give you an idea :)