Jump to content

Search the Community

Showing results for tags 'screen scale'.

  • 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 2 results

  1. when I was using 2.0.4 version the screen resizing was good.. it responds to every screen size with proper scaling but when upgrading to 2.3.0 the screen resizing was not that efficient... when I am on my browser is just sets on full browser size this is what i added on the index.html: <meta name="mobile-web-app-capable" content="yes"> <meta name="viewport" content="width=device-width">and this is on the Boot.js file: this.input.maxPointers = 1;this.stage.disableVisibilityChange = false;this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;this.scale.minWidth = 320;this.scale.minHeight = 480;this.scale.pageAlignHorizontally = true;this.scale.pageAlignVertically = true;this.stage.forcePortrait = true;this.scale.setScreenSize(true); What would I change so that is just changes to proper screen size
  2. Hi to all. I have one question: When user change brouser screen size, is there a way to scale all screen(scene) ? for example I use next approach var renderer = new PIXI.CanvasRenderer(400, 300, document.getElementById("maincanvas"));renderer.view.style.width = '800px';renderer.view.style.height = '600px';and when screen change it resolution, just update renderer.view.style.width and renderer.view.style.height with new values (of course I calculate aspect ratio) This work fine BUT perforce is bad if I twice screen resolution(as in example above) firefox(or chrome, or opera) will use 75-80% of my cpu. What I do wrong?
×
×
  • Create New...