Skip to content

Latest commit

 

History

History
146 lines (93 loc) · 6.12 KB

File metadata and controls

146 lines (93 loc) · 6.12 KB

GPF Documentation

← Back to Main README


Quick Access


Key Components of GPF

GPF is built around four core components that work together to eliminate backend infrastructure code.

Application State - Server-authoritative constructs that manage your game state. You define fields and message handlers; GPF handles persistence, networking, and scaling.

DataStore - A global data store where all renderable data resides on the client. GPF automatically synchronizes the DataStore with the world state determined on the server.

ViewBindings - Reusable UI components that subscribe to and draw data from the DataStore. When application state changes, ViewBindings auto-update the UI.

Test Framework - A framework for developing and testing your application. The fully simulated backend lets you run the entire server inside Unity for rapid iteration, which is helpful when you're debugging game logic without deploying to the cloud.

See Architectural Patterns for detailed patterns and best practices.


Core Guides

Essential guides for building with GPF:


Reference Documentation

Complete API and technical references:


Advanced Topics

Deep dives into advanced features:


Deployment

Deployment and infrastructure guides:


Tutorials

Step-by-step walkthroughs:


Community

Community resources:


Learning Paths

If you're new to GPF, here are some suggested learning paths depending on your goals.

Path 1: Absolute Beginner

Start here if you're completely new to GPF. The Quick Start Guide takes about 30 minutes and walks you through building your first application. After that, the Coin Flipper tutorial shows you a complete working example. Once you've built something yourself, the Architectural Patterns guide will help you understand when to use different design patterns.

  1. Quick Start Guide
  2. Coin Flipper Tutorial
  3. Architectural Patterns

Path 2: Building UI

If you already understand application state and want to focus on connecting your UI to server state, start with the ViewBindings guide. The Props system is key to understanding how data flows from your state to UI components. The DataStore Sync guide explains the underlying synchronization mechanism.

  1. ViewBindings Guide
  2. Understanding Props
  3. DataStore Sync

Path 3: Production Deployment

If you're ready to deploy a production game, start with the Security Guide to validate your input handling. The Deployment Guide walks you through deployment setup. The Production Readiness checklist helps you verify everything is ready.

  1. Security Guide
  2. Deployment Guide
  3. Production Readiness

Quick Reference

I want to... Guide
Get started with GPF Quick Start
Understand core patterns Architectural Patterns
Connect UI to data ViewBindings
Secure my game Security Guide
Deploy to AWS Deployment Guide
See all APIs API Reference

← Back to Main README