mrmoor Posted August 20, 2015 Share Posted August 20, 2015 Hi Pixi Gurus , I have played a bit with Pixi and now I'm doing some productive stuff with it, but I stuck with resizing.Currently I'm loading and cuting out a part of my Image, but how can I resize this part as (Base)Texture to ex. 64x64?var baseTexture = new PIXI.BaseTexture.fromImage("assets/demo.png", false, PIXI.SCALE_MODES.NEAREST);var size = new PIXI.Rectangle(16, 32, 16, 16);var texture = new PIXI.Texture(baseTexture,size);Thank you in advance Quote Link to comment Share on other sites More sharing options...
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.