Godot Atlas Cutter
by newold33
8
Auto-Slice-Atlas
Auto divides an image into frames using the transperency of the image to determine the frames.
Install
- Move the folder "AtlasCutter" to your addon folder.
- Enable Plugin in Project / Config / Plugin / Atlas Cutter.
- You can now create CutterSprite2D, CutterTextureRect and CutterTextureButton nodes.
Use
- Add a node CutterSprite2D, CutterTextureRect or CutterTextureButton.
- Drag and drop any texture into Main texture in the inspector (If the texture has several frames, they should be separated from each other for the cutter to detect them, otherwise it will detect them all as a single frame).
- Now you can display the desired frame by changing the "Current Frame" value in the inspector.
- Note #1: CutterTextureButton can handle 5 textures. change the target texture in the inspector in "Target" to add the texture to the corresponding state of the button (normal, disabled, pressed, hover...).
- Note #2: Use "Epsilon" in the inspector if the generated frames do not correspond to the expected ones. A value lower than the default value (1) could correct the creation of erroneous frames.
Download
Version1.0
Download Now
Support
If you need help or have questions about this plugin, please contact the author.
Contact Author