Guide

Build your first ExoJS project

Start with a TypeScript project, learn the Scene and rendering model, then move into input, audio, effects, debugging, and deployment.

npm create exo-app@latest my-game

Recommended learning path

Follow these in order to go from an empty folder to a deployable game.

  1. What is ExoJS?

    See what ExoJS is and how its pieces fit together.

  2. Setup

    Scaffold a typed project and run the dev server.

  3. Project structure

    Find your way around a create-exo-app project.

    Open example ↗
  4. Your first scene

    Load a texture, draw a sprite, and animate it.

    Open example ↗
  5. Scenes & lifecycle

    Update state and render each frame.

    Open example ↗
  6. Keyboard & actions

    Move something in response to key presses.

    Open example ↗
  7. Audio basics

    Play sound and music with reliable controls.

    Open example ↗
  8. Build Orb Dodge

    Combine it all into a complete small game.

    Open example ↗
  9. Deployment

    Build and host the finished project.

Browse by topic

Guides, Playground, and API

Guides

Explain concepts and workflows, step by step.

Playground

Run and edit every example live in the browser.

API reference

Documents every class, method, and option.

All chapters

67 chapters across 13 parts.

01Getting Started

02Runtime

03Assets

04Rendering

05Effects

06Input

07Audio

08Physics

09Pathfinding

10Recipes

11Debugging & Performance

12Integrations

13Shipping