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.

474 B
Raw Blame
// UI List — a data-driven, virtualized list and grid built with createListView:
// 500 rows / 120 tiles backed by a handful of recycled entities, mouse-wheel
// scrolling, live append/remove, and scrollToIndex jumps.
import { addStartupSystem, addSystemToSchedule, Schedule } from 'esengine';

import { buildSystem } from './systems/build';
import { statsSystem } from './systems/stats';

addStartupSystem(buildSystem);
addSystemToSchedule(Schedule.Update, statsSystem);