diff --git a/src/support/enemies.js b/src/support/enemies.js index 7e03c88..86fac7a 100644 --- a/src/support/enemies.js +++ b/src/support/enemies.js @@ -31,7 +31,7 @@ export class Enemies { this.scene.time.delayedCall(Phaser.Math.Between(this.spawnRange.low, this.spawnRange.high), () => { // Create enemy and store reference const enemy = this.scene.add.sprite(spawnX, spawnY, ENEMIES_CONFIG[this.type].spriteSheet, ENEMIES_CONFIG[this.type].spriteStart); - + // Create Animations if (this.type.indexOf('basic') === 0) { this.createAnim('side', ENEMIES_CONFIG[this.type].spriteStart, ENEMIES_CONFIG[this.type].spriteStart+2); @@ -62,7 +62,9 @@ export class Enemies { }; this.scene.enemies.add(enemy); - + if (enemy.body) { + enemy.body.setSize(50, 50); + } enemy.play(`${this.type}-side`); }); } diff --git a/src/support/enemiesConfig.js b/src/support/enemiesConfig.js index b7e1c46..71d7d0e 100644 --- a/src/support/enemiesConfig.js +++ b/src/support/enemiesConfig.js @@ -45,8 +45,8 @@ export const ENEMIES_CONFIG = { }, 'advanced2': { 'spread': 0, - 'health': 1800, - 'fullHealth': 1800, + 'health': 1600, + 'fullHealth': 1600, 'speedLow': 45, 'speedHigh': 55, 'spriteStart': 10, diff --git a/src/support/waveConfig.js b/src/support/waveConfig.js index 41d7126..fb9d4e7 100644 --- a/src/support/waveConfig.js +++ b/src/support/waveConfig.js @@ -82,21 +82,27 @@ export const WAVE_CONFIG = { //Schedule 1: { begin: 0, - advanced1: 1, + basic1: 10, + basic2: 2, + basic3: 1 }, 2: { - begin: 20, + begin: 15, + advanced1: 1, + }, + 3: { + begin: 25, basic1: 8, basic2: 3, basic3: 2 }, - 3: { + 4: { begin: 35, basic1: 15 }, - 4: { + 5: { begin: 40, - advanced2: 1 + advanced1: 1 } } }