先说一句:Iron Tide 真的做得很厉害。 一个 HTML 文件里塞下了 8 种军舰、40+ 种飞机、17 种坦克、31 关战役、会自己买武器升级的 AI 舰队、损管系统、天气系统、还有一个会给你出主意的舰载 AI 挂件——而且它跑起来又稳又流畅。很多大人写不出这个。
我们(爸爸 + Claude)把它 fork 到 https://github.com/longmaolab/irontide 试着改了一版,目标只有一个:让第一次打开游戏的小朋友也能在两分钟内玩得开心。改完实测:一个全新玩家点开驱逐舰之后,什么都不用学,只按住 W,一分钟左右就能击沉第一艘敌舰。
下面这些 issue 是我们改的过程中发现的问题和想法。每一条都附了我们 fork 里对应的实现,你可以:
- 自己想办法实现(最推荐 —— 你会学到最多)
- 卡住了去看我们的代码,看完关掉,用自己的方式重写
- 或者直接 cherry-pick 过去
都可以,这是你的游戏,你说了算。 有任何一条你觉得"不对,我不想这样设计",那就不做——把理由写在 issue 下面,或者直接把它关掉,都行。那本身就是很棒的产品判断。
English: Iron Tide is genuinely impressive — 8 warships, 40+ aircraft, 31 campaign theaters, an AI fleet that buys its own weapon upgrades, damage control, weather, and a helpful ship's-AI widget, all in one HTML file that runs smoothly. We forked it at https://github.com/longmaolab/irontide to try lowering the barrier for first-time players. These issues describe what we found. Each links to our implementation as a reference — feel free to write your own version, or to disagree and close the issue. It's your game.
建议的顺序
从上往下做,前面几条性价比最高:
|
Issue |
为什么值得先做 |
| 1 |
#1 🐛 坦克血量是 NaN |
是个真 bug,一行代码就能修,而且修完坦克玩法整个活过来 |
| 2 |
#2 ⭐ 新玩家的前 60 秒 |
效果最明显的一条。改完之后,新玩家只按住 W 就能打到第一个击沉 |
| 3 |
#3 ⏸ 面板暂停 |
你的主循环已经支持了,加一个判断的事 |
| 4 |
#4 🎚 难度选择 |
简单模式让新手活得下来 |
| 5 |
#5 🛒 商店分类 |
121 个物品分成 5 页 |
| 6 |
#7 🌏 中英双语 |
工作量最大的一条,但对中文玩家门槛降得最多 |
| 7 |
#6 💾 战局存档 |
玩到一半关浏览器不用重来 |
| 8 |
#8 ⚙️ 设置面板 |
音量、精简 HUD、家长模式 |
| 9 |
#10 🧹 两个工程问题 |
合并重复代码 + three.js 本地化 |
| 10 |
#9 📱 触屏支持 |
iPad 上能玩 |
我们改完之后的效果
一个全新玩家(清空浏览器存档):
- 菜单默认中文、默认简单难度、驱逐舰上有「★ 新手推荐」徽章
- 点开驱逐舰 → 立刻在舵位上,船上 2 门炮会自动开火,血量 420(简单难度 +50%)
- 全程只按住 W,约 60 秒击沉第一艘敌舰,教学自动推进到「按 Tab 打开军械库」
- 打开商店时战斗冻结,可以慢慢挑
- 中途关掉浏览器,下次菜单上有「▶ 继续上次战局」
改完的版本在这里,随便玩:https://github.com/longmaolab/irontide
English: Suggested order — start with #1 (a real one-line bug fix that brings tank gameplay back to life) and #2 (by far the biggest win: a new player holding W alone gets their first kill in about a minute). After our changes, a brand-new player spawns already at the helm with two auto-firing guns, sinks their first enemy in ~60 seconds, can browse the shop with the war frozen, and can close the browser and click "continue last war" next time. Try it at https://github.com/longmaolab/irontide
先说一句:Iron Tide 真的做得很厉害。 一个 HTML 文件里塞下了 8 种军舰、40+ 种飞机、17 种坦克、31 关战役、会自己买武器升级的 AI 舰队、损管系统、天气系统、还有一个会给你出主意的舰载 AI 挂件——而且它跑起来又稳又流畅。很多大人写不出这个。
我们(爸爸 + Claude)把它 fork 到 https://github.com/longmaolab/irontide 试着改了一版,目标只有一个:让第一次打开游戏的小朋友也能在两分钟内玩得开心。改完实测:一个全新玩家点开驱逐舰之后,什么都不用学,只按住 W,一分钟左右就能击沉第一艘敌舰。
下面这些 issue 是我们改的过程中发现的问题和想法。每一条都附了我们 fork 里对应的实现,你可以:
都可以,这是你的游戏,你说了算。 有任何一条你觉得"不对,我不想这样设计",那就不做——把理由写在 issue 下面,或者直接把它关掉,都行。那本身就是很棒的产品判断。
English: Iron Tide is genuinely impressive — 8 warships, 40+ aircraft, 31 campaign theaters, an AI fleet that buys its own weapon upgrades, damage control, weather, and a helpful ship's-AI widget, all in one HTML file that runs smoothly. We forked it at https://github.com/longmaolab/irontide to try lowering the barrier for first-time players. These issues describe what we found. Each links to our implementation as a reference — feel free to write your own version, or to disagree and close the issue. It's your game.
建议的顺序
从上往下做,前面几条性价比最高:
我们改完之后的效果
一个全新玩家(清空浏览器存档):
改完的版本在这里,随便玩:https://github.com/longmaolab/irontide
English: Suggested order — start with #1 (a real one-line bug fix that brings tank gameplay back to life) and #2 (by far the biggest win: a new player holding W alone gets their first kill in about a minute). After our changes, a brand-new player spawns already at the helm with two auto-firing guns, sinks their first enemy in ~60 seconds, can browse the shop with the war frozen, and can close the browser and click "continue last war" next time. Try it at https://github.com/longmaolab/irontide