Update enemy health values, adjust wave spawn schedules, and modify enemy configurations to balance gameplay difficulty.

This commit is contained in:
Brian Fertig 2025-09-04 22:45:00 -06:00
parent 603cf47348
commit b6bdaf8645
3 changed files with 17 additions and 9 deletions

View File

@ -62,7 +62,9 @@ export class Enemies {
}; };
this.scene.enemies.add(enemy); this.scene.enemies.add(enemy);
if (enemy.body) {
enemy.body.setSize(50, 50);
}
enemy.play(`${this.type}-side`); enemy.play(`${this.type}-side`);
}); });
} }

View File

@ -45,8 +45,8 @@ export const ENEMIES_CONFIG = {
}, },
'advanced2': { 'advanced2': {
'spread': 0, 'spread': 0,
'health': 1800, 'health': 1600,
'fullHealth': 1800, 'fullHealth': 1600,
'speedLow': 45, 'speedLow': 45,
'speedHigh': 55, 'speedHigh': 55,
'spriteStart': 10, 'spriteStart': 10,

View File

@ -82,21 +82,27 @@ export const WAVE_CONFIG = {
//Schedule //Schedule
1: { 1: {
begin: 0, begin: 0,
advanced1: 1, basic1: 10,
basic2: 2,
basic3: 1
}, },
2: { 2: {
begin: 20, begin: 15,
advanced1: 1,
},
3: {
begin: 25,
basic1: 8, basic1: 8,
basic2: 3, basic2: 3,
basic3: 2 basic3: 2
}, },
3: { 4: {
begin: 35, begin: 35,
basic1: 15 basic1: 15
}, },
4: { 5: {
begin: 40, begin: 40,
advanced2: 1 advanced1: 1
} }
} }
} }