patrickfabrizius Posted February 6, 2017 Share Posted February 6, 2017 Hi! Just upgraded my project to PIXI 4, and noticed that all assets are displayed at 200% on regular (non-retina) resolution devices. The problem seems to be that PIXI now reads and uses the "scale" meta key. From how Texturepacker seems to use the scale value, it seems logical that "scale" differs between the hi-res and lo-res texturepacks, but at the same time I doubt that this is a bug in PIXI? So, could anyone explain the rationale behind this (and point me in the right direction if my Texturepacker settings are invalid). Thanks! Quote Link to comment Share on other sites More sharing options...
bubamara Posted February 6, 2017 Share Posted February 6, 2017 in your second variant name enter @1x when resolution is not specified in file name, meta scale is used and when you specify resolution in file name it will have priority over meta scale defined in json file Quote Link to comment Share on other sites More sharing options...
patrickfabrizius Posted February 6, 2017 Author Share Posted February 6, 2017 I see. Will give it a shot, thanks! 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.