Skip to content
View original post on X: MindHash
Published

MindHash publishes a beginner’s guide to building 2D games with RYFT

AIMindHash publishes a beginner’s guide to connecting an AI app to RYFT Engine through MCP and building a 2D game in the browser. The guide says coding, file uploads and testing cost zero RYFT credits; credits are used when the engine generates art, music, sound or 3D models.
MindHashVerified on X
@MindHash777
View on X

My last article: 110k views and counting. The #1 question: “how do I start?”

Here’s the beginner guide: connect your AI to @RYFTCORP, build your first 2D game, plus 20 tips that saved me hours.

No servers, no hosting. You talk, your AI builds.

$RYFT https://x.com/i/article/2121413998100799488

RYFT ENGINE MCP guide for beginners. Build your dream 2D game, step by step.

My last article, "I built a full 8-player 2D strategy game on RYFT Engine. It was live in 76 hours.", just passed 110,000 views, with more than 300 likes, 45 reposts and 23 replies.

Thank you for every like, repost and reply. I read all of them.

Most of the replies asked the same three things:

- How do I start?

- What is the best way to use RYFT?

- How did you actually build The Great Ryftening?

This article answers all three. You don't need to know how to code. I'll explain every step like you're five, and I'll give you the exact messages to copy and paste.

By the end you will have your own AI connected to RYFT Engine and your first 2D game running in the browser.

One note before we start. I built The Great Ryftening with Claude Opus 5.5, and everything in this guide is battle-tested on 2D. Every step and every tip comes from those 100 hours.

Connecting and talking to your AI works the same for 2D and 3D. Everything from "Your first game" onward is battle-tested on 2D only. I'm building a 3D game on RYFT right now, and once it ships it gets its own guide with all the 3D tips, engine limits and workarounds I found along the way.

What is MCP? (Explained like you're five)

MCP stands for Model Context Protocol. Forget the name. Think of it as a USB cable between your AI and RYFT.

Without the cable, your AI can only talk. It writes code in a chat window. You copy it somewhere, run it, find the errors, paste them back, and repeat. All day.

With the cable, your AI gets hands. It can create a game on RYFT, write the files, build it, open it, press the keys, look at screenshots, fix what is broken and save it. You only say what you want.

Here is another way to picture it:

- RYFT is a workshop full of tools.

- MCP is the key to the door.

- You hand the key to your AI, and it walks in and uses every tool for you.

You are the boss. The AI is the builder. RYFT is the workshop.

That's the whole idea. There is nothing to install and no API key to copy. You paste one link and sign in.

Why build through MCP?

RYFT has its own AI chat built into the engine, and it works. I started The Great Ryftening there. But once the game got big, I moved to MCP and never went back. Here is why.

1. You use the AI you already pay for. Claude, ChatGPT, Cursor, whatever you like. Writing code, uploading your own files and testing cost zero RYFT credits. You only spend credits when the engine generates art, music, sound or 3D models for you. That is how a full 8-player game cost me $370 in total.

2. The AI reads the manual by itself. RYFT gives it a full engine guide through the connection. It does not guess how the engine works. It looks it up.

3. The AI tests its own work. It builds the game, opens it, presses real keys and looks at the screenshots. You get a game that already runs, not a wall of code.

4. RYFT does all the boring parts. Hosting, servers, multiplayer rooms, saves, publishing. I never touched a server. Every hour went into the game itself.

5. Every save is a version. If the AI breaks something, you roll back with one sentence.

6. One link plays everywhere. When you publish, the game runs in the browser, inside X and inside Telegram. No download.

Short version: you bring the idea and the AI. RYFT brings the engine, the servers and the players.

What you need before you start

Four things. You probably have three of them already.

1. A RYFT account. Sign up at ryft.fun. You don't need an API key.

1. An AI app that supports MCP. Claude, ChatGPT, Claude Code, Codex, Cursor and Gemini CLI all work. If you have never used a terminal, pick Claude or ChatGPT. You only click buttons there.

1. A game idea. One sentence is enough. "A farmer catches falling apples" is a perfectly good start.

1. Optional: a few RYFT credits. Only needed when you want the engine to generate art, music, sound effects or voices. Code is free.

One honest tip: a paid AI plan helps a lot. Building a game is a long conversation, and free plans run out of messages fast. I built The Great Ryftening with Claude Opus 5.5 on a $200 Claude plan. Use the strongest model you can get. It makes fewer mistakes and keeps a bigger game in its head.

Connect your AI to RYFT, step by step

RYFT has a setup page with a copy button for every AI app: ryft.fun/create/mcp

You can also find it inside RYFT: open Create Game and click "Check out MCP support".

The link you connect to is always the same:

https://ryft.fun/mcp

Pick your app below. You only need one.

Claude (the app or claude.ai)

This is what I use.

1. Open Settings, then Connectors.

1. Click "Add custom connector".

1. Name it Ryft and paste https://ryft.fun/mcp. Click Add, then Connect.

1. A RYFT page opens. Sign in with your RYFT account.

1. Review the permissions and click Allow.

One extra step so Claude can download and test your game:

1. Open Settings, then Capabilities.

1. Turn on "Code execution and file creation".

1. Turn on "Allow network egress". If it asks for specific domains, add these three: ryft.fun, *.ryft.fun and 148ed6405156d747c129c54754ff3d8b.r2.cloudflarestorage.com

The first two are RYFT itself. The third is where RYFT stores images and audio.

ChatGPT

1. Open Plugins, click +, then "Add custom MCP server".

1. Name it Ryft, paste https://ryft.fun/mcp and choose OAuth.

1. Sign in with your RYFT account and allow access.

If your workspace uses Apps, turn on developer mode and go to Apps, then Create.

Claude Code

Run this in your terminal:

claude mcp add --transport http ryft https://ryft.fun/mcp

Then open Claude Code, type /mcp and sign in to RYFT.

Codex

Run these two lines in your terminal:

codex mcp add ryft --url https://ryft.fun/mcp

codex mcp login ryft

Finish the sign-in in your browser, then start a new Codex session.

Cursor

Add this to the file ~/.cursor/mcp.json:

{ "mcpServers": { "ryft": { "url": "https://ryft.fun/mcp" } } }

Then open Cursor settings, go to Tools & MCP and connect Ryft.

Gemini CLI

Run this in your terminal:

gemini mcp add --transport http ryft https://ryft.fun/mcp

Then start Gemini CLI, type /mcp auth ryft and sign in.

Any other AI app

If it supports remote MCP servers with sign-in (OAuth), add https://ryft.fun/mcp as a new server. That's it.

Check that it worked

Start a new chat and send this:

List my games on RYFT.

If the AI answers with your games, or tells you that you have none yet, you are connected.

Two things to know about permissions

- On the Allow screen you choose what the AI may do. Publishing is one of the choices. Leave publishing off at the start. The AI can still build and test everything, and you press Publish yourself when the game is ready.

- You can disconnect any app at any time. Go to ryft.fun/create/mcp and look under "Connected apps".

Your first game in six steps

From here on, everything is 2D.

You are connected. Now let's build something. Follow these six steps exactly once, and you will understand the whole process.

Step 1: Send your first message

Copy this, change the idea to yours, and send it:

Read the RYFT game dev guide first. Then make a simple 2D game on RYFT: I am a farmer who catches falling apples in a basket. Move with the arrow keys or WASD, and make it playable on a phone too. One round lasts 60 seconds and the score is always on screen. Build it, test it yourself in the browser, show me a screenshot and give me the preview link. Do not publish.

Look at what this message does. It has five parts, and every good first message has them:

- "Read the guide first" so the AI learns the engine before it writes anything.

- What the game is in one or two sentences.

- How you control it, on keyboard and on a phone.

- "Build it, test it, show me" so you get proof, not promises.

- "Do not publish" so nothing goes live without you.

Step 2: Wait a few minutes

The AI now works on its own. It reads the guide, creates the game, writes the code, saves it, builds it and plays it. You will see it calling RYFT tools one after another. That's normal. Let it finish.

Step 3: Play it yourself

The AI gives you a private preview link. Open it and play. You can also open ryft.fun, go to My Games and find the game there.

Step 4: Give feedback like a player

You don't need technical words. Say what you felt while playing:

The basket is too slow. After 30 seconds the apples fall too fast to catch. Add a golden apple that is worth 5 points.

Step 5: Repeat

Play, say what is wrong, let the AI fix it, play again. This loop is the whole job. The Great Ryftening is this loop repeated more than 760 times.

Step 6: Publish when it is fun

Not when it is finished. When it is fun. Open the game on RYFT and press Publish, or tell the AI to do it if you gave it that permission. You get one link that plays in the browser, on X and in Telegram.

What to ask your AI: copy and paste these

Save this section. These are the messages I use most, grouped by stage.

Before you build

Before you write anything, read the RYFT dev guide. Then tell me in plain words what the engine can and can't do for this idea: [your idea]

Ask me up to 5 questions about my game before you start.

Write a one-page plan: what the player does every minute, the controls, how you win and how you lose. Wait for my OK before building.

Building

Build the smallest playable version first. One level, simple shapes as placeholder art.

Save a draft after every working change, with a short message that says what changed.

Change only the jump. Don't touch anything else.

Explain in plain words what you just changed and why.

Testing

Build it, open it in the browser, play for 60 seconds with real key presses and show me the screenshots. Tell me what you could not test.

Test it on a phone-sized screen with touch controls.

Try this idea in a test build first. Don't save it until I say so.

Art, music and sound

Check the generation options and tell me the credit cost before you generate anything.

Generate a sprite sheet for the main character: 4 directions, a walk animation, pixel art, same style as the rest of the game.

Add background music and five sound effects: jump, coin, hit, win and lose.

Generate a voice line for the boss when he appears.

I'm uploading my own image. Add it to the game as the background.

Fixing bugs

When I jump twice quickly, the player falls through the floor. Reproduce the bug first, then fix it, then show me proof that it is fixed.

Here is a screenshot. The part I circled looks wrong. What is it, and can you fix it?

Check the incident reports for my game and tell me what is crashing for players.

That change made it worse. Restore the previous version.

Multiplayer

Make this a multiplayer game for up to 4 players using RYFT's built-in multiplayer. Read both multiplayer guides completely before you code. Then test it with two players in a private lobby.

What happens if a player joins in the middle of a round? What happens if the host leaves? Test both and show me.

Publishing

Write the game description, pick the genres and set a thumbnail.

Run the publish review and list everything that still blocks publishing.

Give me the public link to my game.

When the chat gets long

Write a handoff note: what the game is, what is done, what is next, and the known bugs. I will paste it into a new chat.

The toolbox: what your AI can do on RYFT

When you connect, your AI gets about 60 tools. You never call them yourself. But it helps to know what is in the box, so you know what you can ask for.

Read the manual. The engine guide covers 2D, 3D, physics, audio, menus, saves, multiplayer and leaderboards. Ask your AI to read the part it needs before each big feature.

Create and manage games. Start a new game, list your games, rename one, copy one (a "fork") or archive it.

Write and save code. The AI pulls the game's files, edits them and saves a draft. Every save is a numbered version with a short note, so you always have a history.

Go back in time. It can list all versions and restore any of them. This is your undo button for everything.

Build. A build checks that the code is valid and makes it playable. The AI can also make a throwaway test build to try an idea without touching your saved game.

Test in a browser. There are three ways. A private preview link that you or the AI can open. RYFT's own hosted browser, which presses real keys and sends back screenshots. And a downloadable preview for bigger test setups.

Test multiplayer. It can open a private test lobby for up to 8 players and join it with several browser windows.

Generate art and audio (uses credits). Images and sprites, 3D models, music, sound effects and voice lines. It can show you the options and the cost first.

Use your own files (free). Upload your own images and audio, and register a sprite sheet so the engine can animate it.

Find problems. It can read the incident reports of your live game: crashes, loading failures and connection drops that real players hit.

Publish. Set the description, genres and thumbnail, run a publish review, publish, and get the public link.

Work with friends. Invite a co-author to build with you, or invite playtesters to try the game before it is public.

Leaderboards. RYFT has verified global leaderboards for solo games. The server replays each run to check the score, so nobody can fake it. Ask your AI if they are available for your game before you plan around them.

How I built The Great Ryftening

People expect a secret here. There isn't one. It was the same loop from this guide, every day, for about 100 hours.

1. I started with one tiny thing. One worker carrying one stone to one pyramid. Nothing else.

1. I added one piece at a time. Hired workers, then upgrades, then the night with mummies, then the boss. Each piece had to be fun before the next one started.

1. I played it every single day. Then I told the AI what felt wrong, usually with a screenshot.

1. The AI fixed it, tested it and saved it. Then I played again.

1. I made all the art and sound inside RYFT. Same generator, same style words, so everything looks like one game.

1. I never wrote netcode. The 8-player co-op runs on RYFT's built-in multiplayer.

The numbers: live in 76 hours, about 101 hours with polish, $370 in total.

20 tips that saved me hours

Talking to your AI

1. Make it read the guide first. Every new chat. The AI forgets between chats. One sentence at the start saves an hour of wrong guesses.

2. One change per message. "Make the jump higher" works. A list of twelve changes gets you six of them, half broken.

3. Describe what you see, not what you think the code does. "The mummies walk in a line like school kids" is a great bug report. I used exactly that one.

4. Send screenshots and circle the problem. A picture with a circle beats three paragraphs.

5. Say what must not change. "Fix the shadow. Don't touch anything else." Otherwise the AI sometimes improves things you liked.

6. Ask it to explain in plain words. You learn how your own game works, and you catch misunderstandings early.

7. Ask for a recommendation. "Give me two options and tell me which one you would pick." It usually knows.

Building

8. Start smaller than feels right. One level, one enemy, ugly shapes. A tiny game that works beats a big game that doesn't.

9. Fun first, pretty later. Don't generate art for a game that is not fun yet. You will throw it away.

10. Save often and name the saves. Small saves with clear notes make every mistake cheap.

11. Roll back fast. If two fixes in a row made it worse, restore the last good version and try a different idea.

12. Use test builds for experiments. "Try it in a test build, don't save." Your real game stays safe.

13. Add sound early. Five sound effects and one music track make a simple game feel twice as good, and they cost very few credits.

14. Ask for phone controls from day one. Lots of people will open your link on a phone. Adding touch later is harder.

Testing

15. Always ask for proof. "Show me a screenshot." "Reproduce the bug first." An AI that has to show its work makes fewer mistakes.

16. Play it yourself every day. The AI can check that the game runs. Only you can feel if it is fun.

17. Ask what it could not test. Honest answer every time, and you know where to look yourself.

Money and limits

18. Ask the cost before generating. Art, music and voices use credits. Code does not. Check the price, then say yes.

19. Keep one style line and reuse it. For example: "warm pixel art, top-down, sandy colours, soft shadows". Paste it into every art request so nothing looks out of place.

20. Big worlds need a rule: only draw what is near the camera. The engine draws up to 8,192 sprites at once. My four pyramids went over that late in the game and whole rows of stones vanished. Tell your AI early: "Only create sprites that are near the camera."

Multiplayer tips

Multiplayer is where most solo-built games die. On RYFT it doesn't have to be, if you follow six rules.

1. Use RYFT's built-in multiplayer. Always. Rooms, syncing players and switching the host when someone leaves all come with the engine. Never let your AI write its own networking. Say it in the prompt: "Use RYFT's built-in multiplayer."

2. Decide on day one. Tell the AI the game is multiplayer in the very first message. Adding it to a finished solo game is much harder.

3. Make the AI read both multiplayer guides. RYFT requires it for multiplayer games, and it shows. The guides explain how to keep other players moving smoothly on your screen.

4. A solo test proves nothing about multiplayer. Ask for a private lobby test with at least two players. Then play with real friends. Things break with real people that never break in a test.

5. Test the awkward moments. Someone joins in the middle of a round. The host closes the tab. Someone's internet drops for ten seconds. In my game, a third player joining during the boss fight restarted the whole wave. It took about 10 minutes to find and fix, but only because a real player hit it.

6. Keep shared data small. RYFT limits how much data travels between players. If your AI reports a WORLD_LIMIT error, send this: "We hit WORLD_LIMIT. Read the network limits in the multiplayer guide and fix it without removing anything from the game."

Good to know: a multiplayer game still works alone. A solo player just gets a room for one.

When something breaks

Something will. Here are the usual problems and the fix for each.

"I don't have any RYFT tools." The connector is added but not switched on in this chat. Turn Ryft on in the chat's tool or connector menu, then start a new chat. In ChatGPT, refresh Ryft's tools first.

The AI asks you to sign in again. Your sign-in expired. Open the connector settings, reconnect Ryft and allow access again.

Claude says it can't download or test the game. Go back to Settings, then Capabilities. Turn on code execution and network egress, and add the three RYFT domains from the setup section.

The AI's own browser can't run the game. Send this: "Use RYFT's hosted browser test and show me the screenshots." It works for solo testing.

"The build failed." Normal. Reply: "Read the build errors and fix them." Most of the time it already does this without asking.

The game opens to a black screen. Reply: "Open the preview, read the errors and fix them. Show me a screenshot when the game is visible."

The preview link stopped working. Preview links are private and expire. Ask for a new one.

The AI changed things you didn't ask for. Restore the previous version, then ask again and add: "Don't touch anything else."

The AI seems confused or forgets how the game works. The chat is too long. Ask for a handoff note, start a new chat and paste the note in.

You ran out of RYFT credits. You can still build. Code and testing are free, and you can upload your own images and sounds. Buy credits when you want more generated art or audio.

You want to remove the connection. Go to ryft.fun/create/mcp, find "Connected apps" and click Disconnect.

Now go build something

Here is the whole guide in five lines:

1. Connect your AI at ryft.fun/create/mcp.

1. Tell it to read the guide and build the smallest version of your idea.

1. Play it. Say what feels wrong. Let it fix one thing at a time.

1. Ask for proof, save often, roll back when needed.

1. Publish when it is fun.

That's how The Great Ryftening got made, and it's all I know. Everything else is hours.

When your first game is playable, post it and tag me and @RYFTCORP. I will play it.

And if you want to see what this process looks like after 100 hours, The Great Ryftening is free in your browser:

ryft.fun/games/cmnb97-the-great-ryftening

Let's Ryft.

Source details

MindHash · x.comPublished · added here

Original title: My last article: 110k views and counting. The #1 question: “how do I start?”