Pixel Engine

Architecture, conventions, and tools for building Unity games.

Getting Started

Conventions

Style & Formatting

Patterns & Architecture

Systems

Reference

Tools

Principles

  1. Event-driven, not polling — react to state changes via events, delegates, and callbacks. Never poll in Update() for something that can be an event.
  2. Clarity over cleverness — code is read far more than it is written.
  3. Consistency — follow the same patterns everywhere. When in doubt, match the surrounding code.
  4. SOLID — single responsibility, open/closed, Liskov substitution, dependency inversion.

Unity Documentation References