Update enemy health values, adjust wave spawn schedules, and modify enemy configurations to balance gameplay difficulty.
This commit is contained in:
parent
603cf47348
commit
b6bdaf8645
|
|
@ -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`);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue