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

46 chapters across 10 parts.

01 Getting Started

02 Runtime

03 Assets

04 Rendering

05 Effects

06 Input

07 Audio

08 Recipes

09 Debugging & Performance

10 Shipping