diff --git a/labs/code/004 maggot batch.js b/labs/code/004 maggot batch.js index 07968109..cb6d1f6e 100644 --- a/labs/code/004 maggot batch.js +++ b/labs/code/004 maggot batch.js @@ -16,7 +16,7 @@ function create() { batch = game.add.spriteBatch(); - var total = (game.renderType === Phaser.WEBGL) ? 10000 : 100; + var total = (game.renderType === Phaser.WEBGL) ? 5000 : 100; for (var i = 0; i < total; i++) { diff --git a/labs/code/008 cannon balls.js b/labs/code/008 cannon balls.js index 95581922..4a42a9ab 100644 --- a/labs/code/008 cannon balls.js +++ b/labs/code/008 cannon balls.js @@ -46,7 +46,7 @@ function fire() { bullet.position.set(cannon.x, cannon.y); bullet.physicsEnabled = true; - bullet.body.rotation = cannon.rotation + game.math.degToRad(90); + bullet.body.rotation = cannon.rotation + game.math.degToRad(-90); var magnitude = game.math.px2p(-500); var angle = bullet.body.rotation + Math.PI / 2; diff --git a/labs/list.php b/labs/list.php index 35a0ca7f..5cb7b743 100644 --- a/labs/list.php +++ b/labs/list.php @@ -1,6 +1,8 @@