Jump to content

Search the Community

Showing results for tags 'scale mode'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 3 results

  1. Hi, I want my game to be always in 16:9 with letterboxing when neccessary. I'm using this code in the very first state: this.game.scale.aspectRatio = 1.77; this.game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; this.game.scale.align(true, true); When I now start the game after I resized the browser to a quadratic format the aspect ratio is different, close to 1. As if the aspect ratio I set is just being ignored and the canvas is scaled to the complete window. I'm not in the browser full screen mode. When I start in a format close to 16:9 everything works as expected, thus I guess only at startup something goes wrong. Am I missing something?
  2. Hi all, Hopefully, this is just something quick I'm missing... I have initialized my game with the resolution of 500x800 and SCALE_MODE is set to RESIZE; In portrait orientation, the game is the correct size of 500x800, however, when I rotate the device and would expect the game to now be 800x500 it is actually 500x313. I'm thinking I'm just missing something that I need to manually resize or update or something, but I'm having trouble finding what I need by searching around. Anyone know how to accomplish what I'm expecting? Thanks.
  3. Hi friends! Could you please help with a couple of questions? What is the correct way to handle the scale in landscape mode with CocoonJS? (I greatly appreciate some code sample).What size images advised for multiple platforms and how these are load depending on the screen? (I greatly appreciate some code sample). I did a presentation: http://slides.com/juandavidnicholls/juegos-en-javascript#/ I have a group on facebook: https://www.facebook.com/groups/javascriptgames/ The next week I will publish a good article of Phaser in my blog: http://www.nicholls.co/blog Any help will be much appreciated, Thanks in advance, Nicholls
×
×
  • Create New...