← BACK TO MINI PROJECTS
Talk with Joker Cover

TALK WITH JOKER

💡 THE IDEA — AI-DRIVEN NPC CONVERSATIONS

I wanted to experiment with integrating AI into NPC interactions — specifically for real-time conversations.

HA! HA HA!

Instead of relying on traditional dialogue trees, I explored how AI could allow NPCs to respond dynamically to players.

To test this idea, I built a small experiment where players can interact directly with The Joker in real time, powered by the Gemini API.

⚙️ THE SPECS

UNITY C# GEMINI API TEXTMESHPRO

Scope: Mini AI Experiment
Focus: NPC Conversations
System: Real-time AI responses
Character: The Joker

"WHY SO SERIOUS? LET'S CHAT!"

🧠 AI-BASED INTERACTION

Joker AI Interaction

Project replaces scripted dialogue with AI-driven responses. Each interaction is unique, with no fixed dialogue paths. The NPC responds dynamically to player input instantly.

🎭 CHARACTER SYSTEM

To maintain consistency, I designed a prompt-based personality system:

  • Ensures stays in character
  • Short & expressive responses
  • Constant tone & behavior

Typing + animation enhance immersion.

✍️ FLOW

1. Player enters input

2. AI processes it instantly

3. Response generated

Instant processing for a seamless conversational experience.

🏁 WHY THIS MATTERS

Joker AI Future

Traditional NPCs are limited by scripts. AI allows for emergent storytelling and more immersive player experiences. This experiment explores the future of character-driven interaction design.

🚀 EXPLORE THE CODE

Interested in how the Gemini API integrates with Unity? Check out the implementation and prompt architecture on GitHub.

VIEW ON GITHUB