USE OFFSET

This commit is contained in:
Schluffe
2026-04-05 11:39:53 +02:00
parent f574804f68
commit f9b7e16376
11 changed files with 179 additions and 133 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ export function drawSprites(ctx: CanvasRenderingContext2D): void {
spriteSheetMap.get(sprite.src)!,
sprite.xStart,
sprite.yStart,
position.x,
position.y,
position.x + sprite.offset.x,
position.y + sprite.offset.y,
);
}
}