Skip to content

gregorik/CodeForge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Design Unreal C++ architecture visually. Generate clean native code. No cloud, no AI guesswork, no Blueprint runtime dependency.
CodeForge is a structured C++ architecture/codegen tool for developers who want predictable Unreal boilerplate, not natural-language generation.
Why it exists:

  • Clear pain point: Unreal C++ macros, includes, replication, RPCs, delegates, and UHT boilerplate are tedious and error-prone.
  • Offline/deterministic is a real differentiator in a market getting crowded with AI assistants.
  • Visual graph plus live preview is great for speed and productivity.
  • The RPG Starter Kit gives a concrete proof path: generated/preserved runtime files, demo map, automation proof, and working gameplay loop.
  • It can appeal to solo devs, technical designers, educators, Blueprint users learning C++, and teams standardizing class scaffolding.

Watch it in action: v0.1

Update video: v0.2

Read the manual

Read the docs of the RPG Kit Example Project

Get the more advanced Pro version.

Discord support

CodeForge0

CodeFixed


If you have consulting and/or custom pipeline integration in mind: I offer dedicated architecture consulting for production games & projects. 📬 Please contact me or see my extended portfolio. 👨‍💻

CodeForge (Core) is a node-based visual programming toolkit for Unreal Engine 5. Its core features are the following:

  • Visual Data Modeling: Provides a native UEdGraph UI where users can visually define Classes (UCLASS), Structs (USTRUCT), Enums (UENUM), Interfaces (UINTERFACE), and Delegates without touching an IDE.

  • Zero-Dependency Code Generation: It features a bespoke, ~500 LOC string-based template engine (FCodeForgeTemplateEngine) that parses .cft files. It translates the visual schema into completely UBT-compliant .h and .cpp files.

  • Robust Boilerplate Handling: It excels at generating boilerplate that is tedious to write manually. It automatically handles UPROPERTY / UFUNCTION specifiers (via checkbox UI), and fully scaffolds Multiplayer/Replication logic (auto-generating GetLifetimeReplicatedProps, DOREPLIFETIME, Implementation stubs for RPCs, and OnRep callbacks).

  • Logic Injection: The recent RPG Starter Kit updates prove it can now accept raw C++ logic (FunctionBody, ConstructorBody) directly from the UI, generating playable source code rather than just empty headers.

  • Validation & UX: Real-time graph validation flags errors (e.g., duplicate names, invalid specifier combos) natively on the nodes. It supports drag-and-drop from the Content Browser, and seamlessly triggers Unreal's Live Coding or prompts for editor restarts depending on whether a change is "structural" or "behavioral."

  • No External Dependencies: By writing a custom C++ template engine rather than relying on an external library or language (like Python), CodeForge is completely self-contained. It is 100% offline and deterministic.

  • Native Integration: By making UCodeForgeBlueprint a standard UAsset and utilizing the standard UEdGraph, the plugin inherently inherits Epic's native undo/redo operations, Details Panel reflection, saving mechanisms, and source control compatibility.

  • Test-Driven: The CodeForgeRuntime and CodeForgeEditor modules are backed by a robust suite of UE5 Automation Tests covering template substitutions, conditionals, module scanning, and validation rules.

  • Separation of Concerns: The 4-layer architecture (Graph UI → Schema Model → Template Engine → Template Text) ensures that when Epic updates Unreal Engine macros in the future, the developer only needs to edit plaintext .cft files, without recompiling the core plugin.

  • The primary market is intermediate Unreal developers who understand Blueprints but are intimidated by C++ syntax, header/source splitting, and #include rules. CodeForge acts as training wheels, outputting best-practice C++ they can study and extend.

  • The Power User Pitch (Scaffolding): For senior developers, writing DECLARE_DYNAMIC_MULTICAST_DELEGATE or setting up GetLifetimeReplicatedProps takes time. CodeForge reduces a 10-minute IDE chore to a 10-second node connection.

  • Vs. AI Competitors: Other tools on the market (like BP2AI or Node Code Editor) rely on ChatGPT/Claude APIs. They require internet connections, cost API credits, and suffer from LLM hallucinations. CodeForge's "Deterministic, Offline, Zero-Cost" angle is a massive USP.

  • The Playable Showcase: The inclusion of the "RPG Starter Kit" Example (which generates a playable Character with health, damage, and inventory using console commands) gives the product immediate street cred. This isn't just a toy: it outputs real, compiling gameplay logic out of the box.

More info to come.

About

CodeForge Core: Node-based visual programming plugin for UE5. Build UE classes, structs, interfaces, RPCs, delegates, and replication in a visual graph, then generate clean UHT-compliant C++ source you fully own. Offline, deterministic, template-driven.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors