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
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file index.wechat.base.ts
* @brief ESEngine SDK - WeChat MiniGame entry, minus the optional subsystems
*/
export * from './core';
export * from './runtime/webAppFactory';
export {
wxReadFile,
wxReadTextFile,
wxFileExists,
wxFileExistsSync,
wxWriteFile,
wxLoadImage,
wxGetImagePixels,
wxLoadImagePixels,
type ImageLoadResult,
} from './platform/wechat';
export {
initWeChatRuntime,
type WeChatRuntimeConfig,
} from './runtime/wechatRuntime';
// The host as data: spread it to keep everything but the one thing you replace.
export { wechatProfile } from './platform/wechat';
// A package installs the platform by CALLING this: the call above is a module
// side effect, and a bundler dropped it — a lean-entry WeChat package booted to
// "Platform not initialized". Idempotent.
export { initWeChatPlatform } from './platform/wechat';