d13 Posted July 29, 2015 Share Posted July 29, 2015 Hello! The only article I've been able to find on working with multiple resolution images in Pixi is this very old one: http://www.goodboydigital.com/pixi-js-v2-fastest-2d-webgl-renderer/ But there are few details that I don't understand. The text recommends adding "@2x" to image names to set the texture's `resolution` property, but the example code uses "@x2".I guess that "@2x" the correct one? The text also says:"When Pixi detects this it will automatically set the resolution to 2"Does that mean it sets the `texture.baseTexture.resolution` to 2, or does it set the `renderer.resolution` property to 2 - or both? And, if I used `window.DevicePixelRatio` to set the renderer's resolution, does manually using @2x override that value? 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.