Hi,
my name is Andreas Löw, I develop TexturePacker - a sprite sheet packer and optimization tool.
Recently I get more and more requests for support for Godot engine... I am new to Godot engine and currently trying to find a starting point. Or a complete solution if somebody is able to deliver it ;-)
How I'd image the things should work (from a users view)
1) Somebody packs the sprite sheet in TexturePacker, presses publish
2) User switches to Godot, sprite sheets and sprites are reloaded and refreshed, animations play,...
I'd really like to avoid that users have to perform manual steps to get the updated sprites.
I would also like to support as many features from TexturePacker as possible.
1. Using irregular sprite sheets with trimmed sprites (transparency removed to save space)
seems to be possible by creating .tres files of type "AtlasTexture" with region and margin. Initially creating the .tres files works but the preview images don't update. The other problem is to know the ids.
2. Rotated sprites (optional, but would improve packing)
there seems no way to tell Godot that a region is rotated
3. Pivot points (optional)
there seems to be no way to transport the pivot point from the AtlasTexture to the sprite...
4. Polygon mesh sprites + polygon packing
TexturePacker can create sprite meshes instead of rectangular sprites. This creates less overdraw and improves the performance of games. It also allows very tight packing of the sprites. I've seen in a tweet that Godot is going to get mesh support. Is there already some way to set meshes? Especially for sprites and sprite animations?
Is creating the .tres files an option at all? Or do I have to follow another path?
I'd really be happy if somebody could lend me a hand on this. I'm also able to pay some amount of money for somebody delivering a solution.
Best
Andreas