mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-19 12:49:25 +08:00
删除样板中的部分加载内容
This commit is contained in:
parent
e947a1e6e8
commit
755500f6d5
@ -32,14 +32,7 @@ loader.prototype._load = function (callback) {
|
||||
|
||||
loader.prototype._load_sync = function (callback) {
|
||||
this._loadAnimates_sync();
|
||||
this._loadMusic_sync();
|
||||
core.loader._loadMaterials_sync(function () {
|
||||
core.loader._loadExtraImages_sync(function () {
|
||||
core.loader._loadAutotiles_sync(function () {
|
||||
core.loader._loadTilesets_sync(callback);
|
||||
});
|
||||
});
|
||||
});
|
||||
callback();
|
||||
};
|
||||
|
||||
loader.prototype._load_async = function (callback) {
|
||||
@ -116,15 +109,6 @@ loader.prototype._load_async = function (callback) {
|
||||
|
||||
loader.prototype._loadMaterials_sync = function (callback) {
|
||||
callback();
|
||||
this._setStartLoadTipText('正在加载资源文件...');
|
||||
this.loadImages(
|
||||
'materials',
|
||||
core.materials,
|
||||
core.material.images,
|
||||
function () {
|
||||
core.loader._loadMaterials_afterLoad();
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
loader.prototype._loadMaterials_async = function (onprogress, onfinished) {
|
||||
|
Loading…
Reference in New Issue
Block a user