Starfall 是一个在浏览器中运行、完全由 AI 从单一提示生成的过程化宇宙即时战略游戏,灵感来自《家园》系列。

Stars

47

7 天增长

暂无数据

Fork 数

10

开放 Issue

0

开源协议

MIT

最近更新

2026-07-28

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它展示了 AI 驱动的游戏开发前沿:从单一提示生成复杂游戏,无任何图片资源,运行时生成所有视觉内容,首次运行成本约 633 美元。

适合谁使用

  • 对 AI 辅助游戏生成感兴趣的开发者
  • 《家园》系列及太空 RTS 爱好者
  • 探索 WebGL 过程化内容生成的技术人员
  • AI 代码生成领域的研究者

典型使用场景

  • 在浏览器中体验完全过程化的太空 RTS
  • 研究如何从单一提示构建复杂游戏
  • 参考契约优先架构在游戏开发中的应用
  • 学习过程化船体及环境生成的实现

项目优势

  • 无图片资源:所有视觉内容通过代码运行时生成
  • 13 种飞船类别,带有详细的过程化船体和表面
  • 受《家园》启发的三维移动和舰队管理
  • 解耦仿真与渲染,通过实例化网格和假冒体实现高性能

使用前须知

  • 需要支持 WebGL 2 的浏览器;复杂场景可能要求高系统性能
  • 目前仅有一个 AI 对手,缺少多人模式或多场景
  • 首次运行成本 633 美元,表明生成过程计算开销大

README 快速开始

Starfall

A Homeworld-style, universe-scale space RTS that runs in a browser.

▶ Play it · the prompt it came from · build thread


Written by Claude Opus 5 driving a multi-agent workflow, from a single prompt. No design document, no asset list, no architecture was specified up front — the prompt is reproduced in full in prompt.md.

First run: ~$633 — 68.6k input tokens, 4.6M output, 837.2M cache read, 13.6M cache write.

There are no image files

Not one, anywhere in the build. Every hull, texture, planet, star field, nebula and effect is generated at runtime from code:

  • Hulls are lofted from authored cross-sections, then dressed by a budget-driven pass that spends its remaining triangle allowance on plate steps, greebles, catwalks and window rows sampled off the lofted skin. A density field decides where detail must be absent, because the difference between a warship and a noise field is that a warship has quiet armour to contrast against its machinery.
  • Surfaces are triplanar procedural detail at three scales — armour blocks, plating, rivets — with the tile size scaling to hull radius, so a 2.1 km mothership is not panelled in the same 6 m plates as a 27 m interceptor.
  • Planets are fBm noise with an atmosphere shell; the sky is a procedural nebula baked to a cube map, which then feeds the PMREM environment lighting, so the ships are genuinely lit by the sky they sit in.

The only imported assets are audio, and all of it is CC0 — see the in-game credits (CREDITS in the top bar, or F1).

What is in it

  • Thirteen ship classes, from a scout to a two-kilometre mothership
  • Three-dimensional movement with the Homeworld move disc: right-drag vertically to dial the altitude of an order
  • Formations, stances, control groups, a fleet roster bar, band select and hull-accurate picking
  • Production, research, resource harvesting and an opponent AI
  • Drive plumes with shock diamonds, wakes that curve through a manoeuvre, ion lances, kinetic tracers, shields and multi-stage detonations
  • A streamed score that follows the intensity of the fight

Running it

npm install
npm run build     # tsc --noEmit && vite build
npm run preview   # serves dist on :4173

Needs a br

项目描述

A Homeworld-style, universe-scale space RTS in the browser. Written by Claude Opus 5 from a single prompt. Procedural hulls, planets and effects — no image assets.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

Jakubantalik
精选
Jakubantalik GitHub avatar

thinking-orbs

A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.

AI 与机器学习AI 智能体
1,191
makecindy
精选
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI 与机器学习大语言模型
958
mereyabdenbekuly-ctrl
精选
mereyabdenbekuly-ctrl GitHub avatar

clodex-ide

Clodex is an open-source, local-first agentic IDE that combines persistent AI tasks, code, terminal, browser, Git, models, memory, and governed execution in one Electron workspace, currently in technical preview.

AI 与机器学习AI 智能体
859