Major refactor:

* Removed any hotreload functionality to simplify the code-base, may introduce it back again if there's a need to redesign the UI as it was used for dynamic prototyping.
* Split the code base into two packages: generator and frontend. The 'generator' package is reponsible for the functionality of making the atlases, etc... while the frontend is pure the immediate mode UI implemented with raygui and application globals
* New build scripts, windows only for now.
This commit is contained in:
Stefan Stefanov 2024-08-30 18:05:56 +03:00
parent 84db74586b
commit 3f1c523ad9
35 changed files with 397 additions and 1023 deletions

View file

@ -4,14 +4,16 @@ Yet-Another-Atlas-Packer by Stefan Stefanov
## Description
Simple atlas packer using `stb_rect_pack` from the `stb` family of header libraries & `raylib` for rendering/ui. Here's a quick preview on [youtube](https://youtu.be/4_dKq7G57Lw) of the application.
Simple atlas packer for .aseprite files. Generates metadata and potentially embeds in an output source file of your choosing.
Uses `stb_rect_pack` from the `stb` family of header libraries & `raylib` for rendering/UI. Here's a quick preview on [youtube](https://youtu.be/4_dKq7G57Lw) of the application.
<a href="https://youtu.be/4_dKq7G57Lw">
<img src="https://raw.githubusercontent.com/bersK/yaap/master/repo_assets/image.png" />
<a/>
The goal of the tool is to take in multiple aseprite files and pack them into a single atlas, outputting some metadata in the process in the form of
json and/or source files for direct use in odin (maybe more languages too).
The goal of the tool is to take in multiple aseprite files and pack them into a single atlas, outputting metadata in the process in the form of
JSON and/or source files for direct use in odin (or other languages through a customization file).
I'm using a library for marshalling the aseprite files found [here](https://github.com/blob1807/odin-aseprite) on github.