Posted April 15, 2024 by umca
Hello!
I hope you're doing well. Please tell me about your week I'd love to hear about it!
As I promised, we added new engine support ... drumroll...
When you download GAP and you choose engine you will see three Phaser options:
The last two Phaser data file formats can be used with older Phaser versions.
So, now GAP supports:
And it is only the beginning. Every week we plan to increase this list.
Another feature we added was image trim.
Custom export:
GAP gives you the possibility to add custom export in case there is no particular one you need. It is very simple.
In modules folder, you get when download, just add another custom_engine_folder/export.lua.
Export.lua should implement export function that accepts 2 parameters: atlasImages and atlas.
Atlas contains such information: atlas image name, pixel format and scale.
AtlasImages is array with data about textures. As our tool develops, data we provide has enlarged.
Now, you find there:
In addition, please, do not forget to add 3 global variables:
That's all for this week. Hope you'll find out tool useful. Please keep following for more updates!
Thank you!