GDX Texture Packer atlas importer for the Godot Game Engine.
Download or clone this repository and copy the contents of the
addons
folder to your own project's addons
folder.
Then enable the plugin on the Project Settings.
Pack the individual sprites using the GDX Texture Packer GUI and copy or move the exported spritesheet(s) (.png
) along with the associated atlas information file (.atlas
) to the same folder within your Godot project.
This plugin will generate a <atlas_filename>.atlas_textures
folder within which you'll find the each AtlasTexture
associated with the spritesheet(s), as well as a <atlas_filename>.nine_patch_rects
folder within which you'll find the each NinePatchRect
node associated with the spritesheet(s).
Art taken from Gothicvania Patreon's Collection by Ansimuz
There are several benefits for using GDX Texture Packer GUI as an external texture packer:
- Packing textures will no longer require you to restart Godot -- all that is needed is for the GDX atlas to be reimported.
- GDX Texture Packer GUI itself provides an interface in which you can manage all your texture atlases separately which is great for bigger projects.
- And packing your textures will increase performance since by doing so Godot will be able to minimize the number of screen draw calls which in turn could increase your frames per second depending on your workload.
MIT License. Copyright (c) 2021-present Wilson E. Alvarez.