Closed paulocoutinhox closed 2 months ago
Hi, thanks for the suggestions,
One can use id "{{ source.filenameBase }}"
now for easily generating sprite IDs from filenames without the extension,
or id "{{ source.filenameStem }}"
for also removing the folder names.
I also added a base64
function to the template functions. It can be added like this in the .inja file:
<key>textureData</key>
<string>{{ base64(texture.path + "/" + texture.filename) }}</string>
Your suggestions works for me.
My game made with this: https://paulocoutinho.pages.dev/gamemania/home/
Hi,
This tool is what i use for my games: https://free-tex-packer.com/app/
You can add their options, example:
Thanks.