tywang2006 Posted May 11, 2017 Share Posted May 11, 2017 Hi guys, i implement resolution, but it looks aweful in webgl. any help I will appreciate it, many thanks Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted May 12, 2017 Share Posted May 12, 2017 PIXI.settings.RESOLUTION = 2 , or something like that The thing is, when Text is created, its using resolution from settings, not from renderer. You have to manually change resolution of every text or modify settings. Quote Link to comment Share on other sites More sharing options...
tywang2006 Posted May 12, 2017 Author Share Posted May 12, 2017 52 minutes ago, ivan.popelyshev said: PIXI.settings.RESOLUTION = 2 , or something like that The thing is, when Text is created, its using resolution from settings, not from renderer. You have to manually change resolution of every text or modify settings. I did all of them but it seems not working:( and I found if my app was running in simple html page, it looks great but once deploy to the proper platform, it seems to reduce the quality. in the platform, it did css flip transition to launch the app under the viewport. Do you have any idea about it or guess what it might happen then i can invest. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted May 12, 2017 Share Posted May 12, 2017 You have problem only with PIXI.Text, sprites are fine? Ah, i just looked in sources and found that it automagically sets to renderer resolution if something is wrong, so you are right, its not the solution. What about coordinates of that Text? What if you make a screenshot on a device and PC? + screen on PC with resolution=2 Quote Link to comment Share on other sites More sharing options...
tywang2006 Posted May 12, 2017 Author Share Posted May 12, 2017 2 minutes ago, ivan.popelyshev said: You have problem only with PIXI.Text, sprites are fine? Ah, i just looked in sources and found that it automagically sets to renderer resolution if something is wrong, so you are right, its not the solution. What about coordinates of that Text? What if you make a screenshot on a device and PC? + screen on PC with resolution=2 I did make screenshot, it looks much better with my local version, even without setting resoultion, just looks terrible in the platform, i guess they might scale the viewport or did some other dodge thing Quote Link to comment Share on other sites More sharing options...
tywang2006 Posted May 17, 2017 Author Share Posted May 17, 2017 I fixed that due to viewport resize. 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.