MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / loop

Function loop

assets/js/flappybird.js:465–471  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

463
464// fuction loop
465function loop()
466{
467 draw();
468 update();
469 frames++;
470 requestAnimationFrame(loop); // call's that loop , frames per sec!
471}
472loop();

Callers 1

flappybird.jsFile · 0.70

Calls 2

drawFunction · 0.70
updateFunction · 0.70

Tested by

no test coverage detected