|
|
@ -104,9 +104,10 @@ class PlayScene extends Phaser.Scene { |
|
|
this.ball.body.checkCollision.up = false; |
|
|
this.ball.body.checkCollision.up = false; |
|
|
this.ball.body.checkCollision.left = false; |
|
|
this.ball.body.checkCollision.left = false; |
|
|
this.ball.body.checkCollision.right = false; |
|
|
this.ball.body.checkCollision.right = false; |
|
|
this.ball.displayWidth = 114; |
|
|
|
|
|
|
|
|
this.ball.displayWidth = 120; |
|
|
this.ball.displayHeight = 120; |
|
|
this.ball.displayHeight = 120; |
|
|
this.ball.setSize(114, 120, true); |
|
|
|
|
|
|
|
|
this.ball.setSize(160, 250, true); |
|
|
|
|
|
// this.ball.setScale(0.5);
|
|
|
let platformX = this.ball.x; |
|
|
let platformX = this.ball.x; |
|
|
|
|
|
|
|
|
for (let i = 0; i < 10; i++) { |
|
|
for (let i = 0; i < 10; i++) { |
|
|
|