prateek.pradeep Posted April 8, 2014 Share Posted April 8, 2014 Hi,I have seen various blog post on resolution and orientation but no one seems to tell me the accurate steps to implement it.I want my game to be viewable on tablets and mobile but i am confused with all the post. There are various other things which needs to be taken care of before we actually deploy our game on app store. Sadly there is no such information.I have followed this tutorial to create flappy bird but it has not provided any information on how to write a complete project so that it is deliverable on App store of varios OS. Any tutorial, anyone? Link to comment Share on other sites More sharing options...
Videlais Posted April 8, 2014 Share Posted April 8, 2014 I have seen various blog post on resolution and orientation but no one seems to tell me the accurate steps to implement it. This thread is usually the one most people start with when trying to scale projects and games using Phaser. There is also the documentation on using ScaleManager itself too. And an example on scaling a sprite. I have followed this tutorial to create flappy bird but it has not provided any information on how to write a complete project so that it is deliverable on App store of varios OS. There is no easy answer to this. Depending on your needs and willingness to try different services, putting HTML5 games on different app stores can be very complicated. Some services to explore are PhoneGap, Cordova, and CocoonJS. However, each come with their own problems and issues. Link to comment Share on other sites More sharing options...
prateek.pradeep Posted April 8, 2014 Author Share Posted April 8, 2014 i have again iterated to the same pages. i think the admin should buy some time for himself and show us some tutorial on this. Link to comment Share on other sites More sharing options...
rich Posted April 9, 2014 Share Posted April 9, 2014 There is a complete 'full screen' mobile project template in the resources folder. We use that approach in all our mobile browser games. If you want to wrap it in some kind of native wrapper then we can't really support that yet, although we're looking into how Cocoon manages it at the moment. The rest are up to you I'm afraid. Link to comment Share on other sites More sharing options...
prateek.pradeep Posted April 9, 2014 Author Share Posted April 9, 2014 Ooo....Admin here is cool! Link to comment Share on other sites More sharing options...
Rudis Posted April 9, 2014 Share Posted April 9, 2014 Besides, if you're looking for how to scale without black borders and responsive to device screens. I encourage you to read these articleshttp://v-play.net/doc/vplay-different-screen-sizes/http://blog.gemserk.com/2013/01/22/our-solution-to-handle-multiple-screen-sizes-in-android-part-one/ Basically this means, get your game resolution from window.innerWidth/Height. Scale down if necessary and place everything else relative to game resolution. Link to comment Share on other sites More sharing options...
Recommended Posts