Continuous Animation in JS(well coffeescript)

So I’m making a game in Coffeescript, and I have this conveyer belt that moves boxes from the right side of the screen to the left. And then players drag the boxes off and out them in a colored container. My question is what is the best way to have have a bunch of items move across the screen. What box comes out the left side is random so how should I even render that. Any help is appreciated, feel free to use or suggest any libraries that would help I have no difference to any.

here is how I did it back when. I would explain it but I would have to read through it as well. Been a whle http://www.websitecodetutorials.com/code/jquery-plugins/repeating-jquery-animation-with-cookie-on-off.php

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.