chris1986m Posted February 22, 2015 Share Posted February 22, 2015 Hi vinod, sorry for this late post.I've tried a little bit, but without any success at the moment.Now i have to set the focus on other parts of the game. I'll try it again later. If you have found a solution, give me a response please. Regards,Chris Link to comment Share on other sites More sharing options...
ArturM Posted March 16, 2015 Share Posted March 16, 2015 Hi Guys, I have also some thoughts about scaling. Just look form my blog post http://gameboxz.org/blog/posts/game-scaling-with-phaser-part-1This is not too much and but can be helpful for someone Regards,Artur Link to comment Share on other sites More sharing options...
Yanifska Posted March 22, 2015 Share Posted March 22, 2015 Hi Artur,is there a way to test if the environment is desktop before initialising the game(v2.2.2).I have tried :if(Phaser.Device.desktop)but this return false all the time.Anyone ? Link to comment Share on other sites More sharing options...
ArturM Posted May 13, 2015 Share Posted May 13, 2015 Hi Artur,is there a way to test if the environment is desktop before initialising the game(v2.2.2).I have tried :if(Phaser.Device.desktop)but this return false all the time.Anyone ?Hi, I think it is not possible to do. Check documentation http://phaser.io/docs/2.3.0/Phaser.Device.html Also Device should only by accessed from Phaser.Game instance. Link to comment Share on other sites More sharing options...
craidencool Posted June 20, 2016 Share Posted June 20, 2016 does this work on different android devices? Link to comment Share on other sites More sharing options...
vinod777 Posted June 20, 2016 Author Share Posted June 20, 2016 It worked for me at that time using the previous Phaser library. But now I don't use this because, most devices are somewhat powerful enough and I usually set a balanced fixed resolution i.e., 960x640 Link to comment Share on other sites More sharing options...
shabeerahmedshah Posted July 24, 2016 Share Posted July 24, 2016 I still wonder how should I scale down the sprites according to game size. if a sprites has a size of 300 x 300, how should I make it so that it size varies on Desktop and mobile screens? Link to comment Share on other sites More sharing options...
Recommended Posts