c

완전한 Godot 게임을 만드는 AI

📌 핵심 요약

Godogen은 텍스트 프롬프트를 기반으로 2D/3D 자산을 생성하고, GDScript를 작성하여 완전한 Godot 4 프로젝트를 만드는 파이프라인입니다.

📰 상세 내용

Godogen은 1년 동안 네 번의 주요 재작성 과정을 거쳐 개발되었습니다. 이 시스템은 LLM(대형 언어 모델)이 GDScript를 신뢰성 있게 생성하도록 하기 위해 세 가지 기술적 병목 현상을 해결했습니다. 첫째, GDScript에 대한 훈련 데이터 부족 문제를 해결하기 위해 맞춤형 참조 시스템을 구축했습니다. 둘째, 빌드 타임과 런타임 상태의 차이를 극복하기 위해 헤드리스 스크립트를 사용하여 노드 그래프를 메모리에서 생성하고 직렬화합니다. 셋째, 코드 출력에 대한 편향을 방지하기 위해 별도의 Gemini Flash 에이전트를 사용하여 시각적 품질 보증을 수행합니다.

💡 시사점

이 기술은 게임 개발의 자동화를 가속화하고, 개발자들이 더 창의적인 작업에 집중할 수 있도록 도와줄 것입니다.

🔗 원문 보기💬 HN 토론 (98)⬆️ 158점📰 출처: HackerNews (MIT License)

📄 Original (English)

Show HN: Claude Code skills that build complete Godot games

I’ve been working on this for about a year through four major rewrites. Godogen is a pipeline that takes a text prompt, designs the architecture, generates 2D/3D assets, writes the GDScript, and tests it visually. The output is a complete, playable Godot 4 project.

Getting LLMs to reliably generate functional games required solving three specific engineering bottlenecks:

1. The Training Data Scarcity: LLMs barely know GDScript. It has ~850 classes and a Python-like syntax that will happily let a model hallucinate Python idioms that fail to compile. To fix this, I built a custom reference system: a hand-written language spec, full API docs converted from Godot's XML source, and a quirks database for engine behaviors you can't learn from docs alone. Because 850 classes blow up the context window, the agent lazy-loads only the specific APIs it needs at runtime.

2. The Build-Time vs. Runtime State: Scenes are generated by headless scripts that build the node graph in memory and serialize it to .tscn files. This avoids the fragility of hand-editing Godot's serialization format. But it means certain engine features (like `@onready` or signal connections) aren't available at build time—they only exist when the game actually runs. Teaching the model which APIs are available at which phase — and that every node needs its owner set correctly or it silently vanishes on save — took careful prompting but paid off.

3. The Evaluation Loop: A coding agent is inherently biased toward its own output. To stop it from cheating, a separate Gemini Flash agent acts as visual QA. It sees only the rendered screenshots from the running engine—no code—and compares them against a generated reference image. It catches the visual bugs text analysis misses: z-fighting, floating objects, physics explosions, and grid-like placements that should be organic.

Architecturally, it runs as two Claude Code skills: an orchestrator that plans the pipeline, and a task executor that implements each piece in a `context: fork` window so mistakes and state don't accumulate.

Everything is open source: https://github.com/htdt/godogen

Demo video (real games, not cherry-picked screenshots): https://youtu.be/eUz19GROIpY

Blog post with the full story (all the wrong turns) coming soon. Happy to answer questions.

|
댓글을 작성하시려면 로그인이 필요합니다.

AI

+
제목 글쓴이 날짜 조회
3시간 전 조회 10
15시간 전 조회 27
23시간 전 조회 38
어제 조회 49
어제 조회 41
어제 조회 47
어제 조회 25
어제 조회 31
어제 조회 68
어제 조회 58
2일 전 조회 63
2일 전 조회 73
6일 전 조회 93
1주 전 조회 75
1주 전 조회 67
1주 전 조회 80
1주 전 조회 117
2주 전 조회 195
2주 전 조회 164
2주 전 조회 206
2주 전 조회 350
2주 전 조회 159
2주 전 조회 235
2주 전 조회 148
3주 전 조회 239
3주 전 조회 266
3주 전 조회 221
4주 전 조회 159
1개월 전 조회 178
1개월 전 조회 155