JSON Atlas Texture
by NickStein_ Games
1
AtlasTextureJSON
About
Custom class for the Godot Engine based on
. AtlasTexture
This class uses the
files that are created when exporting sprite sheets to compile Symbols / Tags and their respective frames to create a sprite..json
Currently supported sprite sheet formats:
Aseprite
Adobe Animate / Flash
Features
- Automatic loading of a
file when the.json
is loaded.texture
- Support for both Hash and Array-based
formats..json
-
's Tags andAseprite
's Symbols seperated in sections through theAdobe Animate / Flash
symbol
property. - Texture scaling through a
scale
property within the
.AtlasTextureJSON
- Customisable scale interpolation via
scale_behaviour
property.
- Customisable scale interpolation via
- Customisable
frame
looping behaviour viaframe_behaviour
property.
Planned
-
custom formatting options.Aseprite
Tentative
- Custom offsets on symbols.
- Automatic Atlas creation with presets via the
Import
tab. - A completely independent class
TextureJSON
(without inheriting
.).AtlasTexture
Instructions
- Download the plugin (from AssetLib, or through cloning this repository).
- No enabling required, this "plugin" is really just a script that adds a new class to your project.
- Create a new resource instance of
on anyAtlasTextureJSON
-based property.Texture2D
- Load your source image into the
property of the resource.texture
- Select the sprite and frame you want via the
symbol
andframe
properties.
Exporting
Important
When Exporting from Aseprite,
The Item Filename
format must be:
{tag}{tagframe0000}
Important
The .json
file must have the same base name as your texture image.
✅ YES:
📁Sprites
├─ 🎨 sprite.png
└─ 📃 sprite.json
❌ NO:
📁Sprites
├─ 🎨 sprite_image.png
└─ 📃 sprite_json_data.json
Issues
- JSON file is not updated automatically (#2)
Major Contributors
Download
Version1.1
Download Now
Support
If you need help or have questions about this plugin, please contact the author.
Contact Author