This commit is contained in:
kolaflash committed 2026-01-24 17:53:31 +01:00
1 parent f9a2409dad
commit 175ea1b726
5 files changed
+16 -8

No files matched your search

+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);
})();