Savannai Docs

Back to Game

Table of Contents

Project Overview

Savannai is a fully custom-built Web3 3D multiplayer experience set in a virtual African savanna. We designed and developed this project from the ground up — every element of the environment, from terrain generation to animal behavior, was crafted by our team.

The goal: create a shared online space where players can explore, socialize, and observe AI-driven wildlife in real time, all running inside a web browser with zero installs required.

Architecture

The system consists of several interconnected layers:

3D Engine & World

Terrain

The savanna terrain was modeled with realistic elevation data — rolling hills, flat grasslands, and a river valley. Textures were hand-selected and blended to simulate dry season African landscapes with procedural grass placement.

Environment

Asset Pipeline

3D animal models were generated using Meshy AI and refined manually. Environmental assets from curated packs (Animal Pack Deluxe v2) were integrated and optimized for web delivery.

AI Animal System

Each animal species runs an independent AI agent with the following behavior model:

State Machine

IDLE → WANDER → GRAZE → DRINK → REST → SOCIALIZE
  ↓         ↓        ↓       ↓       ↓
FLEE (on threat detection)

Behavior Parameters

Perception System

Animals have a configurable perception radius. When players enter this radius, animals react — some flee, some approach, some ignore. This creates emergent, unscripted encounters that feel organic.

Multiplayer & Networking

The world supports real-time multiplayer with the following features:

Network synchronization uses WebSocket connections with delta compression to minimize bandwidth while maintaining responsive 30+ FPS visual updates.

Web3 Integration

Savannai is built with Web3 principles at its core:

UI Overlay Layer

The entire user interface is a custom-built overlay rendered on top of the 3D viewport:

All UI elements use a consistent pixel-art aesthetic with the Press Start 2P typeface and a warm savanna color palette (#f5e6a3, #e6c84a, #c9a227).

Responsive Design

The layout adapts to any screen size using CSS custom properties and media queries:

Deployment & Infrastructure

Tech Stack

HTML5 CSS3 JavaScript WebGL Spatial.io Solana Meshy AI Vercel GitHub Press Start 2P

Roadmap

  1. Phase 1 — Core world, 5 animal species, multiplayer, basic UI ✓
  2. Phase 2 — Advanced AI behaviors, day/night cycle, weather system
  3. Phase 3 — Token-gated areas, NFT animals, breeding mechanics
  4. Phase 4 — Player-built structures, land ownership, DAO governance
  5. Phase 5 — Mobile app, VR support, cross-chain integration