about summary refs log tree commit diff stats
path: root/html
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-12-29 17:32:34 -0500
committerelioat <elioat@tilde.institute>2024-12-29 17:32:34 -0500
commit8a82575121fdde1f891c754411abaa4872a144c9 (patch)
treec27bd2ff5256015286f49ecf63a48693d6909b62 /html
parent3e7c8c4b6182f9ba8756cbf1ceceb9dd00a55423 (diff)
downloadtour-master.tar.gz
Diffstat (limited to 'html')
-rw-r--r--html/isometric-bounce/js/game.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/html/isometric-bounce/js/game.js b/html/isometric-bounce/js/game.js
index 853763e..a1849c8 100644
--- a/html/isometric-bounce/js/game.js
+++ b/html/isometric-bounce/js/game.js
@@ -267,10 +267,9 @@ function createGame() {
     }
 
     function gameLoop(timestamp) {
-        // Set target frame duration for 60 FPS (approximately 16.67ms)
+
         const frameInterval = 1000 / 60;
         
-        // If we haven't stored the last frame time, or enough time has passed
         if (!state.lastFrameTime || timestamp - state.lastFrameTime >= frameInterval) {
             state.ctx.clearRect(0, 0, state.canvas.width, state.canvas.height);