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
JSONAtlasTexture
About
This is a small class based on AtlasTexture built into the Godot Engine. It allows you to use '.json` files that are created when exporting sprite sheets (to Adobe Animate or Aseprite, for example).
How to use?
First, download the plugin (from AssetLib, or through cloning this repository).
You don't need to enable anything, the "plugin" is 1 script defining a new class: JSONAtlasTexture.
Just open any property of the Texture2D type and select JSONAtlasTexture in the list of creating a new resource (it should be located directly under the original AtlasTexture)
After that, expand the Data group and drag .png (or any other image type supported by the engine) to source_image property and the Atlas itself will take the .json file.
[!IMPORTANT]
.jsonfile 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.jsonβββ
πSprites ββ π¨ sprite_image.png ββ π sprite_json_data.json
[!CAUTION] The script only supports atlases exported so that the
frameselement is a dictionary ({}), arrays are not supported yet.
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