Jump to content

Scaling methods and fullscreen


gaelbeltran
 Share

Recommended Posts

Hi, I just read the documentation about scaling methods: http://www.pandajs.net/docs/classes/game.System.html#attr_idtkScale

 

But this says it is a CocoonJS method, I was wondering if the different methods can work with html5/non-packaged games? I tried changing the variable in my code, but it doesn't seem to work so I guess it really only works in CocoonJS.

 

By default, I see that pandajs scales your game to fit the screen, and this works great. But is there a way to make pandajs scale your game to fill? stretching your game. Phaser has a different scaling modes that work like that.

 

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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