Skip to content

Import a package into a game engine

Use the adapter and example supplied for your target.

Supported engines#

Export packages a bake for 16 engines. Each package holds the sheets, their frame data, and the adapter and example for that engine.

  • Godot 4
  • Unity 6
  • Unreal Engine 5 · Paper2D
  • Unreal Engine 5 · PaperZD
  • Three.js
  • Babylon.js
  • PixiJS
  • libGDX
  • Java2D
  • Defold
  • Cocos Creator
  • GDevelop
  • GameMaker
  • RPG Maker MZ
  • Phaser 3
  • Construct 3

Export a small test#

Pick an engine in Export and download the ZIP. Extract the entire archive, keeping its file names and directory structure. Follow the target-specific instructions included with the package.

Choosing Game-engine package, then Godot and Unity.

Large and trimmed bakes use packed pages#

A small bake ships as one atlas of whole cells. A bake made with Trim and pack sheets, or one too large for a single atlas of 4,096 pixels, ships as packed pages instead: every frame is trimmed to its pixels and packed onto one or more atlas pages of 4,096 pixels or less, named atlas_000.png, atlas_001.png and so on. Export says so before you prepare the download, and how many pages the package holds once it is ready.

Each frame records its page, its rectangle there and where that rectangle sat in the original cell, so the adapter draws it in the same place and the ground pivot does not move. Keep every atlas page beside the package's other files.

RPG Maker MZ, GDevelop and Java2D hold a whole character in memory and stop at about 8.4 megapixels of atlas in all. Export tells you when a bake is over that; bake fewer clips, directions or frames for those targets, or a smaller cell size.

Verify playback in the target#

Check the first and last frame of a loop, then turn through all exported headings. Compare timing, filtering, transparency and ground pivot at the game’s actual display scale.

Check the target requirements#

Use the target engine’s own tools to import or compile its adapter. PaperZD requires the plugin in Unreal. The Three.js example needs the runtime supplied by the game or its documented CDN.