YHH
|
d57a007a42
|
docs: split Entity docs into sub-modules and fix Starlight CI (#362)
* docs: split Entity docs into sub-modules and fix Starlight CI
- Split monolithic entity.md into 4 focused sub-documents:
- guide/entity/index.md - Overview and basic concepts
- guide/entity/component-operations.md - Component API operations
- guide/entity/entity-handle.md - EntityHandle system for safe references
- guide/entity/lifecycle.md - Lifecycle and persistence management
- Created bilingual versions (Chinese and English)
- Updated sidebar configuration in astro.config.mjs
- Fixed CI workflow for Starlight migration:
- Updated docs.yml to upload from docs/dist instead of .vitepress/dist
- Updated package.json scripts to use pnpm filter for docs
- Added docs directory to pnpm-workspace.yaml
- Renamed docs package to @esengine/docs
- Documented missing Entity APIs:
- createComponent() method
- addComponents() batch method
- getComponentByType() with inheritance support
- markDirty() for change detection
* docs: split Network docs and fix API errors
- Split network module into focused sub-documents:
- modules/network/index.md - Overview and quick start
- modules/network/client.md - Client-side usage
- modules/network/server.md - Server-side GameServer/Room
- modules/network/sync.md - Interpolation and prediction
- modules/network/api.md - Complete API reference
- Fixed incorrect API documentation:
- localClientId → clientId
- ENetworkState enum values (strings → numbers)
- connect() method signature
- Removed non-existent localPlayerId property
- Fixed onConnected callback signature
- Created bilingual versions (Chinese and English)
- Updated sidebar configuration
- Updated pnpm-lock.yaml for docs workspace
|
2025-12-27 13:28:49 +08:00 |
|
YHH
|
13a149c3a2
|
perf(core): 优化 EntitySystem 迭代性能,添加 CommandBuffer 延迟命令 (#281)
* perf(core): 优化 EntitySystem 迭代性能,添加 CommandBuffer 延迟命令
ReactiveQuery 快照优化:
- 添加快照机制,避免每帧拷贝数组
- 只在实体列表变化时创建新快照
- 静态场景下多个系统共享同一快照
CommandBuffer 延迟命令系统:
- 支持延迟添加/移除组件、销毁实体、设置实体激活状态
- 每个系统拥有独立的 commands 属性
- 命令在帧末统一执行,避免迭代过程中修改实体列表
Scene 更新:
- 在 lateUpdate 后自动刷新所有系统的命令缓冲区
文档:
- 更新系统文档,添加 CommandBuffer 使用说明
* fix(ci): upgrade first-interaction action to v1.3.0
Fix Docker build failure in welcome workflow.
* fix(ci): upgrade pnpm/action-setup to v4 and fix unused import
- Upgrade pnpm/action-setup@v2 to v4 in all workflow files
- Remove unused CommandType import in CommandBuffer.test.ts
* fix(ci): remove duplicate pnpm version specification
|
2025-12-05 17:24:33 +08:00 |
|
YHH
|
460cdb5af4
|
Feature/docs improvement (#254)
* refactor: 编辑器/运行时架构拆分与构建系统升级
* feat(core): 层级系统重构与UI变换矩阵修复
* refactor: 移除 ecs-components 聚合包并修复跨包组件查找问题
* fix(physics): 修复跨包组件类引用问题
* feat: 统一运行时架构与浏览器运行支持
* feat(asset): 实现浏览器运行时资产加载系统
* fix: 修复文档、CodeQL安全问题和CI类型检查错误
* fix: 修复文档、CodeQL安全问题和CI类型检查错误
* fix: 修复文档、CodeQL安全问题、CI类型检查和测试错误
* test: 补齐核心模块测试用例,修复CI构建配置
* fix: 修复测试用例中的类型错误和断言问题
* fix: 修复 turbo build:npm 任务的依赖顺序问题
* fix: 修复 CI 构建错误并优化构建性能
* feat(docs): 重构文档站主题样式
* chore(ci): 升级所有 workflow 的 pnpm 版本从 v8 到 v10
|
2025-12-01 23:33:04 +08:00 |
|
YHH
|
a3f7cc38b1
|
Feature/render pipeline (#232)
* refactor(engine): 重构2D渲染管线坐标系统
* feat(engine): 完善2D渲染管线和编辑器视口功能
* feat(editor): 实现Viewport变换工具系统
* feat(editor): 优化Inspector渲染性能并修复Gizmo变换工具显示
* feat(editor): 实现Run on Device移动预览功能
* feat(editor): 添加组件属性控制和依赖关系系统
* feat(editor): 实现动画预览功能和优化SpriteAnimator编辑器
* feat(editor): 修复SpriteAnimator动画预览功能并迁移CI到pnpm
* feat(editor): 修复SpriteAnimator动画预览并迁移到pnpm
* feat(editor): 修复SpriteAnimator动画预览并迁移到pnpm
* feat(editor): 修复SpriteAnimator动画预览并迁移到pnpm
* feat(editor): 修复SpriteAnimator动画预览并迁移到pnpm
* feat(ci): 迁移项目到pnpm并修复CI构建问题
* chore: 迁移CI工作流到pnpm并添加WASM构建支持
* chore: 迁移CI工作流到pnpm并添加WASM构建支持
* chore: 迁移CI工作流到pnpm并添加WASM构建支持
* chore: 迁移CI工作流到pnpm并添加WASM构建支持
* chore: 迁移CI工作流到pnpm并添加WASM构建支持
* chore: 迁移CI工作流到pnpm并添加WASM构建支持
* chore: 移除 network 相关包
* chore: 移除 network 相关包
|
2025-11-23 14:49:37 +08:00 |
|
YHH
|
66dc9780b9
|
使用coi-serviceworker用于无法控制标头的情况
|
2025-09-28 21:11:17 +08:00 |
|
YHH
|
de3bfd7551
|
新增禁用sab功能
|
2025-09-28 20:41:23 +08:00 |
|
YHH
|
945f772c30
|
只在有package改动的时候触发ci流程
|
2025-09-28 12:32:35 +08:00 |
|
YHH
|
413ce93b31
|
更新文档
|
2025-09-28 12:26:51 +08:00 |
|