Graphics overhaul as well as many other things
This commit is contained in:
@@ -25,10 +25,13 @@ if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(naviga
|
||||
fps = 29;
|
||||
}
|
||||
|
||||
let play = true;
|
||||
|
||||
// Draw
|
||||
function draw() {
|
||||
// Loop
|
||||
requestAnimationFrame(draw);
|
||||
if(play)
|
||||
requestAnimationFrame(draw);
|
||||
|
||||
// Set NOW and DELTA
|
||||
now = Date.now();
|
||||
|
Reference in New Issue
Block a user