我的目标是一个 Total War 风格的即时战略游戏,主题为万圣节:大规模阵形战斗、士气与溃败、战场上数千单位。我把原始规格交给 Claude Opus,它 surprisingly 为我构建了一个相当稳固的原型。
Play it here: https://battleforhalloween.tripgeo.com/
Play it here: 在这里玩:https://battleforhalloween.tripgeo.com/
What's in it so far
The main showcase is Castle Siege. You defend Dawnspire, a seven-tier walled citadel, from afternoon until dawn against the Hallowhost, who bring ladders, rams, siege towers and pumpkin trebuchets, and later werewolves, witches, titans and the Headless King.
主要展示是 城堡攻坚。你在从下午到黎明之间,在七层城墙的晨光堡(Dawnspire)防御 Hallowhost,他们带来梯子、 battering rams、攻城塔和南瓜投掷机,随后还有狼人、女巫、巨人和无头国王。
It's a long game, so if you just want to see what it can do, try Watch a Battle and let the AI armies fight it out while a cinematic camera follows the action. There are also plenty of shorter modes: Quick Battle, Scenarios, a Daily Battle, Endless Night and Sandbox.
这是一款时长较长的游戏,如果你只想快速了解它的能力,可以 观看一场战斗,让 AI 军队相互交战,同时电影级摄像机跟随动作。还有很多更短的模式:快速战斗、场景、每日战斗、永夜 and 沙盒。
How it came together
-
Testing found some odd movement bugs. Cavalry did cartwheels and some formations spun on the spot. Those are fixed, and I added more flaming projectiles while I was at it.
-
测试发现了一些奇怪的移动 bug。骑兵会做翻转动作,有些部队原地旋转。这些已经修复,同时我也增加了更多火焰投射。
-
Better unit control. You can now drag the mouse to set a unit's facing, and move multiple units as a group.
-
更好的单位控制。现在可以拖动鼠标设置单位的面向,并可同时移动多个单位。
-
Balance. Once the mechanics worked, Claude played a few hundred AI-vs-AI games across the factions and tuned them until they were roughly even, then reworked the difficulty levels.
-
平衡。在机制可用后,Claude 进行了几百场 AI 对 AI 的对战,并在不同派系之间进行微调,使其大致均衡,随后重新调整了难度等级。
My takeaway: Opus does a good job overall, as long as you oversee it, test everything, and keep refining the mechanics yourself.
我的体会:Opus 整体做得不错,只要你进行监督、测试所有内容,并亲自持续优化机制。
Tech
Blazor WebAssembly for menus and data, a custom JavaScript simulation engine, and three.js with WebGPU (it falls back to WebGL 2). It runs best on desktop Chrome or Edge. There are no touch controls yet.
技术
Blazor WebAssembly 用于菜单和数据,自定义的 JavaScript 仿真引擎,以及 three.js 与 WebGPU(回退至 WebGL 2)。在桌面 Chrome 或 Edge 上运行效果最佳。目前尚未支持触控操作。
Feedback welcome
I'd love to hear about:
-
Difficulty: Trick is easy, Fright is a fair fight
-
难度:Trick 很容易,Fright 公平交战
-
Performance on your hardware
-
硬件上的性能
-
What you'd want from a full Total War-style version
-
你对完整的 Total War 风格版本有什么期望
How long can you hold the walls? 🎃
你能撑住城墙多久? 🎃
评论 (0)