Vibe Coding Unreal Engine with VS Code
I created a three-part video series on YouTube, wherein I develop an Inventory and Crafting system utilizing Visual Studio Code and GitHub Copilot.
The C++ Experience - Smooth Sailing
The sections dedicated to constructing the C++ code went well. I produce a Markdown file that delineates the intricate design of our project, subsequently employing AI to seamlessly generate the code. There are instances in which I refine the Markdown file prior to drafting the code, this prevented the AI from drifting from my design and produced very few bugs.
My Workflow:
- Design in Markdown - Create detailed design documents
- AI Generation - Use GitHub Copilot to generate code from design
- Iterative Refinement - Adjust markdown before code generation
- Minimal Debugging - Clean design = clean code
The UMG Challenge - Learning Experience
Conversely, my experience with UMG Widgets was not as straightforward. I initially designed them in Blueprint within Unreal, only to encounter the challenge of integrating them through code without detailed Markdown files to assist the AI. In retrospect, this decision proved to be a setback that likely cost me an additional 90 minutes contending with bugs.
Lessons Learned:
- Design First - Always create comprehensive design documents
- Avoid Manual Configuration - “No Code” solutions can be barriers to AI assistance
- Consistency is Key - Maintain the same workflow across all development phases
Future Improvements
I’m going to install some Unreal Engine MCP tools, hoping that they will enhance my work with UMG Widgets and Blueprints. Currently, the most considerable obstacle I encounter with Vibe Coding is the relentless barrier posed by “No Code” solutions impeding my progress. The manual configuration process is both laborious and tedious.
Watch the Series
I encourage you to explore the Playlist containing the videos!
🎥 YouTube Playlist
The Most Important Lesson
Halfway through the 3rd part I pause to go to the beach with my girlfriend. That’s probably the most important lesson: Get away from the computer.
This experience led to the creation of VibeUE, a tool specifically designed to make Unreal Engine development more AI-friendly. Stay tuned for more vibe coding experiments!