diff --git a/app/header.tsx b/app/header.tsx index 03a6f87..e6cf3c5 100644 --- a/app/header.tsx +++ b/app/header.tsx @@ -95,6 +95,7 @@ export default function Header() { rel="noopener noreferrer" target="_blank" passHref + aria-label="Link to GitHub repo of the project" > diff --git a/app/playground/page.tsx b/app/playground/page.tsx index 0a1bfd8..483c1ec 100644 --- a/app/playground/page.tsx +++ b/app/playground/page.tsx @@ -338,34 +338,58 @@ export default function PlaygroundPage() { {!userPlaying && !visualizing && ( <>
- -
- -
- -
- -
diff --git a/components/Map.tsx b/components/Map.tsx index 6c385af..90b01c1 100644 --- a/components/Map.tsx +++ b/components/Map.tsx @@ -57,7 +57,7 @@ export function Map({ map, size = 64 }: { map: string[][]; size?: number }) { return (
Background Map diff --git a/public/map.png b/public/map.png deleted file mode 100644 index 690c534..0000000 Binary files a/public/map.png and /dev/null differ diff --git a/public/map.webp b/public/map.webp new file mode 100644 index 0000000..89148d2 Binary files /dev/null and b/public/map.webp differ diff --git a/renderer/index.ts b/renderer/index.ts index 505efd8..93961b0 100644 --- a/renderer/index.ts +++ b/renderer/index.ts @@ -30,7 +30,7 @@ async function loadAssets() { assets.loading = true; const [bg, box, player, rock, zombie, zombieHit] = await Promise.all([ - loadImage("/map.png"), + loadImage("/map.webp"), loadImage("/entities/block.svg"), loadImage("/entities/player_alive_1.svg"), loadImage("/entities/rocks.svg"),