GameShipKit

v1.2.1
com.gameshipkit/gameshipkit Checked 3 days ago Published 20 days ago

Game dev tools: rig 2D characters, fix AI PNGs, pixel art and sprite sheets, palettes, XP curves.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fix_ai_png Fix AI PNG background

Fix an AI-generated PNG for use in a game: removes a fake transparent background (the grey and white checkerboard painted into the pixels) or a flat background colour, cleans the coloured fringe around edges, deletes stray specks and trims to the content. Also cleans the edges of images that already have real transparency. Runs on this computer and saves the results as files.

ParameterTypeDescription
path *stringFull path of a PNG or JPG file on this computer. With a GameShipKit Pro key (GAMESHIPKIT_KEY) it can also be a folder, and every image in it is processed.
forcebooleanRemove the border colour even when no background was detected.
framestringtrim to the content, keep the original size, or trim and pad to a square.
out_dirstringFolder for the results. Default: next to the input file.
padintegerTransparent pixels to add around the result.
tolerancenumberHow far a colour can be from the background and still be removed. Default 34 for a checkerboard, 40 for a solid colour.

fix_pixel_art Fix fake pixel art

Turn fake pixel art (an AI image or an upscaled screenshot where each "pixel" is a blurry block of slightly different colours) into real pixel art: finds the pixel grid, rebuilds it at 1 pixel per cell with one clean colour per cell, and can limit the colours or map them to a palette. Removes a fake checkerboard background first. Runs on this computer and saves the results as files.

ParameterTypeDescription
path *stringFull path of a PNG or JPG file on this computer. With a GameShipKit Pro key (GAMESHIPKIT_KEY) it can also be a folder, and every image in it is processed.
cellnumberSize of one art pixel in the source, if you know it. Found automatically when left out.
colorsintegerReduce to this many colours.
out_dirstringFolder for the results. Default: next to the input file.
outlinebooleanAdd a 1 pixel dark outline around the sprite.
palettestringMap to a palette: pico-8, sweetie-16, endesga-32, gameboy, nes-like, or hex codes like "#1a1c2c #b13e53 ...".
scaleintegerAlso save a copy scaled up this many times with sharp pixels.

sprite_sheet Clean sprite sheet

Clean up an AI-made sprite sheet or a set of animation frames: removes the background, finds each frame, makes the character the same height in every frame, lines up the feet and the body, and packs everything into an even grid. Returns the sheet PNG and frame data (cell size, columns, rows, and a TexturePacker-style JSON). Runs on this computer and saves the results as files.

ParameterTypeDescription
path *stringFull path of a PNG or JPG file on this computer. With a GameShipKit Pro key (GAMESHIPKIT_KEY) it can also be a folder, and every image in it is processed.
anchorstring
cellintegerSquare cell size in pixels. Default: fits the biggest frame.
columnsintegerColumns in the output sheet. Default: all frames in one row.
gridstringIf the frames sit in a regular grid, give it as "COLSxROWS", e.g. "4x2". Otherwise each frame is found on its own.
match_colorsbooleanPull the colours of every frame toward the first one.
out_dirstringFolder for the results. Default: next to the input file.
padinteger
pixel_artbooleanScale with sharp pixels instead of smooth.
same_heightbooleanScale frames so the body is the same height in each.

apply_palette Apply a palette

Recolour an image to a game palette so assets from different sources match: PICO-8, Sweetie 16, Endesga 32, Game Boy, NES style or your own hex codes, or reduce it to its own best N colours. Optional ordered dithering for gradients. Transparency is kept. Runs on this computer and saves the results as files.

ParameterTypeDescription
path *stringFull path of a PNG or JPG file on this computer. With a GameShipKit Pro key (GAMESHIPKIT_KEY) it can also be a folder, and every image in it is processed.
colorsintegerWithout palette: reduce to this many of the image's own colours.
dithernumber0 is flat colour, 1 is strong ordered dithering.
out_dirstringFolder for the results. Default: next to the input file.
palettestringpico-8, sweetie-16, endesga-32, gameboy, nes-like, or hex codes like "#1a1c2c #b13e53 ...". Leave out and give colors to use the image's own colours.

rig_character Rig a 2D character (local)

Rig and animate a 2D game character from a picture on this computer, and save game-ready files next to it. It finds the joints, cuts a humanoid into parts, adds bones and animates idle, walk, run, attack, jump and more. With a GameShipKit Pro key (GAMESHIPKIT_KEY) it saves a Godot 4 skeleton scene, a Unity 2D Animation rig, a Spine 4.2 skeleton and sprite sheets of every move. Without a key it saves idle and walk sprite sheets. Uses the Edge or Chrome already installed. Give image_url instead of path to get a link that opens the rig on gameshipkit.com.

ParameterTypeDescription
animationsarrayWith image_url: moves to play in the preview.
cut_partsbooleanFor humanoids: cut into head, body, arms and legs so limbs bend at the joints.
exportsarrayWith Pro: which files to save. Default: all four (godot, unity, spine, sheets).
facingstring
image_urlstringInstead of path: a public link to the picture. Returns a link that opens the rig on gameshipkit.com, nothing is saved.
out_dirstringFolder for the results. Default: a folder next to the picture.
pathstringFull path of the character picture on this computer (PNG, JPG or WebP). One full-body character, best on a plain or transparent background.
pixel_artbooleanKeep sharp pixels for pixel art.
templatestringSkeleton: humanoid, quad (four legs), wing, snake (also fish, worms), simple (slimes, plants, items). Found automatically when left out.