https://github.com/nonunknown/multi-sheet
Enables Godot Engine MultiSheet support
https://github.com/nonunknown/multi-sheet
Last synced: about 2 months ago
JSON representation
Enables Godot Engine MultiSheet support
- Host: GitHub
- URL: https://github.com/nonunknown/multi-sheet
- Owner: nonunknown
- License: mit
- Created: 2020-03-31T11:01:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-31T11:10:42.000Z (about 6 years ago)
- Last Synced: 2025-03-02T04:43:39.350Z (about 1 year ago)
- Language: GDScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 2D Multiple Sprite Sheet Support
Enables Godot Engine MS Support.
## Installation
* Place MultiSheet.gd at any folder
* Attach the script at a **Sprite Node**
## Info
AUTOMATIC GENERATED (AG) are values you don't change
* **update** - update the data from tpsheets
* **path_to_tpsheet** - link yo your *.tp* file refered to spritesheet
* **textures** - Place all your spritesheets in numerical order
* **normals** - Same as textures but with normals (if you dont use normals leave at zero)
* **sprite_id** - number between 0-spr_rects.size()-1 representing a sprite
* **sprite_rects** - AG value / with the information of each sprite's region
* **sprite_ids** - AG value / with the information from which **textures** array its from
## How to Use
follow this tutorial ->