GAP: v0.1.1 - #2
Hey everyone,
another working week has passed and we have some updates to share with you all!
JSON export. Now, GAP is complete atlas packer!:) Exported file contains all major data necessary for your game: image path, position and size. Our current image placement algorithm does not rotate images for better fit, so all above mention data is presented.
But that is not all. You already can make your own export, if you need some other format. Our goal is make a tool, that can be easily customized.
Now, when you download the archive, you get not only .exe, but json.lua. Important! Executable file and lua script should be in the same folder. This file is your default export script. (LUA language was chosen, because it is popular in game development and it has clear syntax)
So, if you need for example xml data, you need to do only two steps:
1. Rename default jsonName (this field should have more generic name, will fix it) to anyNameYouLike.xml.
2. Change content of the json.lua, so that it formats data into xml syntax. json.lua should not be renamed or it fails.
How it works. json.lua implements single export function. It uses write function that is implemented in C++ code. As an argument export function gets one parameter named rects, that is our atlas data and voila!
I think concept is clear. Current functionality is basic. Next step is possibility to have a specific folder with bunch of export files with different formats that you can loop through via UI. Except that we are planning to improve UI, redesign filesystem navigation and much more...
That is all for now. Any feedback is welcome. If you have any questions or suggestion will be happy to read them in comments below.
Bye!
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: Bug Fixes! v 0.2.65 days ago
- GAP Update: UTF-8 String Support! v 0.2.512 days ago
- 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
Leave a comment
Log in with itch.io to leave a comment.