Repository navigation
Home
Myco Engine is a 2D and 3D game engine for TypeScript. You write Unity-style behaviors on GameObjects arranged in a node graph, the engine renders with Babylon.js, and the editor runs on the desktop (Tauri) or in a browser. Games ship to the web, the desktop and Android.
The engine is in active development. These pages describe what's on master today. Anything not described here may be missing or may change.
-
Install Node.js, then clone the repository and run:
npm install npm run dev
-
Open http://localhost:3000/editor.html. The editor opens on its start screen. Open the Flappy Bird sample and press Play (space, up arrow or click to flap).
-
In a browser the editor opens samples read-only. For the desktop editor run
npm run tauri:dev; it needs Rust for Tauri. There, Make a Copy… copies a sample into a folder you can edit and save. -
Read The editor for the windows and panels, then Worlds and Transforms and rotation for how a game is put together.
To build a game for players, run npm run build once, then npm run export -- <projectDir> --target web (or --target desktop).
| Area | Pages |
|---|---|
| Basics | The editor · Worlds · Transforms and rotation · Writing a plugin · The debug link |
| Gameplay | Input · Physics · Navigation · Tilemaps · Game UI · Animation · Animation performance · Multiplayer |
| Rendering | Materials, shaders and batching · Levels of detail · Skies · Water · Decals · Lines and trails · 2D lighting · Fog, camera rays and spatial audio |
| Audio | Playing sound · Why is there no sound? · Playlists · Interactive music · Sound generators · Spatial audio · Audio mixer · Live mixing and ducking · Loudness · Audio profiler · Audio takes · Audio mix API · Minimum versions |
-
API reference: every class, function and type the
mycomodule exports, generated from the source. - FAQ: short answers that point into the guides.
- News: what changed recently, newest first.
Design decisions, plans and architecture notes stay in the repository: start at docs/README.md. This wiki is built from docs/wiki/, so change a page there in a pull request; edits made on the wiki itself are not kept.
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference