This is a plugin for Godot Engine to import sprite sheets
generated with TexturePacker as
Godot AtlasTexture resources.
Note: This plugin version is compatible with Godot 4.3 and newer. Use the version from the godot-3 branch if you are using Godot 3.
Download it from the Godot Asset Store.
Alternatively, download or clone this repository and copy the contents of the
addons folder to your own project's addons folder.
Important: Enable the plugin in Project Settings → Plugins.
- Imports sprite sheets as native Godot
AtlasTextureresources - Supports trimmed sprites (margin)
- Supports MultiPack — multiple atlases per
.tpsheet - Supports normal maps — auto-generates a
CanvasTexturepairing diffuse + normal for 2D dynamic lighting - Each sheet generates a
<name>.sprites/folder, one.tresper sprite — drag-and-drop ready in the FileSystem dock - Removes stale sprite resources automatically when sprites disappear from the sheet
- Atlas images go through Godot's standard texture import pipeline, so every compression format Godot supports (ASTC, ETC1/ETC2, DXT1/DXT5, Basis Universal) works out of the box
- Create a sprite sheet in TexturePacker
- Save the image and
.tpsheetfile into your Godot project's asset folder - Godot picks them up automatically and imports each sprite as an
AtlasTexture
- TileSet import is no longer supported: Godot 3 had an API where a tile could be retrieved by its name. This is no longer available in Godot 4.
- Compatibility with Godot 4.7 import pipeline
- Register sheet images as import dependencies via
append_import_external_resource() - Reload imported textures with
CACHE_MODE_REPLACE_DEEPso fresh imports are picked up - Added fallback return in
_get_preset_name()(required by Godot 4.7 parser) - Guard recursive sprite cleanup against missing directories
- Clarified minimum supported Godot version as 4.3
- Support sprites with normal map (use
CanvasTextureif normal map is present)
- Remove sprites no longer present on a sheet
- Refresh Godot UI after import
- Fixed problem when sprite sheet was updated
- Improved error handling
- Removed TileSet importer code
- The plugin now works with Godot 4 beta 2
- The plugin now works with Godot 4
- The old version working with Godot 3 is now on the godot-3 branch
- Fixed syntax to support Godot 3.2.2
- Fixed memory leak (thanks @2shady4u)
- Support additional image formats: webp, pvr, tga (thanks @AntonSalazar)
- Renamed master branch to main
- Fixed syntax to support Godot 3.1
- Reduced memory usage during import
- Sprite sheets can now be placed in sub folders
- Fixed order of import to prevent "No loader found on resources" error
- Initial release
MIT License. Copyright (c) 2018 Andreas Loew / CodeAndWeb GmbH