Repository navigation
Releases: AbyssWhalen/tank-trouble
Release list
v0.6.0 — 波次生存 roguelite 化:三选一强化 + 守点 boss 波 + 19 处修复
新内容 | What's New
🎲 波次生存 roguelite 化 | Roguelite progression in Wave Survival
- 每清完一波三选一,永久强化本局:弹仓扩容 / 转向 / 移速 / 跳弹免疫 / 磨墙 / 散射加量 / 激光加量 / 地雷加量 / 护盾强化 / 补给增量 / 战场回收——11 张卡共 22 层,一局抽不完 | Pick 1 of 3 permanent upgrades after every wave — 11 cards, 22 total levels, more than one run can take
- 敌人侧同步成长:随波次带护盾、散射、激光,以及连续爬升的移速与转速倍率 | Enemies grow in step: shields, scatter, lasers, plus continuously scaling speed and turn rate
- 敌方坦克头顶显示武器图标——1v3 时「哪辆是激光兵」必须一眼看见 | Enemy tanks carry a weapon icon overhead, so the laser carrier is obvious at a glance
🛡️ 守点波:章尾 boss 波 | Hold-the-zone boss waves
- 第 5/10/15/20/25/30 波换规则:场上出现一个圈,站在里面累计 12~18 秒才过波 | Every fifth wave swaps the rule: a zone appears, and you must hold it for 12-18 cumulative seconds
- 杀敌不再消耗配额、敌人持续投放——它禁止风筝,「拉开距离绕柱子对射」不再是最优解 | Kills no longer count down a quota and enemies keep arriving: this wave type forbids kiting
- 离开圈子进度冻结而不是衰减,也不设时限——守不住就继续打,唯一的失败仍然是死 | Leaving the zone freezes progress instead of draining it, and there is no time limit
- 圈心位置、地形形状与敌人来向第一次成为真正的决策 | The zone's placement, the terrain around it and the direction enemies arrive from finally matter
⚔️ 同屏敌人上限 3 → 5 | Concurrent enemies raised from 3 to 5
- 第 36 波起 4 辆、第 46 波起 5 辆;波次 1~35 的难度一个字节都没动 | Four from wave 36, five from wave 46; waves 1-35 are byte-for-byte unchanged
- 敌人改用独立的 5 色配色板,每一色与玩家的青绿一眼可分 | Enemies now use their own five-colour palette, each clearly distinct from the player's teal
📉 难度曲线重调 | Difficulty curve rebalanced
- 铲平三处形状缺陷:第 11 波换大图白送约 2 秒走位时间、第 26 波「每辆敌人都持激光」的断崖、第 26~31 波的平台 | Three shape defects flattened: a free ~2-second grace period when the map grows at wave 11, a cliff at wave 26 where every enemy carried a laser, and a plateau across waves 26-31
- 激光改成按同屏已上膛数发配额(1/2/3),而不是到档位就全发 | Lasers are issued by a concurrent-carrier quota (1/2/3) rather than to every qualifying enemy
- 敌人刷新点改成贴住理想交战距离,不再「越远越好」——大地图不再变成难度降低的旋钮 | Enemy spawns now target an ideal engagement distance instead of maximising it, so a bigger map no longer makes the game easier
- 新手期从「第 6 波一刀切」摊到第 6~7 波仍掺简单档 | The beginner ramp fades across waves 6-7 instead of cutting off at wave 6
修复 | Fixes
本版共修 19 处缺陷,下面是玩起来能感觉到的那些 | 19 fixes in total; these are the ones you can feel:
- 掉帧时子弹可能穿墙飞出场外,还占着弹药上限直到寿命尽——症状是「开火键偶尔按不出子弹」| On dropped frames a bullet could tunnel through a wall and fly off the arena while still occupying an ammo slot, so firing would intermittently do nothing
- 贴着墙开激光可能隔墙打死对手(炮口伸出的长度已越到墙另一侧)| Firing a laser while flush against a wall could kill through that wall
- 点下按钮后手滑到另一个按钮,执行的是后一个——抽卡时这是不可撤销的误选 | Clicking a button then sliding onto a different one executed the latter; during the upgrade draft that was an unrecoverable mis-pick
- 改过键位的旧存档升级后可能无法移动:某个动作会与另一个动作撞成同一个键,按下相互抵消 | Custom key bindings from an older version could load into a state where two actions shared one key and cancelled each other out
- 整场结算的命中率可能超过 100%(地雷击杀计入命中,却不计入发射数)| Match accuracy could exceed 100%, because mine kills counted as hits but never as shots
- 窗口配置文件损坏时游戏直接打不开 | A corrupted window-state file could stop the game from starting at all
- 击杀后立刻回菜单再开一局,上一局的屏幕震动会漏进新一局的开场倒计时,并吞掉新一局第一次击杀的震动 | Screen shake could leak across rounds into the next countdown and swallow the next round's first kill shake
- 地图偶尔生成成「空箱子」:一堵内墙都没有,小图里两辆车从第一帧起互相全见 | Maps could occasionally generate with zero interior walls, leaving both tanks in full view from the first frame
- 守点波达成那一瞬,已被清场的敌人留在膛的子弹会在喘息期继续打人 | At the instant a hold wave completed, bullets already in flight from the cleared enemies could still kill you during the breather
- 换图波的开场倒计时音、首次破纪录的结算文案、改键面板的冲突提示残留等若干表现层错误 | Several presentation bugs: the chapter-transition countdown sound, the first-record wave banner wording, and a stale conflict hint in the key-binding panel
- AI 修复三处:持激光时不再被实体弹药预算卡住、绕地雷时会避开整个爆炸圈而不只是雷所在那一格、不再消费过期的跳弹解朝墙开炮 | Three AI fixes: laser carriers are no longer blocked by the physical ammo budget, mine avoidance now covers the whole blast radius instead of just the mine's own cell, and stale bounce-shot solutions no longer cause shots into walls
验证 | Verification
- 240 条确定性逻辑断言,连跑 12 次全绿 | 240 deterministic logic assertions, 12 consecutive green runs
- headless AI 竞技场回归:双人自搏 200 回合、挑战 8 关各 60 次、波次生存 100 次完整 run | Headless AI arena regression across all modes
- 真实 Electron 实机驱动验证,每条断言都配反证——撤销修复必须变红,否则那条断言是在测空气 | Driven against a real Electron build, with every assertion paired to a counter-proof: reverting the fix must turn it red
安装 | Install
下载 TankCorridor Setup 0.6.0.exe 双击安装,覆盖旧版本即可。设置、键位、战绩与闯关进度都保留。| Download and run TankCorridor Setup 0.6.0.exe. It upgrades in place and keeps your settings, key bindings, stats and campaign progress.
v0.5.0 — 挑战关卡模式:单人闯关 8 关
新内容 | What's New
🎯 挑战关卡模式 | Challenge Campaign (8 levels)
- 主菜单新增第三个模式:单人闯关 8 关,顺序解锁,进度本地保存 | New single-player campaign: 8 levels, unlocked in order, progress saved locally
- 三种关卡目标:歼灭全部敌人 / 存活到时间 / 限时歼灭 | Three objective types: eliminate, survive, timed elimination
- 每关手工设计:固定地图与风格、1~3 名不同难度的敌人、指定道具池、可选炸墙、开局强化(激光/散射/地雷/护盾)| Hand-designed levels: fixed map & style, 1-3 enemies at mixed difficulties, curated power-up pool, optional destructible terrain, starting loadout
- 亮点关卡:以一敌二车轮战、只给激光的「狙击教室」、雷区求生 45 秒、120 秒内打赢「困难+普通」双人组的最终试炼 | Highlights: a 1v2 gauntlet, a laser-only sniping lesson, 45s minefield survival, and a 120s final trial vs a Hard + Normal pair
- 选关界面:4×2 卡片网格,未解锁灰显、已通关打勾 | Level select: 4×2 card grid with locked / cleared states
- 关卡结算不自动倒计时:胜利可「下一关 / 再打一次 / 返回选关」,失败可「重试 / 返回」,R 与 Esc 有快捷键 | Level-over screen waits for you: next / retry / back, with R and Esc shortcuts
🔧 平衡与修复 | Balance & Fixes
- 生存关敌人全灭即提前过关,不再空场硬熬计时 | Survival levels now end the moment the last enemy dies
- 8 关难度曲线用 headless AI 替身每关代打 30 次实测调优 | Difficulty curve tuned with 30 headless AI runs per level
安装 | Install
下载 TankCorridor Setup 0.5.0.exe 双击安装,覆盖旧版本即可。
v0.4.0 — AI 大修 + 地图三风格 + 表现层打磨
新内容 | What's New
🤖 AI 行为大修 | Major AI Overhaul
- 根治「隔墙对撞」死锁:AI 导航改用车身半径感知的通视判定,隔墙时老实绕路 | Fixed the wall-grinding deadlock with radius-aware navigation
- 修复十余项决策 bug(躲弹抖动、避战反向冲锋、捡道具误判等),卡住次数下降一个数量级 | 10+ decision bugs fixed; stuck events down by an order of magnitude
- 困难档学会「磨墙开路」:残血墙挡路时直接打穿 | Hard AI now shoots through weakened walls
🗺️ 地图三风格 | 3 Maze Styles
- 稀疏格栅 / 180° 对称竞技场(双方地形完全镜像,绝对公平)/ 房间走廊(BSP),每回合随机轮换 | Sparse grid / mirrored arena / rooms & corridors, rotating each round
✨ 表现层 | Presentation
- 开场 3-2-1-GO 倒计时(冻结双方——AI 不再抢先手)| Round countdown that freezes both sides (no more AI head-start)
- 击杀慢动作 | Kill slow-motion
- 战绩统计:命中率 / 最爱武器 / 连胜纪录,本地持久化(设置面板查看)| Persistent stats: accuracy, favorite weapon, win streak
安装 | Install
下载 TankCorridor Setup 0.4.0.exe 双击安装,覆盖旧版本即可。
v0.3.0 — 可破坏地形 + 全新主菜单
新内容 | What's New
🧱 可破坏地形 | Destructible Terrain
- 子弹磨墙:内墙带耐久,子弹每次撞击逐渐磨碎它——墙越打越透明,快碎的墙一眼可见 | Bullets erode inner walls shot by shot; walls fade as they weaken
- 地雷炸墙:地雷爆炸直接炸穿波及圈内的所有内墙 | Mine blasts instantly shatter nearby inner walls
- 外墙永不可破;AI 会实时感知新炸开的通路 | Outer walls are indestructible; the AI adapts to newly opened paths in real time
- 设置里可整体关闭(保持经典固定迷宫玩法) | Fully toggleable in settings for classic fixed-maze play
✨ 全新主菜单 | Redesigned Main Menu
- 首屏只保留模式选择,清爽直达 | Clean first screen with just the mode buttons
- 所有配置(AI 难度 / 道具 / 地形 / 音效 / 键位)收进 ⚙ 设置面板 | All options now live in the ⚙ settings panel
安装 | Install
下载 TankCorridor Setup 0.3.0.exe 双击安装,覆盖旧版本即可。 | Download and run the installer; it upgrades older versions in place.
v0.2.1 — HUD 武器指示 + 局胜制
新内容 | What's New
📟 HUD 武器状态指示 | On-HUD Weapon Badges
- 计分旁实时显示当前武器(散射/激光/地雷)剩余次数与护盾状态 | Live weapon & shield badges with ammo counts next to the score
- 持雷即将作废、护盾即将到期时徽章闪烁提醒 | Badges blink when mines/shield are about to expire
🎯 局胜制 | Match Play
- 先到 5 个回合胜利赢得整场,大结算横幅显示总比分 | First to 5 round wins takes the match, with a full-match结算 banner
- 可一键再来一场(比分清零)或返回主菜单 | Rematch (scores reset) or back to menu in one click
- 整场胜利专属音效 | Dedicated match-win jingle
安装 | Install
下载 TankCorridor Setup 0.2.1.exe 双击安装,覆盖旧版本即可。 | Download and run the installer; it upgrades older versions in place.
v0.2.0 — 程序合成音效
新内容 | What's New
🔊 程序合成音效系统 | Procedurally Synthesized SFX
- 全部音效由 Web Audio 实时合成,零音频素材文件 | All sounds synthesized in real time via Web Audio — zero audio asset files
- 12 类事件音:开炮/散射/激光/击杀/破盾/道具拾取(四种道具音高不同)/布雷/地雷爆炸/回合胜利琶音/同归于尽/UI 反馈 | 12 event sounds: fire, scatter, laser zap, kill, shield break, pickups (pitched per type), mine deploy/blast, round win/draw jingles, UI feedback
- 菜单左下角静音开关,状态本地持久化 | Mute toggle at bottom-left of menu, persisted locally
自 v0.1.0 以来 | Since v0.1.0
- 独立道具键 + 激光射线(全程预瞄虚线)+ 隐形地雷 + 道具自选组合
- AI 三轮强度打磨:捡道具决策、激光精确运用、困难档跳弹吊射、激光预瞄线防守
- 冒烟测试与 AI 对打竞技场收进仓库(
npm run smoke/npm run arena)
安装 | Install
下载 TankCorridor Setup 0.2.0.exe 双击安装。 | Download and run the installer.
坦克回廊 v0.1.0
坦克回廊 v0.1.0 —— 首个本地版
本地双人对战 + 人机对战的坦克对战小游戏。玩法参考 Tank Trouble,代码与素材全部原创。HTML5 Canvas + 原生 JS,Electron 打包为 Windows 桌面应用。
下载安装
下载下方的 TankCorridor Setup 0.1.0.exe,双击运行安装向导(可选择安装路径),装完从桌面或开始菜单的「坦克回廊」快捷方式启动。
玩法
- 双人对战:两名玩家同屏,各控一辆坦克
- 人机对战:与 AI 单挑,难度三档可选
子弹会沿墙反弹,贴墙开炮弹回来会打到自己 —— 原版自杀手感保留。每回合击破对手得分,自动换图重开。
操作
| 移动/转向 | 开炮 | |
|---|---|---|
| 玩家 1 | W A S D | 空格 |
| 玩家 2 | ↑ ← ↓ → | 回车 |
人机模式下你用玩家 1 的键位。
AI 难度
- 简单:老实人,不躲子弹、不预判提前量
- 普通:会躲弹、会绕墙追击、贴脸反打,开火带适度预判
- 困难:躲弹更早更稳、全量拦截预判(打你"将到的位置")、开火更快更准
已知范围
- 本地版聚焦 1v1 双人 + 人机;3/4 人同屏与联机对战是后续 v2 的内容
- 无自动化测试,靠手动验证
🎮 玩得开心 ヽ(=^・ω・^=)丿