AaronBC Posted January 31, 2016 Share Posted January 31, 2016 Hi All, I just started using PIXI a few days ago, it's a great tool and i've been having fun with it. I'm working on a little game (www.evade.mx) but it seems that with mobile browser (Chrome on android) the game simply doesn't work, before knowing PIXI, I was using Canvas without any other framework and the game ran well. I'm pretty sure there is something simple that i don't know of yet. Could you help me with some suggestions about what to check? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted February 1, 2016 Share Posted February 1, 2016 Ok, lets start from easy things. Does it work if you create CanvasRenderer? //autodetect var renderer = PIXI.autoDetectRenderer(width, height); //WebGL var renderer = new PIXI.WebGLRenderer(width, height); //Canvas var renderer = new PIXI.CanvasRenderer(width, height); AaronBC 1 Quote Link to comment Share on other sites More sharing options...
AaronBC Posted February 2, 2016 Author Share Posted February 2, 2016 Thanks a lot Ivan, I've already found the problem (or that's what i think). I was using too many Graphic objects and that affected the performance in mobile devices, instead of that now im using sprites and the games run well I'm facing the problem of making the game capable of running on Safari Mobile, it only shows a white screen. Quote Link to comment Share on other sites More sharing options...
mattstyles Posted February 2, 2016 Share Posted February 2, 2016 Get your debugger out, a white screen implies something has crapped out fairly early on, I expect there is a dirty great error message that will probably light the way Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted February 2, 2016 Share Posted February 2, 2016 @AaronBC pixi is all about sprites Quote Link to comment Share on other sites More sharing options...
AaronBC Posted February 3, 2016 Author Share Posted February 3, 2016 Thanks @mattstyles, i've already done that, no errors. I was reading some topics about that issue but it seems that it was solved a while ago. I'm going to do some research these days. @ivan.popelyshev I noticed! 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.