fix boss tank cross brick

This commit is contained in:
jakciehan
2026-06-07 22:08:00 +08:00
parent c3a4aa8f15
commit e4140f073f
29 changed files with 2689 additions and 1240 deletions
+10
View File
@@ -102,6 +102,7 @@ const TANK_CONFIG = {
hp: 6,
color: '#8B0000', // dark red
size: TILE_SIZE * 1.2,
colliderSize: TILE_SIZE * 0.85,
score: 500,
},
};
@@ -172,6 +173,7 @@ const SCENE = {
TEAM_ROOM: 'team_room',
TEAM_GAME: 'team_game',
TEAM_RESULT: 'team_result',
TEAM_2V2_ROOM: 'team_2v2_room',
CHAT_ROOM: 'chat_room',
};
@@ -182,6 +184,7 @@ const GAME_MODE = {
CLASSIC: 'classic',
ENDLESS: 'endless',
PVP: 'pvp',
TEAM_2V2: 'team_2v2',
TEAM_3V3: 'team_3v3',
};
@@ -221,6 +224,13 @@ const BATTLE_CONFIG = {
fillWithBots: false,
mapPool: 'pvp',
},
'2v2': {
teamSize: 2,
baseHp: 8,
respawnDelay: TEAM_RESPAWN_DELAY,
fillWithBots: true,
mapPool: 'team',
},
'3v3': {
teamSize: 3,
baseHp: TEAM_BASE_HP,