LibGDXAtlasParser 2D
H

Publisher

harryhu

LibGDXAtlasParser 2D

2D
Atlas PNG Sprite Parsing Graphics Slicing Subpngs LibGDX

This plugin is designed to quickly parse .atlas file (with png image) from libdgx engine.

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.