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
// Sprite animation: authored clips, player state machine, and footstep events.
// Arrow keys or A/D walk; Shift runs; Space hops; P pauses/resumes bystanders.
import { addStartupSystem, addSystemToSchedule, Schedule } from 'esengine';
import './components';
import { setupSystem, wireClipsSystem } from './systems/setup';
import { controlSystem, playbackSystem } from './systems/control';
import { puffSystem } from './systems/puffs';
addStartupSystem(setupSystem);
addSystemToSchedule(Schedule.Update, wireClipsSystem);
addSystemToSchedule(Schedule.Update, controlSystem);
addSystemToSchedule(Schedule.Update, playbackSystem);
addSystemToSchedule(Schedule.Update, puffSystem);