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 {
ThirdPersonController,
desiredDirection,
approachVelocity,
facingYaw,
shortestAngleDelta,
turnToward,
rootMotionVelocity,
TPC_SPEED,
TPC_GROUNDED,
TPC_JUMP,
TPC_DODGE,
TPC_ATTACK,
yawQuaternion,
yawOfQuaternion,
WORLD_BASIS,
DODGE_KEY,
ATTACK_KEY,
type ThirdPersonControllerData,
type MoveBasis,
} from './ThirdPersonController';
export {
FirstPersonController, FirstPersonViewModel, lookAfter, walkDirection, crouchAfter, yawRotation, pitchRotation,
type FirstPersonControllerData, type FirstPersonViewModelData,
} from './FirstPersonController';
export {
ThirdPersonCamera,
orbitOffset,
cameraGroundBasis,
dampFactor,
clampPitch,
type ThirdPersonCameraData,
} from './ThirdPersonCamera';
export {
Hunter,
decideHunterState,
huntTargets,
type HunterData,
type HunterState,
type HunterSituation,
} from './Hunter';
export {
Health,
Damage,
applyDamage,
restoreToFull,
type HealthData,
type DamagePayload,
} from './Health';
export {
MeleeAttack,
MeleeAttacks,
resolveMeleeHits,
COMBAT_ATTACK_START,
COMBAT_HIT,
COMBAT_ATTACK_END,
type MeleeAttackData,
type MeleeOverlapQuery,
} from './MeleeAttack';
export {
GameplayPlugin,
gameplayPlugin,
requestMotion,
observeMotion,
updateCameras,
} from './GameplayPlugin';
export {
gridCellAt,
gridCellCentre,
snapToGrid,
snapFootprint,
checkPlacement,
type PlacementGrid,
type GridCell,
type PlacementRect,
type SnappedFootprint,
type PlacementProbes,
type PlacementCheck,
} from './placement';
export {
nearestEntities,
nearestMarkers,
type NearEntity,
type NearestOptions,
} from './nearest';