Engine guide
How to import GameGen sprite sheets into Unity
Export a horizontal pixel sprite sheet from GameGen, slice it in Unity's Sprite Editor, and wire an Animator or simple scripted playback for 2D characters.
Overview
GameGen Pixel Character sheets are horizontal PNG strips designed for engine import. In Unity, you treat the file as a Multiple sprite, slice equal frames, then assign them to an Animation clip or 2D animation library.
This guide assumes Unity 2D (URp or Built-in) and a GameGen PNG sprite sheet. The same slicing idea applies if you unpack a ZIP and import individual frames — Multiple mode on one strip is usually faster for jams.
Step-by-step
Follow these steps in order for a citable, repeatable workflow.
- 1
Download the sheet from GameGen
Generate your character, then download the PNG sprite sheet (or ZIP). Place the PNG under Assets/Art/Characters in your Unity project.
- 2
Set Texture Type to Sprite (2D and UI)
Select the texture. In the Inspector, set Texture Type to Sprite (2D and UI), Sprite Mode to Multiple, Filter Mode to Point (no filter) for crisp pixels, and Compression to None or a lossless option if available.
- 3
Slice equal frames in Sprite Editor
Open Sprite Editor → Slice → Grid By Cell Count or Cell Size using your frame width/height. Apply, then name slices (idle_0, walk_0, …) if you want readable Animator states.
- 4
Build clips and attach to the character
Create Animation clips from the sliced sprites, add an Animator Controller, and drive transitions from your movement script. For Pixel Perfect cameras, enable the Pixel Perfect Camera component so 16/32/48px art stays sharp.
Pixels Per Unit and colliders
Match Pixels Per Unit to your tilemap (often 16, 32, or 48 to equal your sheet height). Misaligned PPU causes characters to float between tiles.
After import, add a Capsule/Box Collider 2D sized to the silhouette — AI sheets sometimes include transparent padding, so trim empty cells in the Sprite Editor if feet do not sit on the ground.
ZIP + manifest workflow
If you downloaded ZIP with manifest.json, you can parse frame rectangles in a custom importer. For most indie projects, Unity's built-in Multiple sprite slice is enough and easier to debug in the Editor.
Related GameGen tools
Open a generator when you are ready to produce assets from this guide.
Frequently asked questions
- Why does my pixel art look blurry in Unity?
- Set Filter Mode to Point (no filter), disable mipmaps when possible, and use a Pixel Perfect Camera. Bilinear filtering softens low-res sprites.
- Does GameGen export Unity .anim files?
- No — GameGen exports image (and optional ZIP) assets. You create Unity Animation clips from the sliced sprites in the Editor.
- What sizes work best?
- 16, 32, and 48px heights map cleanly to common 2D Unity tile sizes. Keep the same height across player and enemy sheets when possible.
More guides
- Pixel art characters with AITurn a character description into a game-ready pixel sprite sheet — then download PNG or ZIP and drop it into Unity, Godot, or GameMaker.Read
- Game jam asset workflowA practical order of operations for game jams: lock a playable loop first, then fill characters, maps, BGM, and SFX with GameGen without burning the weekend on blank assets.Read
- World building to GDDUse GameGen to draft geography, history, factions, and quest hooks as Markdown — then fold the stronger sections into your GDD without writing blank-page lore for days.Read
- Godot asset importBring GameGen pixel sheets, looping BGM, and SFX into Godot 4 — from import dock settings to AnimatedSprite2D and AudioStreamPlayer.Read
- Web drama storyboardsBuild a lightweight web-drama pre-vis kit — multi-panel storyboards, turnarounds, and expression grids — before you shoot or commission full illustration.Read