This commit is contained in:
kolaflash
2026-01-24 17:53:31 +01:00
parent f9a2409dad
commit 175ea1b726
5 changed files with 16 additions and 8 deletions
+2
View File
@@ -6,6 +6,7 @@ import {
resizeCanvas,
viewport,
} from "#/engine/Viewport.ts";
import { listenKeyboard } from "./engine/Keyboard.ts";
let then = self.performance.now();
let delta = 0;
@@ -32,6 +33,7 @@ function animate(timestamp: number): void {
});
listenPointer();
listenKeyboard();
animate(delta);
})();