Jump to content

Super Coin Box (extended)


Recommended Posts

I think it's just perfect like that for a beginner "live tuto".

Few levels yes, eventually, to show the reset and switch state, as long as it doesn't become too long/complex for a beginner.

But it's not that necessary since there's the transition between the game and the presentation page.


What's really a "wall" for beginners, is the mobile port, that, is full of tricks and traps.


So if your project comes with a CLEAR AND SIMPLE step by step "how to convert to mobile, and monetize your game like a pro", that would make a huge difference, IMO.




Just 1 more feature

While putting the browser in full screen manually in firefox for instance, make the game go > auto center/ scale mode show all < and when exiting full screen, go back to the current display, like a real game.







  if (game.device.desktop){ window.onresize = function(){ screenResizeHandler() } };






function screenResizeHandler() {

 if((window.fullScreen) ||
   (window.innerWidth == screen.width && window.innerHeight == screen.height)) {

            game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;
            game.scale.minWidth = MinWidth;
            game.scale.minHeight = MinHeight;
            game.scale.maxWidth = screen.width;
            game.scale.maxHeight = screen.height-24;

} else {

            game.scale.scaleMode = Phaser.ScaleManager.NO_SCALE;

            game.scale.minWidth = MinWidth;
            game.scale.minHeight = MinHeight;
            game.scale.maxWidth = MinWidth;
            game.scale.maxHeight = MinHeight;

            game.scale.pageAlignHorizontally = true;
            game.scale.pageAlignVertically = true;

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...