Inspiration

Most games give you a dialogue menu with four choices. We wanted crewmates you could really talk to, and a story that plays out differently every time. After an asteroid hits your ship, you need your teammate to escape to Earth. No two runs play out the same because of multiple combinations.

What it does

You play Johnny, a Wayfarer's engineer, right after an asteroid strike. The power is out, the ship is dark, and all you have is a small flashlight. Your crew are researcher Aaron and pilot Dhan. You can talk to them by speaking or typing. There are no dialogue menus.

  • AI crewmates who act, not just talk. Gemini reads what you said and the current state of the ship, then picks what the crewmate does next: holding a jammed locker, pointing a flashlight, fetching a sample case, carrying an injured crewmate. The game checks every action before it happens, so the AI can’t break the rules or skip ahead.
  • A different run every time. Each new run randomizes the fault code, which spare fuse fits it, and how the wiring has to be set. Only Dhan knows the code book, so you have to actually ask him. Memorizing answers from a previous run won’t help.
  • Choices with consequences. Repair engineering to save the lab’s research samples, or take the lab battery and lose them. Dhan’s fate and the ending depend on what you do.
  • Crewmates who remember. Aaron and Dhan each keep their own memory of what you told them, and the game remembers how you answered their questions. Tell Dhan something and Aaron won’t know it.
  • Every line is voiced. Each character has their own ElevenLabs voice, including M.A.R.V.I.S., the ship’s AI.

Progress saves to the cloud, and wins go on a leaderboard.

How we built it

Godot 4 for the game, published as a web build. A Python server on Oracle Cloud behind Cloudflare. Gemini API for crew transcript, ElevenLabs for each character’s voice, the browser’s speech recognition for voice input, and Tiger Cloud Database (Postgres) for accounts, cloud saves, per-crewmate memory, and the leaderboard.

Challenges we ran into

Making words match actions. If Aaron says “I’ve got the door”, she has to actually walk over and hold it. We made the line and the action come back together, and the game rejects a reply where they disagree. Keeping the AI on the mission. Off-topic questions like “2 + 2” get a quick answer and then back to the objective. The crew also must never guess things you never told them. Players say things in their own words. “the door”, “that thing”, “grab the other side” all have to mean the jammed locker. Voice feedback. With speakers, the mic heard the crew and answered itself. We fixed it with tap to talk, muting the mic while the crew talks, and an echo filter. Lighting: walls that really block light, running smoothly in a browser.

Accomplishments that we're proud of

Crewmates you can actually talk to, by voice or text, who do what you ask, each with their own voice and their own memory of you. Combined with random puzzles and branching choices, every run plays differently, even for us.

What we learned

Let the game rules stay in charge and let the AI bring the personality: the AI suggests, and the game decides. That’s what makes AI characters reliable enough to build gameplay on. And always test on the live site with real players.

What's next for Back2Earth

More crew and ships, more endings, controller and mobile support, and crewmates who react to each other, not just to you.

Built With

Share this project:

Updates

Submission history