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

GAP_Windows64_v014.zip 1 MB
39 days ago

Get GAP : Generic Atlas Packer

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.