everuniverse Posted August 31, 2015 Share Posted August 31, 2015 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. jjcale 1 Link to comment Share on other sites More sharing options...
Recommended Posts