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.

357 B
Raw Blame
import { addSystemToSchedule, Schedule } from 'esengine';

import './components';
import { roundSystem } from './systems/round';
import { hudSystem } from './systems/hud';

addSystemToSchedule(Schedule.Update, roundSystem);
// After the clock, so the labels never show the tick they were written before.
addSystemToSchedule(Schedule.PostUpdate, hudSystem);