Pixi.js: NineSlicePlane does not play nice with spritesheet texture

Created on 29 Jan 2017  路  6Comments  路  Source: pixijs/pixi.js

Hello!

I made spritesheet with TexturePacker, then loaded atlas and placed sprites with corresponding textures on stage. The result was as expected.
Then I decided to make these textures scalable. It turned out that the NineSlicePlane used whole image, instead of a specified patch.

Demo - https://dimous.github.io/pixi-ninesliceplane-spritesheet-bug/

Stale 馃捑 v4.x (Legacy) 馃摙 Accepting PRs

Most helpful comment

@alamboley You can use different branch.

https://github.com/pixijs/pixi.js/pull/3842

http://pixijs.download/dev-mesh-update/pixi.js

But I think it wont be merged if @finscn wont make more example for that branch.

All 6 comments

Yup. I've reported on this when I added the NineSlicePlane #2677 I see that the ticket is closed. but the problem is still there..

I see, @ivanpopelyshev didnt add his "special function" https://github.com/pixijs/pixi.js/pull/2688#issuecomment-231782419

Hey any news on this? @ivanpopelyshev

@alamboley You can use different branch.

https://github.com/pixijs/pixi.js/pull/3842

http://pixijs.download/dev-mesh-update/pixi.js

But I think it wont be merged if @finscn wont make more example for that branch.

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

Related issues

lunabunn picture lunabunn  路  3Comments

lucap86 picture lucap86  路  3Comments

gigamesh picture gigamesh  路  3Comments

readygosports picture readygosports  路  3Comments

distinctdan picture distinctdan  路  3Comments