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 { defineComponent } from 'esengine';
/** Which animation an armature is on, and how long it has held it. */
export const AnimState = defineComponent('AnimState', {
timer: 0,
index: 0,
});
/** Tags the label that names the animation currently playing. */
export const Readout = defineComponent('Readout', {});