kunpolibrary/README.md

83 lines
2.2 KiB
Markdown
Raw Normal View History

2025-02-20 11:27:28 +08:00
# KunpoLib
2025-05-09 21:48:17 +08:00
基于 Cocos Creator 的一套游戏框架,提供了一系列实用模块,帮助开发者快速构建高质量的游戏项目。
2025-02-26 15:10:04 +08:00
项目持续优化中,敬请期待~~~
2025-02-20 11:27:28 +08:00
2025-05-09 21:48:17 +08:00
#### 版本支持
- creator 3.7之前的版本理论上也支持,未测试
- creator 3.7+ 支持
- creator 3.8+ 支持
2025-05-08 15:23:46 +08:00
> 此项目是框架源码不是creator项目
>
> demo见最下方仓库地址
2025-02-20 11:27:28 +08:00
2025-02-26 15:10:04 +08:00
## 安装kunpocc
2025-05-08 15:23:46 +08:00
2025-02-26 15:10:04 +08:00
项目已发布到 `npm`, 安装方法如下:
2025-05-08 15:23:46 +08:00
2025-02-20 11:27:28 +08:00
```bash
npm install kunpocc
```
2025-05-08 15:23:46 +08:00
> 如果连不上npm, 可使用国内镜像 比如: 淘宝、腾讯、华为
```bash
# 官方
npm set registry https://registry.npmjs.org
# 中国镜像站(用这个就行)
npm set registry https://registry.npmmirror.com/
#腾讯
npm set registry https://mirrors.cloud.tencent.com/npm/
# 华为
npm set registry https://repo.huaweicloud.com/repository/npm/
# 阿里
npm set registry https://npm.aliyun.com
```
2025-06-08 15:36:54 +08:00
# 集成目录
2025-04-09 10:37:17 +08:00
1. [使用教程 (新手必看)](./docs/Noviciate.md)
2. [项目配置](./docs/Basic.md)
3. [UI模块](./docs/UI.md)
2025-06-08 15:36:54 +08:00
4. [全局计时器](./docs/Timer.md)
5. [平台工具](./docs/Platform.md)
6. [屏幕尺寸](./docs/Screen.md)
7. [小工具](./docs/Tools.md)
8. [时间](./docs/Time.md)
9. [小游戏接口封装](./docs/MiniGame.md)
10. [热更新](./docs/HotUpdate.md)
11. [条件显示节点 (一般用于UI上的红点)](./docs/Condition.md)
# 独立模块目录
1. [ec模块](https://github.com/Gongxh0901/kunpo-ec)
2. [ecs模块](https://github.com/Gongxh0901/kunpo-esc)
3. [网络模块 http和socket](https://github.com/Gongxh0901/kunpocc-net)
4. [四叉树](https://github.com/Gongxh0901/kunpo-quadtree)
5. [行为树](https://github.com/Gongxh0901/kunpocc-behaviortree)
6. [资源管理](https://github.com/Gongxh0901/kunpocc-assets)
7. [全局事件](https://github.com/Gongxh0901/kunpocc-event)
2025-02-20 11:27:28 +08:00
## 类型支持
该库完全使用 TypeScript 编写,提供完整的类型定义文件。
## 许可证
ISC License
## 作者
gongxh
## 联系作者
* 邮箱: gong.xinhai@163.com
## 仓库
2025-05-09 21:48:17 +08:00
[kunpocc gitee地址](https://gitee.com/gongxinhai/kunpolibrary)
2025-02-26 15:10:04 +08:00
2025-02-20 11:34:16 +08:00
[kunpocc github地址](https://github.com/Gongxh0901/kunpolibrary)
2025-02-20 11:27:28 +08:00
[github demo地址](https://github.com/Gongxh0901/KunpoDemo)
[gitee demo地址](https://gitee.com/gongxinhai/kunpo-demo)