Adibas03

Members
  • Content Count

    4
  • Joined

  • Last visited

About Adibas03

  • Rank
    Newbie

Contact Methods

  • Twitter
    adibas03
  1. So, i was able to track down the culprit, Needless to say, it was not a code error the Gamepads webpack has a function `L#104 : refreshPads: function (pads)` and a check `L#118 : if (pad === null)` which resolves to false as the actual list was undefined. GamepadList {0: undefined, 1: undefined, 2: undefined, 3: undefined, length: 4} ---Update-- Updating this line fixes it https://github.com/photonstorm/phaser/blob/v3.0.0-beta.1/v3/src/input/gamepad/GamepadManager.js#L117 if(pad === null || typeof pad == 'undefined')
  2. @rich Great job you are doing. I tried loading the demos but keep getting this issue across the different demos. GamepadManager.js:123 Uncaught TypeError: Cannot read property 'index' of undefined BaseLoader.js:268 default - Loader Complete. Loaded: 1 Failed: 0
  3. I know this is old now. I just wanted to give update. Function now exists for graphics in Phaserjs as from version 2.5.0 graphics.drawRoundedRectangle(x,y,width,height,angle)
  4. Just realized that the text wrap function will not take effect if there are no spaces in the text. while this works game.stage.backgroundColor = '#0072bc'; var style = { font: 'bold 20pt Arial', fill: 'white', align: 'left', wordWrap: true, wordWrapWidth: 150 }; var text = game.add.text(game.world.centerX, game.world.centerY, "phaser with a sprinkle of pixi dust", style); this does not game.stage.backgroundColor = '#0072bc'; var style = { font: 'bold 20pt Arial', fill: 'white', align: 'left', wordWrap: true, wordWrapWidth: 150 }; var text = game.add.text(game.world.centerX, game.world.centerY, "phaserwithasprinkleofpixidust", style); Is this an issue or is this how it is supposed to be?