This commit is contained in:
kolaflash
2026-02-09 23:26:50 +01:00
parent fcc0f90198
commit f07dc0bf51
7 changed files with 211 additions and 13 deletions
+2
View File
@@ -5,6 +5,8 @@ import { pointer } from "#/engine/Pointer.ts";
import { fromSrc, type Sprite } from "#/engine/Sprite.ts";
import charIdle from "#/game/assets/char-idle.png";
// import { moveAndCollide } from "#/some/where.ts";
const idle: Sprite = await fromSrc(charIdle, 2, 4);
const { animate, process } = defineEntity("hero", {