TALK WITH JOKER

"Why so serious?!" Replacing static dialogue trees with real-time Gemini AI personality prompts inside Unity.

GEMINI API
Real-Time LLM Integration
UNITY 3D & C#
TextMeshPro Typing FX
PROMPT ARCHITECTURE
Character System Lock
EMERGENT NPC
Unscripted Dialogue

TEST THE JOKER DIALOGUE SIMULATOR

Type a message below to test how the prompt architecture generates real-time character responses.

JOKER: HAHAHA! Welcome to Gotham, my friend! Type something... if you dare!

PROMPT ENGINEERING & UNITY INTEGRATION

PERSONALITY SYSTEM LOCK
To prevent LLM hallucination and keep response times ultra-fast, the system uses a strict system prompt wrapper: locking tone, brevity, comic-book cadence, and manic humor while keeping total output under 25 words per turn.
EMERGENT NPC STORYTELLING
Demonstrates how future game design can replace repetitive script branches with dynamic, player-driven conversations.
← RETURN TO LAB EXPERIMENTS VIEW SOURCE ON GITHUB ▶