mirror of
https://gitee.com/dgflash/oops-framework.git
synced 2026-05-12 04:03:26 +08:00
Merge branch 'master' of https://gitee.com/dgflash/oops-framework
# Conflicts: # assets/main.scene
This commit is contained in:
13
README.md
13
README.md
@@ -5,6 +5,12 @@ oops-framework 基于 Cocos Creato 3.x 开发的一款游戏框架
|
||||
1. 提供游戏常用功能库,提高开发效率
|
||||
2. 提供业务模块开发的模板,降低程序设计难度
|
||||
3. 框架内置模块低耦合,可自行删除不需要的模块
|
||||
4. 框架提供游戏常用插件工具
|
||||
|
||||
注:
|
||||
1. [源库链接更新效率更高](https://gitee.com/dgflash/oops-framework)(好用记得给作者一个Star)
|
||||
2. Cocos Creato 3.x 不同版的框架在源库分支中下载,master分支为最新引擎版本
|
||||
3. 学习交流 QQ 群:798575969
|
||||
|
||||
#### 框架使用说明
|
||||
框架里的技术内容是较多,每项技术作者都用到项目中测试过,所以单项技术的稳定性是相对有保证的。开发者拿到框架按自己当前需求了解需要的技术即可。
|
||||
@@ -98,9 +104,4 @@ oops-framework 基于 Cocos Creato 3.x 开发的一款游戏框架
|
||||
#### [新手引导模块 oops-guide](https://store.cocos.com/app/detail/3653)
|
||||
#### [联机游戏框架 oops-mgobe](https://store.cocos.com/app/detail/3574)
|
||||
#### [开源框架 oops-framework gitee](https://gitee.com/dgflash/oops-framework)
|
||||
#### [开源框架 oops-framework github](https://github.com/dgflash/oops-framework)
|
||||
|
||||
#### 学习交流 QQ 群:798575969
|
||||
|
||||
#### 注:
|
||||
Cocos Creator 3.x 不同版本的框架,可在分支中下载
|
||||
#### [开源框架 oops-framework github](https://github.com/dgflash/oops-framework)
|
||||
@@ -1,11 +1,9 @@
|
||||
{
|
||||
"ver": "1.1.38",
|
||||
"importer": "scene",
|
||||
"imported": true,
|
||||
"imported": false,
|
||||
"uuid": "ba0b085f-f8d5-40b0-9964-2fd25728d707",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,5 @@ export class Main extends Root {
|
||||
if (JSB) {
|
||||
oops.gui.toast("热更新后新程序的提示");
|
||||
}
|
||||
|
||||
// console.log(protobuf);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -152,8 +152,17 @@ export default class ResLoader {
|
||||
|
||||
public loadRemote<T extends Asset>(url: string, options: IRemoteOptions | null, onComplete?: CompleteCallback<T> | null): void;
|
||||
public loadRemote<T extends Asset>(url: string, onComplete?: CompleteCallback<T> | null): void;
|
||||
public loadRemote(url: string, ...args: any): void {
|
||||
assetManager.loadRemote(url, args);
|
||||
public loadRemote<T extends Asset>(url: string, ...args: any): void {
|
||||
var options: IRemoteOptions | null = null;
|
||||
var onComplete: CompleteCallback<T> | null = null;
|
||||
if (args.length == 2) {
|
||||
options = args[0];
|
||||
onComplete = args[1];
|
||||
}
|
||||
else {
|
||||
onComplete = args[0];
|
||||
}
|
||||
assetManager.loadRemote<T>(url, options, onComplete);
|
||||
}
|
||||
|
||||
public release(path: string, bundleName: string = "resources") {
|
||||
|
||||
Reference in New Issue
Block a user