LLM Agent Builds Complete Godot 4 Dungeon Crawler Using Visual Feedback

A developer demonstrated an LLM agent autonomously building a complete dungeon crawler game in Godot 4 using visual feedback. The agent was connected to the Godot editor via an MCP tool the developer is building.
What the Agent Built
With a single prompt to "build a dungeon crawler FPS using Kenney's dungeon kit," the agent created:
- 3 rooms connected by corridors
- Atmospheric torch lighting with particles
- FPS controls with head bob
- Sword combat system
- 4 enemy types with pathfinding
- Wave-based enemy spawning system
- Loot drops
- XP progression mechanics
- Game over screen
Key Technical Details
The project consisted of approximately:
- 300 nodes
- 11 scripts
- 1500 lines of GDScript
The game ran successfully on the first F5 execution, producing a playable prototype.
Visual Feedback Loop
The significant aspect wasn't just code generation—any LLM can write code. What made this different was the agent's ability to:
- Run the game and take screenshots
- Visually identify problems and fix them
- Notice torch particles were too bright for the fog and adjust the environment
- See orcs clipping through walls and tweak navigation settings
- Check chest UI layout visually for proper positioning
This approach represents a shift from pure code generation to integrated development where the agent can test and iterate based on actual game output.
📖 Read the full source: r/LocalLLaMA
👀 See Also

GrapeRoot Pro Adds Undo Shield to Prevent Claude Code from Deleting Your Project
After Reddit reports of Claude Code deleting entire projects, GrapeRoot Pro introduces an Undo Shield that watches Claude's session graph and blocks destructive commands like rm -rf on heavily edited files.

General Bots: Open-source AI agent platform for self-hosted enterprise automation
General Bots is an open-source platform started in 2019 that provides AI agents, workflow automation, document processing, and integrations with local AI model support, designed for organizations needing full control over their infrastructure.

Routerly: Self-Hosted LLM Gateway with Runtime Routing Policies and Budget Control
Routerly is a free, open-source, self-hosted LLM gateway that provides runtime model selection based on routing policies like cheapest, fastest, or most capable, along with project-level budget limits with per-token tracking. It's OpenAI-compatible for drop-in use with tools like Cursor, LangChain, and Open WebUI.

Claude AI Product Launch Skill: Structured Playbooks for AI Product Launches
A free Claude skill provides six battle-tested launch playbooks covering strategy, preparation, messaging, and channel execution for AI product launches. The repository includes English and Chinese materials organized by launch stage.