diff --git a/examples/games/breakout.php b/examples/games/breakout.php index be67307e..def89f91 100644 --- a/examples/games/breakout.php +++ b/examples/games/breakout.php @@ -129,7 +129,7 @@ } else { - livesText.text = 'lives: ' + lives; + livesText.content = 'lives: ' + lives; ballOnPaddle = true; ball.body.velocity.setTo(0, 0); ball.x = paddle.x + 16; @@ -143,7 +143,7 @@ ball.body.velocity.setTo(0, 0); - introText.text = "Game Over!"; + introText.content = "Game Over!"; introText.visible = true; } @@ -155,14 +155,14 @@ score += 10; - scoreText.text = 'score: ' + score; + scoreText.content = 'score: ' + score; // Are they any bricks left? if (bricks.countLiving() == 0) { // New level starts score += 1000; - scoreText.text = 'score: ' + score; + scoreText.content = 'score: ' + score; introText = '- Next Level -'; // Let's move the ball back to the paddle diff --git a/src/core/Stage.js b/src/core/Stage.js index 269243b2..a20df7a8 100644 --- a/src/core/Stage.js +++ b/src/core/Stage.js @@ -129,7 +129,7 @@ Phaser.Stage.prototype = { *//** * Set * @param {string} The background color you want the stage to have -*/. +*/ Object.defineProperty(Phaser.Stage.prototype, "backgroundColor", { get: function () { diff --git a/src/sound/Sound.js b/src/sound/Sound.js index a109093e..11c0998f 100644 --- a/src/sound/Sound.js +++ b/src/sound/Sound.js @@ -282,7 +282,6 @@ Phaser.Sound.prototype = { * @param {Description} stop - Description. * @param {Description} volume - Description. * @param {Description} loop - Description. - */ addMarker: function (name, start, stop, volume, loop) { volume = volume || 1;