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
export {
WaterBody, WaterForm, Waters, WatersRes, WaterPlugin, waterPlugin, type WaterBodyData, type WaterSample,
} from './waterPlugin';
export { WAVE_SET, waveFade, waveHeight, waveSlope, type WaveParams } from './waves';
export { UnderwaterPlugin, registerUnderwaterEffect } from './underwater';
export { RippleField } from './ripples';
export { Floating, FloatingPlugin, floatingForce, wakeStrength, type FloatingBody, type FloatingData, type FloatingForce } from './floating';
export { WaterZone, WaterField, currentShare, type WaterZoneData, type FieldSample } from './zone';
export { buildOceanMesh, oceanReach, oceanSnap } from './waterMesh';
export {
Waterfall, WaterfallAnchor, buildWaterfall, waterfallAnchorPoint, waterfallFlight, waterfallHeading,
type WaterfallAnchorData, type WaterfallData, type WaterfallLanding, type WaterfallLip,
} from './waterfall';
export { WATERFALL_SHADER_TEMPLATE } from './waterfallShader';
export { polygonSdf, shoreDamp, type Point2 } from './shore';
export { findBasins, drainPath, type Basin, type BasinMap, type BasinOptions } from './basins';
// Importing this subpath INSTALLS water — see tilemap/index.ts.
import { registerWaterSupport } from './waterSupport';
registerWaterSupport();