-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhiming.wu
committed
Jul 7, 2022
0 parents
commit 862467d
Showing
7,837 changed files
with
1,902,111 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
source: | ||
auto_generate_source: | ||
filepath_regex: ["build"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"extends": ["@tencent/eslint-config-tencent", "@tencent/eslint-config-tencent/ts"], | ||
"plugins": [ | ||
// "compat", | ||
// "builtin-compat" | ||
], | ||
"rules": { | ||
// "comma-dangle": 0, | ||
// "no-console": 0, | ||
// "no-constant-condition": 0, | ||
// "no-extra-boolean-cast": 0, | ||
// "no-redeclare": 1, | ||
// "no-unused-vars": 1, | ||
// "semi": 1, | ||
// "compat/compat": 2, | ||
// "no-control-regex": 0, | ||
// "no-useless-escape": 1, | ||
// "builtin-compat/no-incompatible-builtins": 1 | ||
"indent": 0, | ||
"comma-dangle": 0, | ||
"arrow-parens": 0, | ||
"@typescript-eslint/indent": 0, | ||
"@typescript-eslint/no-require-imports": 0, | ||
"@typescript-eslint/prefer-optional-chain": 0, | ||
"@typescript-eslint/no-this-alias": 0, | ||
"@typescript-eslint/quotes": 0 | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module" | ||
}, | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es6": true, | ||
"mocha": true | ||
}, | ||
"globals": { | ||
"cc": false, | ||
"gl": false, | ||
"sp": false, | ||
"wx": false, | ||
"jsb": false, | ||
"CC_EDITOR": false, | ||
"CC_DEV": false, | ||
"CC_JSB": false, | ||
"_ccsg": false, | ||
"QRCode": false, | ||
"QRErrorCorrectLevel": false, | ||
"$": false, | ||
"XDomainRequest": false, | ||
"CC_WECHATGAME": false, | ||
"webkitOfflineAudioContext": false, | ||
"ccm": false, | ||
"CC_PHYSICS_BUILTIN": false, | ||
"CC_PHYSICS_CANNON": false, | ||
"CC_BUILD": false, | ||
"Editor": false | ||
}, | ||
"settings": { | ||
"polyfills": ["promises"], | ||
"builtin-compat-ignore": ["ArrayBuffer", "find", "includes", "log2", "parseFloat", "parseInt", "assign", "values", "trimLeft", "startsWith", "endsWith", "repeat", "padStart"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#///////////////////////////////////////////////////////////////////////////// | ||
# Fireball Projects | ||
#///////////////////////////////////////////////////////////////////////////// | ||
|
||
/library/ | ||
/temp/ | ||
/local/ | ||
build/web-mobile | ||
build/jsb-default/ | ||
|
||
#///////////////////////////////////////////////////////////////////////////// | ||
# npm files | ||
#///////////////////////////////////////////////////////////////////////////// | ||
|
||
npm-debug.log | ||
node_modules/ | ||
|
||
#///////////////////////////////////////////////////////////////////////////// | ||
# Logs and databases | ||
#///////////////////////////////////////////////////////////////////////////// | ||
|
||
*.log | ||
*.sql | ||
*.sqlite | ||
|
||
#///////////////////////////////////////////////////////////////////////////// | ||
# files for debugger | ||
#///////////////////////////////////////////////////////////////////////////// | ||
|
||
*.sln | ||
*.csproj | ||
*.pidb | ||
*.unityproj | ||
*.suo | ||
|
||
#///////////////////////////////////////////////////////////////////////////// | ||
# OS generated files | ||
#///////////////////////////////////////////////////////////////////////////// | ||
|
||
.DS_Store | ||
ehthumbs.db | ||
Thumbs.db | ||
|
||
#///////////////////////////////////////////////////////////////////////////// | ||
# WebStorm files | ||
#///////////////////////////////////////////////////////////////////////////// | ||
|
||
.idea/ | ||
|
||
#////////////////////////// | ||
# VS Code files | ||
#////////////////////////// | ||
|
||
# .vscode/ | ||
|
||
# User settings of Xcode | ||
xcuserdata/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 Tencent | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# cocomat | ||
|
||
## 项目介绍 | ||
|
||
由腾讯团队贡献的一套可在多个业务间复用的高性能、高效能 Cocos Creator 公共组件框架。 | ||
|
||
`cocomat` 的原意是 “椰子树皮编织物” ,与这个项目用于加速 Cocos 业务开发的目的接近。另外 `mat` 与 `mate` 相似,有 “Cocos 的 伙伴” 的含义。 | ||
|
||
`cocomat` 目前主要包括: | ||
|
||
* 一系列 UI 组件,如 `Toast`、`Loading`、`BackBtn` 等; | ||
* 工具组件,如场景管理、截图工具、音频播放、View 管理、内存管理等; | ||
* 一套自研无层级视频播放器。 | ||
|
||
### 关于meta文件行尾的问题 | ||
|
||
检出代码后,打开creator,可能会自动修改meta文件的行尾,导致看到大量meta文件为待提交的状态,可以在命令行输入以下配置,不对文件的行尾进行转换 | ||
|
||
`git config --global core.autocrlf false` | ||
|
||
## 组件列表 | ||
|
||
| 组件名称 | 组件分类 | 用途 | | ||
|-------| -----| ----- | | ||
| [CCMSDFLabel](#) | UI 组件 | 基于SDF的字体渲染实现 | | ||
| [CCMToast](#) | UI 组件 | 一款类似于 Android Toast 的吐司组件 | | ||
| [CCMBackBtn](#) | UI 组件 | 返回按钮组件,搭配 CCMSceneManager,风味更佳 | | ||
| [CCMFitWidget](#) | UI 组件 | 屏幕适配组件 | | ||
| [CCMPicker](#) | UI 组件 | 选择器组件 | | ||
| [CCMCategoryView](#) | UI 组件 | 相对复杂的宫格组件 | | ||
| [CCMVideo](#) | UI 组件 | 一套同层渲染视频组件 | | ||
| [CCMHanziWriter](#) | UI 组件 | 一个用于 CocosCreator 的 HanziWriter 项目 | | ||
| [CCMResLoader](#) | 资源组件 | 封装资源的加载和卸载接口 | | ||
| [CCMResLeakChecker](#) | 资源组件 | 内存泄露检查工具 | | ||
| [CCMSceneManager](#) | 工具组件 | 受 Android Activity 启动模式启发,将其启动模式复刻到了 CocosCreator | | ||
| [CCMAudioManager](#) | 工具组件 | 用来播放本地和远程音频文件 | | ||
| [CCMCapture](#) | 工具组件 | 用来对指定节点进行截图 | | ||
| [CCMUtils](#) | 工具组件 | 提供一些可以提高开发效率的方法 | | ||
| [CCMImageLoader](#) | 工具组件 | 图片加载类,动态加载项目中或者远程图片(实验性功能) | | ||
| [CCMSpineLoader](#) | 工具组件 | 骨骼动画加载类,动态加载项目中或者远程骨骼动画(实验性功能) | | ||
| [CCMBinding](#) | 工具组件 | 一套在TS中绑定Native方法的框架,旨在抹平不同平台的调用差异(实验性功能) | | ||
|
||
## 项目贡献者 | ||
|
||
按昵称首字母序(排名不分先后): | ||
|
||
[宝爷](https://forum.cocos.org/u/111304),[bearhuang](https://blog.csdn.net/hbdatouerzi),[buckethead](https://forum.cocos.org/u/moneycoder),[陈皮皮](https://gitee.com/ifaswind),coolcao,[大风起兮云飞扬](https://forum.cocos.org/u/1111926),[渡鸦](https://forum.cocos.org/u/valiancer),[galiohuang](https://4ndroidev.github.io/),[jianfeili](http://lijianfei.com),[honmono](https://forum.cocos.org/u/1099263878),hughxnwang,[jrainliu](https://jrainlau.github.io/#/),[khanzhang](https://github.com/QinGeneral),legendyu,[next](https://github.com/potato47),[nowpaper](https://github.com/Nowpaper),[wzpan](https://github.com/wzpan),[子龙山人](https://zilongshanren.com/),[子山喵叔](https://forum.cocos.org/u/smilesnow0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"ver": "1.1.2", | ||
"uuid": "ad221e37-7f67-4231-8cdc-23b25584a759", | ||
"isBundle": false, | ||
"bundleName": "", | ||
"priority": 1, | ||
"compressionType": {}, | ||
"optimizeHotUpdate": {}, | ||
"inlineSpriteFrames": {}, | ||
"isRemoteBundle": {}, | ||
"subMetas": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"ver": "1.1.2", | ||
"uuid": "5f153e11-2f26-4a78-8bbf-9fe7b2c037f7", | ||
"isBundle": false, | ||
"bundleName": "", | ||
"priority": 1, | ||
"compressionType": {}, | ||
"optimizeHotUpdate": {}, | ||
"inlineSpriteFrames": {}, | ||
"isRemoteBundle": {}, | ||
"subMetas": {} | ||
} |
Oops, something went wrong.