Your repo
Art
The pictures players see first. The four shapes PushPlay shows on every screen, their sizes, and how to make a cover and a hero that work everywhere.
PushPlay shows a game’s art on a Steam Deck, a 4K TV, an ultrawide monitor, a tablet and a phone, in tiles, banners and full-screen backgrounds. So the build makes it in four shapes, and each place picks the one closest to its own shape.
The four shapes
| Shape | Size (px) | Ratio | Where it shows | Text in it |
|---|---|---|---|---|
art.cover | 720×500 | 1.44:1 | Library tiles | The title, big and bold |
art.hero | 3840×900 | 4.27:1 | Wide places: Discover, the top of a game's page | None |
art.banner (optional) | 3840×640 | 6:1 | Very wide places: the Continue banner, ultrawide strips | None |
art.landscape (optional) | 1920×1080 | 1.78:1 | Near 16:9: phones, tablets, TVs | None |
Only cover and hero are needed. Without banner or landscape, the build draws them from the hero’s file at their own sizes. Give one of its own when the hero doesn’t crop well.
"art": {
"cover": "art/cover.svg",
"hero": "art/hero.svg",
"landscape": "art/landscape.png"
}
A game with a web build and no art at all gets every shape made from a screenshot of the game, with the title written on the cover. A game with no web build has no screenshot to use, so it needs cover and hero.
How a place picks a shape
Each place in the launcher and the app asks for the shape nearest its own:
| The place is | It uses |
|---|---|
| Narrower than about 2.2:1 (phones, tablets, a TV’s big picture) | landscape |
| From about 2.2:1 to 5:1 (Discover’s Featured, the top of a game’s page) | hero |
| Wider than 5:1 (the Library’s Continue banner, ultrawide strips) | banner |
| A Library tile | cover |
When a shape is missing, only a close one stands in for it: the cover and the landscape for each other, the hero and the banner for each other. A cover is never stretched across a wide place. With nothing close enough, PushPlay draws a plain picture in the game’s own colours.
Keep the hero safe to crop
The same hero fills a 16:9 screen and a 6:1 strip, so plan it for both:
- Keep the key visual in the middle 40% of the width and the top 55% of the height. A 16:9 crop keeps only about the middle 40% of a 3840×900 hero, and a 6:1 crop trims a little off the top and bottom.
- Keep the lower left dark and free of text: PushPlay writes the game’s title there.
- Fill the whole frame to the edges with a background. No transparency, and nothing important right at the edges.
The cover
The cover is the Library tile, shown at about 216×150 on a Steam Deck. It is the only shape with text in it.
- Put the title in it, big and bold, readable at thumbnail size.
- Show what the game is: its hero, ship or key object, in the game’s own colours. Bold shapes, two to four main colours, one focal point.
- Check it small. If you can’t read the title at 216×150, players can’t either.
File types
Every shape can be an SVG, an HTML page, or a PNG, JPG or WebP. They are all published as PNG.
| File | How it fills a shape |
|---|---|
| SVG | Set width, height and viewBox on the root <svg> (3840×900 for a hero). It is sized to each shape and cropped like a picture, unless you set preserveAspectRatio (for example xMidYMid slice) to decide the crop yourself. |
| HTML | Opened in a window of the shape’s size and captured after load. Lay it out from the window (100vw × 100vh) and it draws itself for every shape. |
| PNG, JPG, WebP | Scaled to cover the shape, centred across and anchored 30% down from the top, then cropped. |
SVG and HTML art is rendered by the workflow. A game that plays from its own releases without the workflow can use PNG, JPG and WebP only, shown as they are.
Fonts
Text in SVG or HTML art must use one of the fonts bundled with the build, which look the same everywhere: Chakra Petch (600, 700), Rubik (400, 700, 900), Bungee, Lilita One and Press Start 2P. Other fonts aren’t there when the art is rendered. No external images or links inside an SVG; an embedded <image href="data:…"> is fine.
Size
Phones skip art over 8 MB, so the build warns (⚠) about any shape over 6 MB. A typical hero is 1–2 MB. Noise, grain and fine detail make big files; flat areas of colour keep them small.
Screenshots
The build takes the game’s screenshot itself: it opens the game at 1280×800, presses A on the title up to three times, and keeps the frame at about three seconds. A phone game is captured at phone size instead. It’s written into the published manifest’s art.screenshots, so leave that field out of yours.
See it before you push
npx github:Visual-Zone-Development/pushplay-kit art-shots
renders every shape exactly as the build will, and prints the paths of the PNGs.
Edit this page on GitHub · Something missing or wrong? Tell us.