Add basic controls

This commit is contained in:
kolaflash committed 2026-01-23 14:21:21 +01:00
1 parent 589af23e8c
commit f9a2409dad
19 files changed
+225 -47

No files matched your search

+3
View File
@@ -1,3 +1,4 @@
import { listenPointer } from "#/engine/Pointer.ts";
import { currentScene, setScene } from "#/engine/Scene.ts";
import {
initViewport,
@@ -30,5 +31,7 @@ function animate(timestamp: number): void {
resizeCanvas(currentScene.data.width, currentScene.data.height);
});
listenPointer();
animate(delta);
})();