{
 "topic": "small-2d-browser-game",
 "url": "https://stacks.jakubdudek.com/small-2d-browser-game",
 "title": "How to make a small 2D browser game in pixel art with graphics from image models (engine, sprites, design)",
 "description": "Which 2D engine to choose for a small top-down game written by an agent, how to get consistent animated sprites with a transparent background and a true pixel grid from the image models on OpenRouter, and how to design a scent mechanic and a short exploration game (November 2026).",
 "aliases": [
  "game",
  "games",
  "gamedev",
  "browser game",
  "HTML5 game",
  "2D",
  "top-down",
  "pixel art",
  "sprite",
  "sprite sheet",
  "walk cycle",
  "tilemap",
  "Tiled",
  "LDtk",
  "Phaser",
  "Phaser 4",
  "Excalibur",
  "KAPLAY",
  "LittleJS",
  "PixiJS",
  "OpenRouter",
  "Image API",
  "gpt-image-2.6",
  "gpt-5.4-image-2",
  "nano banana",
  "gemini-nano-banana-2.1",
  "gemini-3-pro-image",
  "transparent background",
  "chroma key",
  "proper-pixel-art",
  "ppa",
  "pixel snapper",
  "pixfix",
  "PixelLab",
  "Retro Diffusion",
  "scent mechanic",
  "scent tracking",
  "smell mechanic",
  "detective vision",
  "cozy game",
  "A Short Hike",
  "Alba",
  "Lost and Hound",
  "Dog's Life",
  "virtual joystick",
  "touch controls",
  "iOS Safari audio"
 ],
 "domain": "ai",
 "created": "2026-11-30",
 "last_checked": "2026-11-30",
 "claims": [
  {
   "ref": "small-2d-browser-game#c1",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c1",
   "card": "small-2d-browser-game",
   "id": "c1",
   "status": "valid",
   "claim": "OpenRouter's Image API has a `background` parameter with the value `transparent`, which requires a format with an alpha channel (PNG or WebP).",
   "quote": "`background` — `auto`, `transparent`, or `opaque`. `transparent` requires an alpha-capable format (png or webp).",
   "source_url": "https://openrouter.ai/docs/guides/overview/multimodal/image-generation",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2026-12-30"
  },
  {
   "ref": "small-2d-browser-game#c2",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c2",
   "card": "small-2d-browser-game",
   "id": "c2",
   "status": "valid",
   "claim": "In the catalogue of OpenRouter's Image API the model `openai/gpt-image-2.6-sunburst` accepts `background: transparent` and up to 16 reference images.",
   "quote": "GPT Image 2.6 Sunburst is OpenAI's image generation and editing model optimized for detail: dense compositions, text-heavy layouts, and edits that keep details consistent from one edit to the next...\",\"created\":1793835357,\"architecture\":{\"input_modalities\":[\"text\",\"image\"],\"output_modalities\":[\"image\"]},\"supported_parameters\":{\"aspect_ratio\":{\"type\":\"enum\",\"values\":[\"1:1\",\"3:2\",\"2:3\",\"4:3\",\"3:4\",\"16:9\",\"9:16\",\"21:9\",\"auto\",\"4:5\",\"5:4\",\"2:1\",\"1:2\",\"3:1\",\"1:3\"]},\"output_format\":{\"type\":\"enum\",\"values\":[\"png\",\"jpeg\",\"webp\",\"gif\"]},\"quality\":{\"type\":\"enum\",\"values\":[\"auto\",\"low\",\"medium\",\"high\",\"xhigh\",\"max\"]},\"background\":{\"type\":\"enum\",\"values\":[\"auto\",\"transparent\",\"opaque\"]}",
   "source_url": "https://openrouter.ai/api/v1/images/models",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2026-12-30"
  },
  {
   "ref": "small-2d-browser-game#c3",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c3",
   "card": "small-2d-browser-game",
   "id": "c3",
   "status": "valid",
   "claim": "`openai/gpt-5.4-image-2` on OpenRouter does not offer a transparent background: the `background` parameter has only `auto` and `opaque`.",
   "quote": "It enables rich multimodal workflows, allowing users to seamlessly move between reasoning, coding, and...\",\"created\":1776797528,\"architecture\":{\"input_modalities\":[\"image\",\"text\",\"file\"],\"output_modalities\":[\"image\",\"text\"]},\"supported_parameters\":{\"aspect_ratio\":{\"type\":\"enum\",\"values\":[\"1:1\",\"3:2\",\"2:3\",\"4:3\",\"3:4\",\"16:9\",\"9:16\",\"21:9\",\"auto\",\"4:5\",\"5:4\"]},\"output_format\":{\"type\":\"enum\",\"values\":[\"png\",\"jpeg\",\"webp\"]},\"quality\":{\"type\":\"enum\",\"values\":[\"auto\",\"low\",\"medium\",\"high\"]},\"background\":{\"type\":\"enum\",\"values\":[\"auto\",\"opaque\"]}",
   "source_url": "https://openrouter.ai/api/v1/images/models",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2026-12-30"
  },
  {
   "ref": "small-2d-browser-game#c4",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c4",
   "card": "small-2d-browser-game",
   "id": "c4",
   "status": "valid",
   "claim": "`google/gemini-nano-banana-2.1` in the Image API catalogue has no background parameter; it takes the resolutions 1K/2K/4K, aspect ratios including 4:1 and 8:1, and up to 14 reference images.",
   "quote": "Nano Banana 2.1 (Gemini Nano Banana 2.1) is Google's image generation and editing model on the Flash tier, succeeding Nano Banana 2 and Nano Banana Pro. It improves product recontextualization,...\",\"created\":1791300825,\"architecture\":{\"input_modalities\":[\"image\",\"text\"],\"output_modalities\":[\"image\",\"text\"]},\"supported_parameters\":{\"resolution\":{\"type\":\"enum\",\"values\":[\"1K\",\"2K\",\"4K\"]},\"aspect_ratio\":{\"type\":\"enum\",\"values\":[\"1:1\",\"1:4\",\"1:8\",\"2:3\",\"3:2\",\"3:4\",\"4:1\",\"4:3\",\"4:5\",\"5:4\",\"8:1\",\"9:16\",\"16:9\",\"21:9\"]},\"n\":{\"type\":\"range\",\"min\":1,\"max\":1},\"input_references\":{\"type\":\"range\",\"min\":0,\"max\":14}}",
   "source_url": "https://openrouter.ai/api/v1/images/models",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2026-12-30"
  },
  {
   "ref": "small-2d-browser-game#c5",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c5",
   "card": "small-2d-browser-game",
   "id": "c5",
   "status": "valid",
   "claim": "According to a practitioner Gemini does not generate a transparent background: asked for one, it draws a checkerboard or gives inconsistent results.",
   "quote": "Gemini can’t generate transparent backgrounds. If you ask for “transparent background,” you get weird checkerboard patterns or inconsistent results.",
   "source_url": "https://buildwithstar.com/blog/ai-sprite-animations",
   "tier": "T4",
   "checked": "2026-11-30",
   "valid_until": "2026-12-30"
  },
  {
   "ref": "small-2d-browser-game#c6",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c6",
   "card": "small-2d-browser-game",
   "id": "c6",
   "status": "valid",
   "claim": "Nano Banana does not lay sprites out in an even grid, even when asked to.",
   "quote": "Nano Banana does **not** space sprites in a perfectly uniform grid, even when you ask for one.",
   "source_url": "https://roboticape.com/2026/03/07/generating-game-sprites-with-gemini-image-generation-nano-banana-pro-lessons-learned/",
   "tier": "T4",
   "checked": "2026-11-30",
   "valid_until": "2026-12-30"
  },
  {
   "ref": "small-2d-browser-game#c7",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c7",
   "card": "small-2d-browser-game",
   "id": "c7",
   "status": "valid",
   "claim": "The frame-by-frame pattern: later frames are generated with frame 0 as the reference image, not the previous frame, so that drift does not accumulate.",
   "quote": "Frames 1–3 come from Gemini 2.5 Flash Image with **frame 0 as the reference image** (not the previous frame) so drift does not compound.",
   "source_url": "https://ianlintner.github.io/ai-pixel-art-image-generation/cookbook/animation/",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2026-12-30"
  },
  {
   "ref": "small-2d-browser-game#c8",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c8",
   "card": "small-2d-browser-game",
   "id": "c8",
   "status": "valid",
   "claim": "On the OpenAI forum users of gpt-image-2 advise against generating a whole sprite sheet at once and in favour of working frame by frame.",
   "quote": "Avoid generating a full sprite sheet all at once. Working frame by frame tends to produce better results.",
   "source_url": "https://community.openai.com/t/developing-sprite-sheets-with-gpt-image-2/1379831",
   "tier": "T4",
   "checked": "2026-11-30",
   "valid_until": "2026-12-30"
  },
  {
   "ref": "small-2d-browser-game#c9",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c9",
   "card": "small-2d-browser-game",
   "id": "c9",
   "status": "valid",
   "claim": "`proper-pixel-art` has the CLI `ppa` with parameters for palette size, scale and a transparent background.",
   "quote": "ppa <input_path> -o <output_path> -c <palette_size> -s <scale> [-t]",
   "source_url": "https://github.com/KennethJAllen/proper-pixel-art",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2026-12-30"
  },
  {
   "ref": "small-2d-browser-game#c10",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c10",
   "card": "small-2d-browser-game",
   "id": "c10",
   "status": "valid",
   "claim": "A general model with a repair tool gives neither rotations nor animation, and keeping a character consistent across frames is left to the author.",
   "quote": "It gives you no rotations or animation, though, and keeping one character consistent across frames is your problem.",
   "source_url": "https://oryn.dev/blog/pixellab-vs-retro-diffusion",
   "tier": "T3",
   "checked": "2026-11-30",
   "valid_until": "2026-12-30"
  },
  {
   "ref": "small-2d-browser-game#c11",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c11",
   "card": "small-2d-browser-game",
   "id": "c11",
   "status": "valid",
   "claim": "PixelLab's rotation tool lets one set the view (low or high top-down, side) and a bipedal or quadrupedal body type.",
   "quote": "Optionally set **view** (low top-down, high top-down, side) and **body type** (bipedal, quadrupedal).",
   "source_url": "https://www.pixellab.ai/docs/tools/create-8-rotations-pro",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2026-12-30"
  },
  {
   "ref": "small-2d-browser-game#c12",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c12",
   "card": "small-2d-browser-game",
   "id": "c12",
   "status": "valid",
   "claim": "On the Phaser 4 download page the latest release is v4.2.1, of 9 July 2026.",
   "quote": "[v4.2.1](https://phaser.io/download/release/v4.2.1)  | Giedi  | 9th July 2026",
   "source_url": "https://phaser.io/download/phaser4",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2027-01-29"
  },
  {
   "ref": "small-2d-browser-game#c13",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c13",
   "card": "small-2d-browser-game",
   "id": "c13",
   "status": "valid",
   "claim": "The Phaser repository has a `skills/` folder meant for coding agents, describing the architecture, APIs and gotchas of Phaser 4.",
   "quote": "Point your AI coding agent at the `skills/` folder and it will understand Phaser 4's architecture, APIs, patterns, and gotchas in depth.",
   "source_url": "https://github.com/phaserjs/phaser",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2027-01-29"
  },
  {
   "ref": "small-2d-browser-game#c14",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c14",
   "card": "small-2d-browser-game",
   "id": "c14",
   "status": "valid",
   "claim": "In Phaser 4 the `roundPixels` option defaults to `false`; in v3 it was `true`.",
   "quote": "The `roundPixels` game config option now defaults to `false` (it was `true` in v3).",
   "source_url": "https://github.com/phaserjs/phaser/blob/master/skills/v3-to-v4-migration/SKILL.md",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2027-01-29"
  },
  {
   "ref": "small-2d-browser-game#c15",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c15",
   "card": "small-2d-browser-game",
   "id": "c15",
   "status": "valid",
   "claim": "Phaser has integer scaling for pixel art: `MAX_ZOOM` picks the largest integer multiplier, and `pixelArt: true` turns smoothing off.",
   "quote": "`MAX_ZOOM` calculates the largest integer multiplier that fits in the parent. Combined with `pixelArt: true` (which disables anti-aliasing), this gives crisp pixel rendering.",
   "source_url": "https://github.com/phaserjs/phaser/blob/master/skills/scale-and-responsive/SKILL.md",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2027-01-29"
  },
  {
   "ref": "small-2d-browser-game#c16",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c16",
   "card": "small-2d-browser-game",
   "id": "c16",
   "status": "valid",
   "claim": "Phaser's official skill on tilemaps covers loading Tiled JSON maps, layers and tile collision.",
   "quote": "Covers loading Tiled JSON maps, creating tilemap layers, tile collision, dynamic tiles, tile properties, and tilemap camera culling.",
   "source_url": "https://github.com/phaserjs/phaser/blob/master/skills/tilemaps/SKILL.md",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2027-01-29"
  },
  {
   "ref": "small-2d-browser-game#c17",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c17",
   "card": "small-2d-browser-game",
   "id": "c17",
   "status": "valid",
   "claim": "The minified Phaser weighs 345 KB after gzip compression.",
   "quote": "The minified build, `phaser.min.js`, strips all of that out and comes in at **345 KB** with standard gzip web server compression.",
   "source_url": "https://github.com/phaserjs/phaser",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2027-01-29"
  },
  {
   "ref": "small-2d-browser-game#c18",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c18",
   "card": "small-2d-browser-game",
   "id": "c18",
   "status": "valid",
   "claim": "The file phaser.io/llms.txt describes the open Phaser 4 as a framework for writing a game's code by hand.",
   "quote": "Phaser 4 is the free, open-source HTML5 game framework, for writing a game's code by hand.",
   "source_url": "https://phaser.io/llms.txt",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2027-01-29"
  },
  {
   "ref": "small-2d-browser-game#c19",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c19",
   "card": "small-2d-browser-game",
   "id": "c19",
   "status": "valid",
   "claim": "From v1 on Excalibur declares semantic versioning, and v1 itself contains the collected breaking changes, mostly to API names.",
   "quote": "Starting with v1, we'll be following semantic versioning as best we can and breaks are considered bugs and will be patched or feature flagged. As a result v1 does have some breaks (but it's mostly just api names) that have been batched up for a while",
   "source_url": "https://excaliburjs.com/blog/excalibur-1-0-0-released/",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2027-01-29"
  },
  {
   "ref": "small-2d-browser-game#c20",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c20",
   "card": "small-2d-browser-game",
   "id": "c20",
   "status": "valid",
   "claim": "The Tiled plugin for Excalibur treats a tile layer with the property `solid = true` as collision.",
   "quote": "You can mark a layer solid by setting the special custom boolean property `solid = true` on the tile layer. This will indicate to the plugin that any space with a non-zero Tile gid should be treated as a solid rectangle.",
   "source_url": "https://excaliburjs.com/docs/tiled-plugin/",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2027-01-29"
  },
  {
   "ref": "small-2d-browser-game#c21",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c21",
   "card": "small-2d-browser-game",
   "id": "c21",
   "status": "valid",
   "claim": "A small 2D game on LittleJS built by Vite weighs about 29 KB after gzip.",
   "quote": "A bundler like Vite leaves out the plugins a game does not use, so a small 2D game comes to about 29 KB gzipped, and a lit 3D scene to about 72 KB.",
   "source_url": "https://github.com/KilledByAPixel/LittleJS",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2027-01-29"
  },
  {
   "ref": "small-2d-browser-game#c22",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c22",
   "card": "small-2d-browser-game",
   "id": "c22",
   "status": "valid",
   "claim": "LittleJS has a built-in on-screen touch gamepad (a stick and buttons), handled by the ordinary gamepad functions.",
   "quote": "Once enabled, an analog stick and face buttons appear on touch devices, and the regular gamepad input functions (`gamepadIsDown`, `gamepadStick`) work normally",
   "source_url": "https://github.com/KilledByAPixel/LittleJS/blob/main/FAQ.md",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2027-01-29"
  },
  {
   "ref": "small-2d-browser-game#c23",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c23",
   "card": "small-2d-browser-game",
   "id": "c23",
   "status": "valid",
   "claim": "A practitioner who made the same game in Phaser, KAPLAY and Excalibur reports that LLM answers about Phaser are usually right, and that there are many more hallucinations about the other two.",
   "quote": "Additionally, Phaser has an AI advantage. For example, if you ask ChatGPT a question related to Phaser, more likely than not, the answer provided will be right. As for KAPLAY and Excalibur, you’ll get a lot more hallucinations.",
   "source_url": "https://jslegenddev.substack.com/p/i-tried-3-web-game-frameworks-so",
   "tier": "T4",
   "checked": "2026-11-30",
   "valid_until": "2027-01-29"
  },
  {
   "ref": "small-2d-browser-game#c24",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c24",
   "card": "small-2d-browser-game",
   "id": "c24",
   "status": "valid",
   "claim": "On the iPhone Safari treats Web Audio like a ringtone, so silent mode mutes the whole game; the fix is to declare the sound as media playback.",
   "quote": "On iPhone, Safari treats Web Audio like a ringtone, so silent mode muted the whole game. The game now declares its audio as media playback when sound starts.",
   "source_url": "https://github.com/itechify/clowder/pull/83",
   "tier": "T4",
   "checked": "2026-11-30",
   "valid_until": "2027-01-29"
  },
  {
   "ref": "small-2d-browser-game#c25",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c25",
   "card": "small-2d-browser-game",
   "id": "c25",
   "status": "valid",
   "claim": "The main charge against “detective vision” modes: they are so useful and so free of drawbacks that players have them on almost all the time.",
   "quote": "One complaint pretty much everyone had of detective vision was that it was so useful with no real drawbacks as to make it virtually ubiquitous.",
   "source_url": "https://www.avclub.com/out-of-focus-dismantling-detective-mode",
   "tier": "T3",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c26",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c26",
   "card": "small-2d-browser-game",
   "id": "c26",
   "status": "valid",
   "claim": "A vision mode can take the challenge out of an investigation and turn it into rote work, and can also strip a game of visual variety if it is too useful.",
   "quote": "A vision mode can strip all challenge out of an investigation, turn it into rote busywork. A vision mode can also sap all visual variety out of a game: you have to be careful to not make it too useful, or players will never turn it off.",
   "source_url": "https://intermittentmechanism.blog/2019/09/21/the-detectives-gaze/",
   "tier": "T4",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c27",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c27",
   "card": "small-2d-browser-game",
   "id": "c27",
   "status": "valid",
   "claim": "The proposed fix: the sense should only locate things vaguely (a sound, a vibration, a blotch on a radar), so that it is something to manage and not a win button.",
   "quote": "make them useful for vaguely locating enemies and things of interest, through sounds, vibrations, as a splodge on a handheld radar or the tightening of a camera angle on Batman’s haunches. That’d stop it from being the win button and turn it into something you’ve got to navigate and manage",
   "source_url": "https://www.avclub.com/out-of-focus-dismantling-detective-mode",
   "tier": "T3",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c28",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c28",
   "card": "small-2d-browser-game",
   "id": "c28",
   "status": "valid",
   "claim": "In the game The Scout scents drift with the wind over a vector field and disperse with time, so the player catches a scent far downwind and tracks it to its source.",
   "quote": "These scents all exist in an ever-present vector field that describes wind-speed and direction across every level and scents will travel downwind like a leaf in a stream until they diffuse and disappear with time. This allows a player to catch a scent far downwind and track it to its source like a hound on a trail.",
   "source_url": "https://legendsofredwall.com/2020/05/12/meaningful-scent-system/",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c29",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c29",
   "card": "small-2d-browser-game",
   "id": "c29",
   "status": "valid",
   "claim": "Scent prints in The Scout fade with time and depend on the ground: on bare earth they last longer than on stone, and in a stream bed none form.",
   "quote": "Scent Prints can reveal who passed through the room only minutes earlier and they fade with time. Scent Prints on bare earth might last longer than those on cold stone and some materials, like a stream bed, suffer no Scent Prints at all.",
   "source_url": "https://legendsofredwall.com/2020/05/12/meaningful-scent-system/",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c30",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c30",
   "card": "small-2d-browser-game",
   "id": "c30",
   "status": "valid",
   "claim": "The developers of The Scout call designing levels around scent, in a way the average player can understand, a still unsolved challenge.",
   "quote": "Lastly, and still vexing, is the challenge of asking level designers to think a little like an animal and design compelling interactions that leverage this as a core mechanic in a way that is both different from our every day experience but still understandable to the average player",
   "source_url": "https://legendsofredwall.com/2020/05/12/meaningful-scent-system/",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c31",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c31",
   "card": "small-2d-browser-game",
   "id": "c31",
   "status": "valid",
   "claim": "In Lost and Hound scent is a low hum that plays when the character walks over a path taken earlier by something else.",
   "quote": "Scent is represented by a low humming sound that automatically plays when the character walks over the path taken previously by something else in the level.",
   "source_url": "https://caniplaythat.com/2019/11/11/accessible-game-feature-lost-and-hound/",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c32",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c32",
   "card": "small-2d-browser-game",
   "id": "c32",
   "status": "valid",
   "claim": "In Lost and Hound the dog, when moving, sniffs at the ground and hears only the trail and its own steps, and when it stops it raises its head and hears far ahead.",
   "quote": "When you’re walking, you’re sniffing the ground. Your head is pointed down, you can really only hear the trail and your footsteps. When you stop walking, your head pops up and your ears are facing forward. You can now hear in front of you for a very long way.",
   "source_url": "https://caniplaythat.com/2019/11/11/accessible-game-feature-lost-and-hound/",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c33",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c33",
   "card": "small-2d-browser-game",
   "id": "c33",
   "status": "valid",
   "claim": "The developer of Lost and Hound described a visual variant: off the trail the colours of the world fade towards black and white, and on the trail the world blooms with colour.",
   "quote": "so that when they’re not on the scent trail, the colours of the world are slightly dull, even moving towards black and white, and when they’re on the scent trail, the world blooms with vibrant colours.",
   "source_url": "https://caniplaythat.com/2019/11/11/accessible-game-feature-lost-and-hound/",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c34",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c34",
   "card": "small-2d-browser-game",
   "id": "c34",
   "status": "valid",
   "claim": "The team of Alba, which comes from mobile games, assumes that a game has to be completable without sound.",
   "quote": "Coming from a mobile background, we’re kind of used to the fact that we have to make a game that can be played without sound",
   "source_url": "https://www.gamebyte.com/theres-room-for-games-like-this-too-alba-a-wildlife-adventure-developer-interview/",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c35",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c35",
   "card": "small-2d-browser-game",
   "id": "c35",
   "status": "valid",
   "claim": "The creator of A Short Hike prefers rewards that are something to do or to see, something unique.",
   "quote": "And so the rewards that I like to think of are things that are just something to do, something to see – something unique, like a vibe.",
   "source_url": "https://www.gamesradar.com/games/open-world/some-open-world-games-can-make-it-feel-like-youre-not-really-exploring-youre-just-traveling-a-short-hike-creator-says-finding-unique-ways-of-rewarding-players-is-key-which-dark-souls-and-breath-of-the-wild-nailed/",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c36",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c36",
   "card": "small-2d-browser-game",
   "id": "c36",
   "status": "valid",
   "claim": "In A Short Hike many of the digging spots are only suggested by the scenery; the author calls these micro-puzzles, which take a little thought.",
   "quote": "Some of the dig spots are clearly marked, but a lot of them are only implied by the scenery - a lot like the Korok seeds in Breath of the Wild. In this way, I could make what I thought of as “micro-puzzles” - that is, simple things to do that reward exploration, but still require a tiny bit of thought so that it feels satisfying.",
   "source_url": "https://www.gamedeveloper.com/business/road-to-the-igf-adam-robinson-yu-s-i-a-short-hike-i-",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c37",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c37",
   "card": "small-2d-browser-game",
   "id": "c37",
   "status": "valid",
   "claim": "The ending of A Short Hike rewards the most thorough explorers with more ways to the summit, but it can be reached with almost no golden feathers.",
   "quote": "This section should reward players who explored the most, giving them more ways to reach the summit. However, I wanted to make sure it was also possible to get up there with barely any golden feathers too.",
   "source_url": "https://blog.playstation.com/2021/11/13/the-award-winning-a-short-hike-hits-ps4-november-16/",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c38",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c38",
   "card": "small-2d-browser-game",
   "id": "c38",
   "status": "valid",
   "claim": "For the makers of Alba the density of the island was a more important conversation than its size.",
   "quote": "The density was a much more important conversation for us than the size of the island, so it felt alive but not overly busy or too sparse",
   "source_url": "https://filmstories.co.uk/features/how-we-made-alba-a-wildlife-adventure/",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c39",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c39",
   "card": "small-2d-browser-game",
   "id": "c39",
   "status": "valid",
   "claim": "The creator of Little Kitty, Big City changed the direction of the game, having concluded that people do not want to watch a kitten struggle, fail or get hurt.",
   "quote": "I realized that seeing a little kitty struggle, fail or get hurt was not something people would want to experience, so I pivoted.",
   "source_url": "https://www.reddit.com/r/NintendoSwitch/comments/1d79w1r/meowllo_were_the_developers_of_little_kitty_big/",
   "tier": "T2",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c40",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c40",
   "card": "small-2d-browser-game",
   "id": "c40",
   "status": "valid",
   "claim": "Apple's guidelines for touch games: show the movement stick where the player puts a thumb, instead of in a fixed place.",
   "quote": "For movement control, opt to show a virtual thumbstick wherever the player lands their thumb instead of a static thumbstick position.",
   "source_url": "https://developer.apple.com/design/human-interface-guidelines/game-controls",
   "tier": "T1",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  },
  {
   "ref": "small-2d-browser-game#c41",
   "url": "https://stacks.jakubdudek.com/small-2d-browser-game/c41",
   "card": "small-2d-browser-game",
   "id": "c41",
   "status": "valid",
   "claim": "A reviewer of Dog's Life judged Smellovision to be poorly executed: the mode only shows scents to collect and highlights places with bones.",
   "quote": "While an interesting concept on paper, the execution of Smellovision is sorely lacking. Effectively, all this mode does is make visible various scents that must be collected and highlight people and places from which bones can be obtained.",
   "source_url": "https://games.kikizo.com/reviews/ps2/dogslife.asp",
   "tier": "T3",
   "checked": "2026-11-30",
   "valid_until": "2027-05-29"
  }
 ],
 "as_of": "2026-12-04",
 "note": "A claim says what its source said on the day it was checked. \"valid_until\" is the date by which it should be checked again, not a promise that it is true today.",
 "license": "CC BY 4.0",
 "author": "Jakub Dudek",
 "conclusions": "**The engine.** For a small top-down pixel-art game written by a coding agent we choose Phaser 4 with TypeScript and Vite. It has Tiled maps with tile collision [c16] and integer scaling for pixel art [c15], and in its repository a `skills/` folder written for agents [c13]. A practitioner who made the same game in three frameworks reports that LLM answers about Phaser are usually right, and those about KAPLAY and Excalibur full of hallucinations [c23]. The costs of this choice: 345 KB after gzip [c17], the latest release is from July 2026 [c12], and `roundPixels` changed its default between v3 and v4, so we set the pixel-art configuration explicitly [c14]. The `llms.txt` file on phaser.io calls the open Phaser a framework for writing code by hand [c18] and steers agents to the paid product Phaser AE (our own judgement after reading the file), which is why we give the agent `skills/` from the repository, not that file.\n\nThe alternatives. Excalibur reached v1 in November 2026 and declares semantic versioning from it on, but v1 itself renamed APIs, so older examples are partly out of date [c19]; it has a Tiled plugin with collision from a layer [c20]. LittleJS is the smallest [c21] and has a built-in touch gamepad [c22]. Whatever the engine, silent mode has to be handled on the iPhone [c24].\n\n**Sprites from general models through OpenRouter.** True transparency comes from the `background` parameter of the Image API [c1], but only in some models: `gpt-image-2.6-sunburst` accepts it [c2], `gpt-5.4-image-2` does not [c3], and `gemini-nano-banana-2.1` has no such parameter at all [c4]. Gemini, asked for transparency, draws a checkerboard [c5], so for those models what remains is a flat background in one colour, cut out afterwards. Practitioners warn that the grid of a sheet is not even [c6], and advise generating frame by frame instead of a whole sheet [c8], each frame with frame 0 as the reference [c7].\n\nA local test of 30 November 2026 (a dog from photos, a top-down view, 3 directions of 4 frames each [omitted]) did not confirm the advice “never a whole sheet” for the newest model. `gpt-image-2.6-sunburst` drew, from one reference image, a whole sheet of 12 consistent frames with an alpha channel, for about 0.06 USD. `gemini-3-pro-image` also held the character, with flicker in the “down” row. `gemini-nano-banana-2.1` gave the prettiest character design (the author's choice), but in the “down” walk it turned the dog sideways, also when it generated one direction at a time. The conclusion from the test: character design and animation can be split between models, by giving the approved character sheet as a style reference.\n\nAn image from a model is not yet pixel art: its “pixels” are several screen pixels each and do not keep to a grid. `proper-pixel-art` has the CLI `ppa` with a choice of palette and scale [c9]. In the local test it took a 1536×1152 sheet down to 332×262 in 24 colours, and the sheet stayed readable; with input that had an alpha channel the tool estimated the grid wrongly (186×138), and with a uniform background put under it, correctly. Specialised tools such as PixelLab have the top-down view and a quadruped body type as options [c11], while with a general model consistency between frames is on our side [c10].\n\n**The scent mechanic.** The main criticism of “detective vision” modes: they are so useful and so free that the player never turns them off [c25], the investigation turns into rote work, and the game loses visual variety [c26]. A reviewer judged the Smellovision of Dog's Life to be plain collecting [c41]. The proposed cure is vague signals instead of a full path [c27]. Patterns that developers describe as working: scent carried by the wind and fading with time, caught far from its source [c28], prints that depend on the ground [c29], sniffing tied to moving and stopping [c32], an invisible trail signalled by sound [c31] or by the colour of the world [c33] (the colour variant is the developer's description, without confirmation that it made it into the game). The developers themselves admit that the hardest part is being understandable to the average player [c30]. The signal must not depend on sound alone, because a mobile game has to be completable without it [c34].\n\n**A short exploration game.** The density of the world matters more than its size [c38]. The reward should be something to do or to see [c35]. Finds suggested by the scenery work as micro-puzzles [c36]. Side goals enrich the ending but do not block it [c37]. The animal should not struggle or fail [c39]. On a touch screen the movement stick appears where the player puts a thumb [c40].",
 "history": []
}
