Jump to content

Search the Community

Showing results for tags 'setScreenSize'.

  • 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. I receive following errors using Phaser 2.4.2.: // Apply scale changes in the create function of the boot stategame.scale.setScreenSize(true);// EDIT: ScaleManager.updateLayout() // as noted from change log, but doesn't work for me testing locallySCRIPT438: Object doesn't support property or method 'setScreenSize' Phaser.Math.randomSign()// EDIT​: Phaser.Utils.randomChoice(-1, 1) // as noted from change log, works for meSCRIPT438: Object doesn't support property or method 'randomSign' My workaround for the 'randomSign' error: game.rnd.weightedPick([-1, 1]);But I can't fix the 'setScreenSize' error.
  2. i need some help understanding as to what ScaleManager and setScreenSize(true); do. this.game.scaleMode = Phaser.ScaleManager.SHOW_ALL;this.game.scale.setScreenSize(true);
×
×
  • Create New...