Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SpriteAtlas, create TexturePacker/css sprite textures in GIMP
#1
I've created another plug-in called GIMP SpriteAtlas, which can compile a sprite texture or sprite atlas for use in games and web pages.

It takes multiple smaller images, you need to open them as layers in one GIMP image, then run the plug-in and it will create one large sprite texture. The plug-in uses a packing algorithm to use as few space as possible. It also exports a JSON, XML or CSS file with the coordinates. Optionally, it can extend the edges of certain sprites, which is sometimes needed to get seemless tiles.

You can download it here:
https://github.com/BdR76/GimpSpriteAtlas/


Attached Files Thumbnail(s)
       
Image(s)
   
Reply
#2
Hi,

Thanks for this tool. I used it to generate a sprite sheet from multiple png, but i can only generate the .json and .png file.
The project in which i need it required 3 files : .png, .json and .atlas.
Did i miss a parameter to get the .atlas file ?

Thanks for your help,
Reply
#3
(02-24-2023, 12:48 PM)ImCraZiggs Wrote: The project in which i need it required 3 files : .png, .json and .atlas.

I don't know what you mean with ".atlas file". Do you mean the Spine atlas format or the LibGDX Atlas format? If you can provide example output files then I could add it to the script.
Reply
#4
(02-24-2023, 12:48 PM)ImCraZiggs Wrote: Did i miss a parameter to get the .atlas file ?

fyi I've updated the plug-in to also support LibGDX TextureAtlas output, let me know if that fixes your issue.

https://github.com/BdR76/GimpSpriteAtlas
Reply


Forum Jump: