dudeperfect Posted January 28, 2015 Share Posted January 28, 2015 Now I have a game, it works in browser, it's size is 760x600 and all graphics is made to match the proportions of these dimensions. So for example I want to make it work for mobiles. What I need to do? Just simply change graphics size? And what about controls? Nowdays mobiles uses touchscreens, and my game is controled with keyboard. What about specifics for android and iOS ? is there any difference? (I'm talking both, about working in mobile browser and putting game in Google Play for example). Link to comment Share on other sites More sharing options...
Cedric Posted January 28, 2015 Share Posted January 28, 2015 Dear dudePerfect, Shearch in google for ludei, its a cocoonJS platform that can compile every html5 game (including the phaser framework) to a native app.You can if you wich port it directly to the stores. However, You need to count some minor things: your render type is recommanded to be Phaser_CANVAS ( var game = new Phaser.Game(width, height, Phaser_CANVAS, "game"); . The scaling should be done via phaser, not on ludei, so on ludei select no scaling. Best Regards Cedric Van Roeyen dudeperfect 1 Link to comment Share on other sites More sharing options...
Ninjadoodle Posted January 29, 2015 Share Posted January 29, 2015 Hi @dudeperfect I agree with cocoonJS, the performance is great, even on iPhone4s. Also, with your next game I would try to think about all these issues before you start, otherwise it gets very difficult and you have to end up changing code, graphics etc. I've had a lot of these problems in the past, so now I always make sure, that I don't have too much backtracking to do, if/when I decide to port my games. What engine/framework did you use to make your game? dudeperfect 1 Link to comment Share on other sites More sharing options...
dudeperfect Posted January 29, 2015 Author Share Posted January 29, 2015 Hi @dudeperfect I agree with cocoonJS, the performance is great, even on iPhone4s. Also, with your next game I would try to think about all these issues before you start, otherwise it gets very difficult and you have to end up changing code, graphics etc. I've had a lot of these problems in the past, so now I always make sure, that I don't have too much backtracking to do, if/when I decide to port my games. What engine/framework did you use to make your game?Phaser. Link to comment Share on other sites More sharing options...
Cedric Posted February 6, 2015 Share Posted February 6, 2015 About the scaling: Phaser has a scale manager, this is quite useful for mobile use.Although I'm not good at it, thats why I bought the book Best Regards Link to comment Share on other sites More sharing options...
Recommended Posts