Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
Adds a small class based on `AtlasTexture' that allows you to use `.json` files for sprite sheets.
AtlasTextureJSON
About
Custom class for the Godot Engine based on .
This class uses the AtlasTexture
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
symbolproperty. - Texture scaling through a
scaleproperty within the.AtlasTextureJSON
- Customisable scale interpolation via
scale_behaviourproperty.
- Customisable scale interpolation via
- Customisable
framelooping behaviour viaframe_behaviourproperty.
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
symbolandframeproperties.
Exporting
[!IMPORTANT] When Exporting from Aseprite, The
Item Filenameformat must be:{tag}{tagframe0000}
[!IMPORTANT] The
.jsonfile 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
Adds a small class based on `AtlasTexture' that allows you to use `.json` files for sprite sheets.
Reviews
Quick Information
Adds a small class based on `AtlasTexture' that allows you to use `.json` files for sprite sheets.