Restore entity animations and processes

This commit is contained in:
Schluffe
2026-03-11 00:20:25 +01:00
parent a81542354b
commit fefb545f7a
6 changed files with 144 additions and 114 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ import portal from "#/game/assets/portal.png";
const portalSrc = await defineSpriteSheet(portal, 3, 1);
defineEntity("portal", {
position: createVector(64, 64),
position: createVector(),
sprite: createSprite(portalSrc),
animation: createSpritePlayback(400, 0),
playback: createSpritePlayback(400, 0),
});