Engine-agnostic
Guides Overview
Use these guides when you’re ready to build beyond the quick start. Topics are split into engine-agnostic patterns (works with any renderer/physics) and engine tracks for specific integrations.
What You Will Learn
- Core Patterns: How to structure your game logic and state
- Movement & Physics: Implementing smooth, authoritative movement
- Networking: Choosing the right transport and securing your game
- Production: Testing, optimizing, and deploying your game
Learning Path (Engine-Agnostic)
Follow this path to master martini-kit:
- Core Game Logic - Host-authoritative loops and action patterns
- Movement - Input flow and movement behaviors
- Physics & Collisions - Host-side simulation, collision patterns
- Networking - Transports, secure sessions, local testing
- Performance Guide - Bandwidth, rendering, asset tips
- UI & HUD - Reactive HUDs and indicators
- Testing - Deterministic loops and action testing
- Deployment - Shipping, versioning, and ops handoff
Engine Tracks
Specific integrations for your game engine of choice:
- Phaser - Adapter setup, sprites/attachments, physics/input, UI/HUD
- Unity / Godot / Three.js - Coming soon
When to use Recipes vs Guides
- Use Guides for patterns and reasoning (e.g., “How does movement work?”).
- Use Recipes for task-focused implementations (e.g., “How do I make a Capture the Flag mode?”).
Related Reference
- Architecture and determinism: Core Concepts
- APIs by package: API Reference
- Troubleshooting: Operate