Welcome to Puppeteer.js
Puppeteer is a modular, extensible JavaScript library designed to support multiplayer game development using 3D frameworks like Three.js. It includes networking, interpolation, prediction, and movement handling, and is structured to scale up to competitive or simulation-heavy multiplayer games.
Whether you're building a simple cooperative game or a complex competitive multiplayer experience, Puppeteer provides the tools you need to synchronize player movements, handle network latency, and create smooth gameplay.
Built-in Vector3, Quaternion, and Transform classes for efficient 3D calculations and manipulations.
Snapshot-based interpolation system for smooth visual representation of networked objects.
Client and host implementations for easy multiplayer room setup and state synchronization.
Physics-based movement with directional controls for responsive character movement.
Common utilities like Clock, Logger, and UUID generators to support your development.
Designed to work seamlessly with popular 3D frameworks like Three.js.
Project Structure
Puppeteer is organized into modular components that can be used independently or together:
Core Concepts
Quick Start
Install Puppeteer using npm:
Or include it via CDN:
Basic usage with ES6 imports:
Ready to Dive In?
Explore our comprehensive documentation to learn more about Puppeteer's features and how to integrate them into your multiplayer games.