更新worker-demo

This commit is contained in:
YHH
2025-09-28 18:29:32 +08:00
parent a66f80a766
commit cf2dc91af6
6 changed files with 12995 additions and 3 deletions

View File

@@ -1,3 +1,23 @@
# 示例
代码示例。
这里展示了ECS Framework的各种使用示例通过实际的演示帮助您理解框架的功能和最佳实践。
## 🎮 互动演示
### [Worker系统演示](./worker-system-demo)
- **功能**: 展示Worker多线程物理计算和渲染优化
- **特性**: 1000+粒子实时物理模拟、碰撞检测、性能对比
- **技术点**: SharedArrayBuffer、Canvas 2D优化、实体生命周期管理
## 🔗 外部示例
### [割草机演示](https://github.com/esengine/lawn-mower-demo)
- **平台**: Cocos Creator 3.x
- **功能**: 完整的游戏演示项目
- **特性**: 展示ECS架构在实际游戏项目中的应用
## 📚 更多资源
- [快速开始指南](/guide/getting-started)
- [核心概念](/guide/)
- [API文档](/api/README)

View File

@@ -0,0 +1,13 @@
# Worker系统演示
这是一个展示ECS框架Worker系统功能的交互式演示。
## 在线演示
<div style="text-align: center; margin: 30px 0;">
<a href="/ecs-framework/demos/worker-system/index.html" target="_blank" style="display: inline-block; padding: 15px 30px; background: #4a9eff; color: white; text-decoration: none; border-radius: 8px; font-weight: bold; font-size: 16px; box-shadow: 0 4px 8px rgba(74, 158, 255, 0.3); transition: all 0.3s ease;">
🚀 打开Worker系统演示
</a>
</div>
> **注意**: 演示将在新窗口中打开展示完整的Worker系统功能包括实体管理、物理模拟和性能监控。