3JS Games
Browse documentation

Getting Started

Game requirements

The baseline packaging, browser, mobile, performance, and safety requirements for an upload-ready game.

Required build shape

  • A static browser build with index.html at the ZIP root.
  • Relative paths for bundled assets.
  • No secrets, server-side code, blocked executable files, or unnecessary project tooling.
  • Honest metadata and device-support claims.

Compatibility checklist

  1. Test current Chrome, Firefox, and Safari when available.
  2. Unlock audio from a user gesture and recover cleanly after pause.
  3. Confirm keyboard focus, pointer input, and fullscreen transitions.
  4. Run inside the 3JS preview because sandboxed iframe behavior can differ.

Performance checklist

  1. Compress textures, models, and audio before packaging.
  2. Defer optional assets and keep the first playable load small.
  3. Avoid per-frame allocations and cap expensive effects.
  4. Test the production build on a mid-range phone and laptop.

Storage integration

If the game uses cloud storage, vendor the exact official SDK as documented in Cloud Storage. Direct platform credentials and custom parent-frame messaging are not allowed.