Ai to help make rpg game

I just found this site and I have no idea what im doing, not how to set up ai or get model or what ai I need that will vibe code a 3d rpg with me???

Any help greatly appreciated :clap:

1 Like

3D RPGs are a nightmare not just for coding but also for creating resources, but let’s set that aside for now…

To set up a vibe-coding environment, the easiest approach is to use one of the existing frameworks, find the free tier of a major commercial AI generation service, and integrate it into the framework.
However, this won’t work in environments without internet connectivity, and exceeding the free tier may result in expensive usage fees. Additionally, there may be cases where you don’t want to share development information with an online service.

In any case, there are many scenarios where it would be convenient to use AI entirely locally.

Hugging Face provides models that can be run locally on your own PC, so deploying them on your own PC enables vibe coding using those models. However, GPUs are very expensive, so just using cloud services are often easier in many cases. It is a good idea to consider various options according to your budget and use cases.

Examples of Coding Assistant Frameworks

thank you, I had the same question

1 Like

I was in the same situation at the start and the honest answer is there isn’t an AI that will just build a full 3D RPG with you from scratch. What actually works is using AI as a helper, not the main tool.

Pick a game engine first and follow a basic tutorial, then use AI to help with scripts, fixing errors, and explaining things you don’t understand. Starting with a smaller project is way better, because trying to jump straight into a full RPG usually gets overwhelming fast.

To build on the excellent points made by John6666, I would suggest a structured approach for those just starting their journey into AI-assisted development.

A first step is securing a professional subscription to either Google Gemini, OpenAI, or Claude Code all of which are around the $20 monthly mark. After subscribing, install the respective CLI clients for your system to bridge the gap between the AI and your local environment.

Set up a GitHub account, if not already done. Create a fine-grained API key within the account settings to provide to the agent. This enables the AI to handle GitHub pushes and commits directly, which can make the workflow easier and more automated.

For a first build, start with Python and Pygame. Have the CLI agent guide through a simple project, such as a Pong remake or a bullet hell scroller. The goal is to fully flesh out that simple project.

In coding projects, remember the 90/90 rule: when you think you are 90% done, you still have 90% to go.


Quick Start: Installing AI Agent Tools (Windows) <-assumption

The most current way to use these models on Windows is through their official desktop applications or CLI tools. Modern tools like Codex and Claude Code now favor browser-based OAuth, which means no more searching for API keys.

1. OpenAI Codex (Desktop App & CLI)

OpenAI has shifted toward the Codex Desktop App as the primary command center for Windows. It includes a built-in terminal and better visual diffing than a standard CLI. [1, 2, 3]

  • Install App: Download directly from the Microsoft Store.

  • Install CLI (Optional): If the terminal is preferred, run npm install -g @openai/codex in PowerShell.

  • Authenticate: Open the app or run codex login in the terminal. The browser will open to sign in via the ChatGPT account.

2. Claude (Anthropic) CLI

Claude Code is a high-speed agent that lives in the terminal.

  • Install: Open PowerShell and run:

    npm install -g @anthropic-ai/claude-code
    
    
  • Authenticate: Type claude and press Enter. It will provide a link to authenticate via the browser.

3. Google Gemini CLI

Google provides a dedicated CLI for interacting with the Gemini 1.5 Pro and Flash models.

  • Install: Run the following command:

    npm install -g @google/gemini-cli
    
    
  • Authenticate: Run gemini login to sign in through a Google account in the browser.


Pro Tip: If any of these npm commands fail, ensure the latest LTS version of Node.js is installed from nodejs.org.

To make your life easier, you’ll want to give your agent a Fine-Grained Personal Access Token (PAT). This is more secure than old-school tokens because you can limit the agent’s access to only the specific projects it needs to work on.


Step-by-Step: Creating a GitHub Fine-Grained Token

  1. Go to Settings: Log in to GitHub, click your profile picture in the top right, and select Settings.

  2. Developer Settings: On the left sidebar, scroll all the way to the bottom and click Developer settings.

  3. Personal Access Tokens: Click Personal access tokens > Fine-grained tokens.

  4. Generate New Token: Click Generate new token. You may be asked to confirm your password.

  5. Configure the Basics:

    • Token name: Give it a name like AI-Agent-CLI.

    • Expiration: Set this to 90 days (or whatever you’re comfortable with).

    • Description: “Token for AI CLI agent to manage pushes and commits.”

  6. Repository Access:

    • Select Only select repositories.

    • Pick the specific repository you are using for your game (e.g., your Pong or Bullet Hell repo). This ensures the AI can’t touch your other projects.

  7. Permissions: Click the Permissions dropdown and set the following under Repository permissions:

    • Contents: Set to Read and write (This allows the agent to commit and push code).

    • Metadata: Set to Read-only (Usually set by default).

    • Workflows: Set to Read and write (Optional—only if you want the AI to manage GitHub Actions).

  8. Generate: Scroll to the bottom and click Generate token.

:warning: Important: Copy that token immediately and save it in a secure place (like a password manager). GitHub will never show it to you again.


Happy Coding :smiling_face_with_tear: