LibdgxAtlasParser
About
This is a plugin for the Godot Engine that allows you to parse atlas exported from LibGDX to subpngs in your projects.
How to use?
To use this plugin, you need to have a .atlas
file and an image file (like .png
) that corresponds to the atlas exported from LibGDX.
First, download the plugin (from AssetLib, or through cloning this repository).
Then, enable the plugin in the Godot Engine by going to Project
-> Project Settings
-> Plugins
and enabling the LibGDX Atlas Parser
plugin.
After that, you can use this plugin to parse the atlas and generate the corresponding textures in your project.
[!IMPORTANT]
.atlas
file must have EXACTLY the SAME name as the image from which the original image will be taken. for example:
✅✅✅📁Sprites ├─ 🎨 my_sprite.png └─ 📃 my_sprite.atlas
❌❌❌
📁Sprites ├─ 🎨 sprite_image.png └─ 📃 sprite_json_data.atlas
[!CAUTION] The script only supports atlases exported from LibGDX.