Skip to content

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.

326 B
Raw Blame
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', {});