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:

  1. Core Game Logic - Host-authoritative loops and action patterns
  2. Movement - Input flow and movement behaviors
  3. Physics & Collisions - Host-side simulation, collision patterns
  4. Networking - Transports, secure sessions, local testing
  5. Performance Guide - Bandwidth, rendering, asset tips
  6. UI & HUD - Reactive HUDs and indicators
  7. Testing - Deterministic loops and action testing
  8. 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?”).