about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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);