Pixel-art game sprites on a true pixel grid with a fixed palette (Stable Diffusion)

by fidji Stable Diffusion English ~769 tokens
Public excerpt Locked
Generate large on solid magenta, downscale by an integer factor with nearest neighbour, index to a 16-colour palette without dithering, key out the background, fix stray pixels; OpenPose plus low-denoise img2img for walk-cycle frames; rules against mixed pixel sizes…

About this prompt

Generates pixel-art sprites with SDXL and then makes them usable in a game: nearest-neighbour downscaling to a real pixel grid, palette quantisation, transparent background, cleanup. Covers characters, items and tiles, a pose-controlled method for animation frames, and series rules (pixel scale, outline, palette file) so all assets belong to the same game. Honest about the manual cleanup still required.

Example output

Provided by the author
Raw generation (1024 px): a chunky knight in side view facing right, round grey helmet with a dark visor slit, blue cape, brown boots, flat two-tone shading, dark outline, on solid magenta. Edges slightly soft, blocks not quite even. After post-processing (32 × 32, 12-colour palette): a crisp sprite on a transparent background, 1-pixel outline closed all around, cape in two blues, helmet highlight a single pixel at top left. Silhouette test in black: helmet, cape and sword clearly separated. Walk cycle: 6 frames from OpenPose; frames 3 and 5 needed the cape redrawn by hand, about 2 minutes each…

Details

Model
Stable Diffusion
Prompt language
English
Who it's for
Indie game developers, game jam teams and hobbyists who need placeholder or final 2D sprites
Length
~769 tokens (estimate)
Delivered as
Prompt text, shown online after purchase
Category
AI images

Reviews

Buyers only

No reviews yet. Only buyers of this prompt can leave one.

Report this prompt