BetterTextureAtlas
a JSFL script extending texture atlas exports
Install / Use
/learn @Dot-Stuff/BetterTextureAtlasREADME
[!NOTE] BTA is still in active development. It may reproduce incorrect results in some flas. If you run into any bugs, make sure to create a GitHub issue or contact Dot-Stuff on our Discord server. Support for Flash CS6 and CS4 is still really primitive, we recommend exporting using newer Animate versions.
What differs from the default Texture Atlas Exporter?
<details> <summary><b>Features</b></summary>- [x] Blend Mode Support
- [x] Baked Filters Support
- [x] Matrix Reformatting
- [x] Multi-Symbol Support
- [x] Extra Metadata
- [x] Dynamic Tween values
- [x] Sound Support with its according settings (Event, Stream)
- [x] ActionScript Support
- [ ] Vector Support
- [x] Reformatting of Filters
- [x] Filtered One Frame Symbols matrix errors
- [x] Optimized exports (being able to export 5~ SWF videos with relative ease)
How to install
<details> <summary><b>Manually (Recommended for newer Animate)</b></summary><hr>To install them manually, you need to go to <br>C:\Users\[UserName]\AppData\Local\Adobe\[Flash/Animate version]\[yourLocale]\Configuration\Commands<br>
Example: C:\Users\sotif\AppData\Local\Adobe\Animate 2022\en_US\Configuration\Commands
Download a release or the latest commit from the repostory (advisable). If the file ends in a zxp, rename the extension to zip and extract all contents into the commands folder. Make sure all of them are included as they are necessary for the plugin to run, not only the main jsfl file.
<br><b>Pro Tip</b>: You can search where should the files be placed in the mxi file, specifically on the <files> block.
With the <b>Extension Manager</b> open, whether from the Command Line or as an application, you install the extension, this should be known whether you use an application that comes within your Flash app or the CMD tool.<br><br>
That being said, if you're using the <b>Extension Manager</b> app, just accept the license it'll be provided and it should be good to go.
<hr></details>After installing the extension, you should restart the program if it's currently running, and after that it should pop up in the Commands tab.
How to use the extension
Select the symbol that you wanna export an click Commands > BetterTextureAtlas.
A window will show up with different export settings to export your Texture Atlas.
