GAP: v0.1.4 - #5
Hi everyone!
Another week has passed and we have incredible news! Finally, we added PixiJS and libGDX export data support.
If you use these game engines, you can just download GAP, choose images to pack, choose game engine you export for, press Generate and put the atlas into your game. A lot of pack options will be added like trim, scaling, PNG optimization, pivot setting per each sprite (we are thinking about it) and of course export scripts will be updated accordingly, but current generated atlas data contains all necessary image information for these game engines.
Custom Export:
Now when you download the archive you get not only .exe file but modules folder. In the folder you will find export script per each game engine. If there is no export script per your game engine you can just add another folder with export.lua file in modules folder, restart the app and you'll see it in dropdown menu.
For correct work, except export function please add three global variables:
There variables are used in dropdown menu and for correct file filtering in Save window.
By the way, now, export function accepts one more argument - atlasData.
We will try to add at least one new game engine support every release.
Except that I want to share about other small improvements we implemented:
- All labels in UI are renamed to more generic one.
- Add default file name (both atlas image and atlas data) in save window.
- Add validation of output file path.
- Add dropdown list to choose engine you export for.
- Add warn popup when there is an attempt to generate atlas without sprites.
- Fix app crash when no modules folder exists.
Hope this was useful. Please, write in comments below what game engine we should add next time.
Files
Get GAP : Generic Atlas Packer
GAP : Generic Atlas Packer
gap
Status | In development |
Category | Tool |
Author | _enot |
Tags | atlas, Automation, gap, image, packer, Textures |
More posts
- GAP Update: Progress And First Community Feedback!Aug 05, 2024
- GAP: v0.2.3Jul 29, 2024
- GAP Update: Drag and Drop Your Assets!May 27, 2024
- GAP Update: Faster and Smaller Packing!May 20, 2024
- Secrets of custom export. Part 2May 13, 2024
- Secrets of custom export. Part 1May 06, 2024
- GAP: v0.1.7 - #8Apr 26, 2024
- GAP: v0.1.6 - #7Apr 22, 2024
- GAP: v0.1.5 - #6Apr 15, 2024
Leave a comment
Log in with itch.io to leave a comment.