defold (official)
defold/extension-texturepacker
A .tpatlas resource type for atlases exported from the TexturePacker tool,
with an editor integration, a Bob build plugin, and a Defold exporter for
TexturePacker. A .tpatlas works like a regular .atlas, including
animations, but its images come from the exported .tpinfo file.
No Lua API — content, shaders, build-time tooling or engine-side native code only.
- GitHub: defold/extension-texturepacker — pinned to
2.7.0(released while Defold 1.12.3 was current)- Pick a release from defold/extension-texturepacker releases and add its Source code (zip) URL (or a packaged
.zipasset, if the library ships one) togame.projectunder[project]dependencies, then Fetch Libraries in the Defold editor. - Install the exporter in TexturePacker.
- Export a
.tpinfofile. - Create a Texture Packer Atlas in the editor and point it at that file.
- Pick a release from defold/extension-texturepacker releases and add its Source code (zip) URL (or a packaged
Engine APIs
The skins example declares resource atlas properties and
swaps a sprite image at runtime with go.set.