feat: Implement pixel-art rendering with new level loading, tile maps, palettes, and pixel fonts, alongside a game over screen.

This commit is contained in:
Juan Sebastián Montoya 2026-01-06 17:21:15 -05:00
parent 5b15e63ac3
commit cf04677511
41 changed files with 793 additions and 331 deletions

View file

@ -26,7 +26,7 @@ export class PlayerControllerSystem extends System {
// Movement input
let moveX = 0;
let moveY = 0;
const moveSpeed = 200;
const moveSpeed = 100; // Scaled down for 320x240
if (inputSystem.isKeyPressed('w') || inputSystem.isKeyPressed('arrowup')) {
moveY -= 1;
@ -67,3 +67,4 @@ export class PlayerControllerSystem extends System {
}
}