Pixi.js: [FEATURE] add support for texturepacker polygon algorithm.

Created on 28 Sep 2017  路  8Comments  路  Source: pixijs/pixi.js

Hello,
Please add support for polygon pack method, this is very important feature that will dramatically reduce atlases sizes which is very important in gamedev.

Stale 馃檹 Feature Request

Most helpful comment

@akhimchak Its in my TODO least for a year already, but there are so many things, and my strategy is just pick a random one.

So far no one gave me the case that shows that polygon packing will help in their project more than, for example, https://github.com/pixijs/pixi-compressed-textures which reduces videomemory usage 4 times.

All 8 comments

I think this is a duplicate of #2243

May I ask add that feature for v4?

@akhimchak Its in my TODO least for a year already, but there are so many things, and my strategy is just pick a random one.

So far no one gave me the case that shows that polygon packing will help in their project more than, for example, https://github.com/pixijs/pixi-compressed-textures which reduces videomemory usage 4 times.

Anyway, I think that i'll make it as a plugin in a month or two. Again, its possible if I pick that by a chance ;)

Alternatively, someone may explain me why is this thing so important, may be show me the case for it.

@ivanpopelyshev
i am making a small plugin for my project with this pro feature from texture packer.
plugin link

this is not a very important feature, but I think it would be great to be able to optimize these sprite Sheets to the maximum.
I wonder though if the rendering and the updates will be no heavier.
for calculate polygons rather than squares ?

for now the MULTIPACK do the jobs for not exeed the sprite sheet limit size

This plugin supports polygon packing: https://github.com/gameofbombs/pixi-heaven

Use PIXI.heaven.Sprite

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings