A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
import { addSystemToSchedule, Schedule } from 'esengine';
import './components';
import { heroMoveSystem, replaySystem } from './systems/gameplay';
// Only project-specific systems are registered here. The FSM tick
// (StateMachineAgent) and timeline playback (TimelinePlayer) are the engine's
// built-in plugins — the cutscene itself needs no wiring at all.
addSystemToSchedule(Schedule.Update, heroMoveSystem);
addSystemToSchedule(Schedule.Update, replaySystem);