Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be πŸ“–

JSON Atlas Texture

An asset by NickStein_ Games
The page banner background of a mountain and forest
JSON Atlas Texture hero image

Quick Information

0 ratings
JSON Atlas Texture icon image
NickStein_ Games
JSON Atlas Texture

Adds a small class based on `AtlasTexture' that allows you to use `.json` files for sprite sheets

Supported Engine Version
4.1
Version String
1.1
License Version
MIT
Support Level
community
Modified Date
9 days ago
Git URL
Issue URL

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] .json 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.json

❌❌❌

πŸ“Sprites
  β”œβ”€ 🎨 sprite_image.png
  └─ πŸ“ƒ sprite_json_data.json

[!CAUTION] The script only supports atlases exported so that the frames element 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

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
JSON Atlas Texture icon image
NickStein_ Games
JSON Atlas Texture

Adds a small class based on `AtlasTexture' that allows you to use `.json` files for sprite sheets

Supported Engine Version
4.1
Version String
1.1
License Version
MIT
Support Level
community
Modified Date
9 days ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers