4 ms·
That's fun! It runs pretty fast, though. You might want to have it start a bit slower. You should also use requestAnimationFrame instead of setInterval.
by mckoss 15y ago
That's fun! It runs pretty fast, though. You might want to have it start a bit slower.
You should also use requestAnimationFrame instead of setInterval.
http://paulirish.com/2011/requestanimationframe-for-smart-animating/
- 3dFlatLander 15y agoMight also be nice to have a 'Start Game' button--I clicked the link and then got a dialog about losing. Blocks on the edges are also a little hard to get at. Nice job! Fun too. :)