* docs: add editor-app README with setup instructions * docs: add separate EN/CN editor setup guides * fix(editor): fix build errors and refactor behavior-tree architecture - Fix fairygui-editor tsconfig extends path and add missing tsconfig.build.json - Refactor behavior-tree-editor to not depend on asset-system in runtime - Create local BehaviorTreeRuntimeModule for pure runtime logic - Move asset loader registration to editor module install() - Add BehaviorTreeLoader for asset system integration - Fix rapier2d WASM loader to not pass arguments to init() - Add WASM base64 loader config to rapier2d tsup.config - Update README documentation and simplify setup steps
1.7 KiB
1.7 KiB
ESEngine Editor
A cross-platform desktop visual editor built with Tauri 2.x + React 18.
Prerequisites
Before running the editor, ensure you have the following installed:
- Node.js >= 18.x
- pnpm >= 10.x
- Rust >= 1.70 (for Tauri)
- Platform-specific dependencies:
- Windows: Microsoft Visual Studio C++ Build Tools
- macOS: Xcode Command Line Tools (
xcode-select --install) - Linux: See Tauri prerequisites
Quick Start
1. Clone and Install
git clone https://github.com/esengine/esengine.git
cd esengine
pnpm install
2. Build Dependencies
From the project root:
pnpm build:editor
3. Run Editor
cd packages/editor/editor-app
pnpm tauri:dev
Available Scripts
| Script | Description |
|---|---|
pnpm tauri:dev |
Run editor in development mode with hot-reload |
pnpm tauri:build |
Build production application |
pnpm build:sdk |
Build editor-runtime SDK |
Project Structure
editor-app/
├── src/ # React application source
│ ├── components/ # UI components
│ ├── panels/ # Editor panels
│ └── services/ # Core services
├── src-tauri/ # Tauri (Rust) backend
├── public/ # Static assets
└── scripts/ # Build scripts
Troubleshooting
Build Errors
pnpm clean
pnpm install
pnpm build:editor
Rust/Tauri Errors
rustup update
Documentation
License
MIT License