ozgun Posted December 3, 2020 Share Posted December 3, 2020 Hello, I want to slice an loaded image with pixijs. I guess, i need a bitmapdata for this. Can you direct me to do this? Here is a simple example; Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted December 3, 2020 Share Posted December 3, 2020 all pixi textures can be sliced and assigned to sprites without changing the bitmap, because Pixi Texture is baseTexture+region new PIXI.Texture(baseTexture, new PIXI.Rectangle(x,y,w,h)); Quote Link to comment Share on other sites More sharing options...
ozgun Posted December 4, 2020 Author Share Posted December 4, 2020 Ohh thank you @ivan.popelyshev Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.