Inspiration

Inspired by those really short indie horror games, I decided to use Vapi's AI voice support agent as a game feature. I've always wanted to play a videogame with such an interactive element.

What it does

Speech-to-speech models from Vapi used to create a more immersive experience within a videogame. In my tech demo, it gives the player a familiar figure to talk and chat with, creating a secondary and vocal interactive experience alongside the game.

How I built it

Using the Godot game engine and Vapi AI support agent with an API from Groq, I used AI support chat tools to create a horror game demo. Quite unorthodox, but I was tempted to complete such a task.

Challenges I ran into

Initially, Vapi did not run correctly with Godot 4, from not taking inputs properly to very, very slow outputs; it just refused to work seamlessly. Vapj was intended for genuine support calls, not a videogame. After a painstaking 5 hours and talking with the representatives, the Vapi integration was complete and near-flawless after the fact.

Accomplishments that I'm proud of

I am proud to have repurposed an AI tool for support chatbots and use it in a creative and immersive way in my videogame tech demo. I honestly believe that this showcases my ability to make the most out of the tools I am given when solving problems in computer science.

What I learned

I learned to use webhooks within a videogame, one step closer to peer to peer connections within game development. I plan on making a multiplayer game next someday!

What's next for Grave Operator

Right now, its more of a tech demo than a real game. Now that I actually have the knowledge and have a framework to work with this now, I can develop this game more into a complete experience.

Built With

  • gdscript
  • godot
  • groq
  • vapi
  • vscode
Share this project:

Updates

Submission history