Wednesday, August 15, 2012

Javascript Loops

Something that I have been doing recently looks very much like a run loop for a video game. I load things in a sequence to give the illusion of speed on a webpage. This blog had a nice writeup. In the same way as having a redraw in a game, you can have a loop to check user input and get local updates. Mine were on the order of seconds, but it worked really well.

No comments:

Post a Comment