Pixel Flyer
gamesProEt selvspillende fuldskærmsspil med en fugl og søjler til fejlsider. Tryk på skærmen eller på mellemrumstasten for at tage over, med point i bitmapcifre og en fast plads til et link hjem.
Introduktionspris til og med 31. december 2026. Derefter 79 €.
Preview
Live demo. Temaet skifter selve demoen.
Kode
Koden er låst
Pixel Flyer er en del af Manniche UI Pro. En nøgle åbner kildekoden til alle 66 effekter.
Køb · 49 €49 € · Introduktionspris til og med 31. december 2026. Derefter 79 €.
- Engangsbetaling
- Én udvikler
- Log ind og opret din nøgle med det samme
- Ingen moms (§ 19 UStG)
Har du en nøgle? Hent koden med CLI eller MCP.
Nøglen ligger i MANNICHE_PRO_KEY, aldrig i koden eller i adressen. Sådan sætter du den op
npx shadcn@latest add @manniche-pro/pixel-flyerclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
PixelFlyerProps
| Prop | Type | Standard | Hvad den gør |
|---|---|---|---|
children | ReactNode | – | Pinned to the bottom of the frame, e.g. a "Take me home" link. Its height is measured, and the playfield never draws under it. |
className | string | – | Classes for the frame. It fills its parent, so give it a height (h-[28rem], min-h-dvh, ...). Set the pillar colour with a text colour. |
accent | string | 'var(--primary)' | Colour of the bird, the score flash and the ground ticks. Any CSS colour, including var(--x). Defaults to the primary token. |
speed | number | 1 | Scroll speed multiplier. 1 is a relaxed pace. |
seed | number | – | Seed for the pillar heights, so the same run plays out every time. Leave it out for a different run on each mount. |
handbackAfter | number | 3000 | How long after the last real tap, click or key press the autopilot takes over again, in milliseconds. |
showScore | boolean | true | Draw the score as 5x7 bitmap digits in the top centre. |
onCrash | (score: number) => void | – | Called when the bird crashes, with the score of that run. |
label | string | 'Flying game. It plays itself. Press Space or Arrow Up, or tap or click, to take over and flap the bird through the pillars.' | Accessible name of the frame. It is a focusable group: it should say what the game is and how to play it. The canvas itself is hidden from assistive tech. |
A11y
Tastatur
The game is a focusable group named by label. Space and ArrowUp flap only while it has focus or hover.
Skærmlæser
The canvas is aria-hidden. The game is a decorative backdrop with no pause control.
Mindre bevægelse
Under reduced motion one still frame is drawn and the game moves only while it is played.