mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-09-25 03:23:08 +00:00
v1.0.0-alpha 发布的相关资料完善
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||
"02kcE0s9pAmLe145ftvpR/",
|
||||
"56fc2Ai/RFNYpaMT8crweK",
|
||||
"71VhFCTINJM6/Ky3oX9nBT",
|
||||
"56fc2Ai/RFNYpaMT8crweK",
|
||||
"d2kHe6FidKcpV5e1aiNTQM",
|
||||
"73oJA92A5OPKpn+ZlUPAj1"
|
||||
],
|
@@ -7,8 +7,8 @@
|
||||
"5cO7kybDxGj4ipyMYdRYZB",
|
||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||
"02delMVqdBD70a/HSD99FK",
|
||||
"d608qFRoFHwbXd0Dap056i",
|
||||
"61cyPdEfRN047sDK9rO0W5"
|
||||
"61cyPdEfRN047sDK9rO0W5",
|
||||
"d608qFRoFHwbXd0Dap056i"
|
||||
],
|
||||
"scenes": {
|
||||
"db://assets/main.fire": "catK9m3HRBtYgmebOjC6ma"
|
@@ -12,18 +12,18 @@
|
||||
"uuids": [
|
||||
"76ZjeTsCNJMYn7/rwRXCpD",
|
||||
"03EprhmOVCZKUbb5XyPXQq",
|
||||
"ecpdLyjvZBwrvm+cedCcQy",
|
||||
"a7ZscqX+JCIZRS157bMyhq",
|
||||
"7a/QZLET9IDreTiBfRn2PD",
|
||||
"93dM6KrkZCf5dgNpQwf7T6",
|
||||
"ecpdLyjvZBwrvm+cedCcQy",
|
||||
"f0BIwQ8D5Ml7nTNQbh1YlS",
|
||||
"e97GVMl6JHh5Ml5qEDdSGa",
|
||||
"29FYIk+N1GYaeWH/q1NxQO",
|
||||
"85yTK+9shIo7RQfQ1TDEUi",
|
||||
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
||||
"5cO7kybDxGj4ipyMYdRYZB",
|
||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||
"a7ZscqX+JCIZRS157bMyhq",
|
||||
"85yTK+9shIo7RQfQ1TDEUi",
|
||||
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
||||
"f0BIwQ8D5Ml7nTNQbh1YlS",
|
||||
"e97GVMl6JHh5Ml5qEDdSGa",
|
||||
"29FYIk+N1GYaeWH/q1NxQO",
|
||||
"70VXjGE0JMUqGli0jmCmTF",
|
||||
"87/8ZHBEVIkKeNxmalrn9r",
|
||||
"d0Bu8c2MBCKJc+mKBWzjsJ",
|
||||
@@ -33,24 +33,24 @@
|
||||
],
|
||||
"scenes": {},
|
||||
"redirect": [
|
||||
"ecpdLyjvZBwrvm+cedCcQy",
|
||||
0,
|
||||
"a7ZscqX+JCIZRS157bMyhq",
|
||||
1,
|
||||
"7a/QZLET9IDreTiBfRn2PD",
|
||||
0,
|
||||
"93dM6KrkZCf5dgNpQwf7T6",
|
||||
1,
|
||||
"ecpdLyjvZBwrvm+cedCcQy",
|
||||
0,
|
||||
"85yTK+9shIo7RQfQ1TDEUi",
|
||||
1,
|
||||
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
||||
1,
|
||||
"5cO7kybDxGj4ipyMYdRYZB",
|
||||
2,
|
||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||
2,
|
||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||
2,
|
||||
"a7ZscqX+JCIZRS157bMyhq",
|
||||
1,
|
||||
"85yTK+9shIo7RQfQ1TDEUi",
|
||||
1,
|
||||
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
||||
1,
|
||||
"70VXjGE0JMUqGli0jmCmTF",
|
||||
1,
|
||||
"87/8ZHBEVIkKeNxmalrn9r",
|
@@ -16140,7 +16140,7 @@
|
||||
tooltip: false,
|
||||
notify: function notify(oldValue) {
|
||||
if (this.cacheMode === oldValue) return;
|
||||
oldValue !== CacheMode.BITMAP || this.font instanceof cc.BitmapFont || this._frame && this._frame._resetDynamicAtlasFrame();
|
||||
oldValue !== CacheMode.BITMAP || this.font instanceof cc.BitmapFont || deleteFromDynamicAtlas(this, this._frame);
|
||||
if (oldValue === CacheMode.CHAR) {
|
||||
this._ttfTexture = null;
|
||||
var material = this._materials[0];
|
||||
@@ -16257,9 +16257,11 @@
|
||||
this._assemblerData = null;
|
||||
this._letterTexture = null;
|
||||
if (this._ttfTexture) {
|
||||
this._ttfTexture._packable = false;
|
||||
this._ttfTexture.destroy();
|
||||
this._ttfTexture = null;
|
||||
}
|
||||
this._resetFrame();
|
||||
this._super();
|
||||
},
|
||||
_nodeSizeChanged: function _nodeSizeChanged() {
|
||||
@@ -16334,7 +16336,7 @@
|
||||
this._ttfTexture.initWithElement(this._assemblerData.canvas);
|
||||
}
|
||||
if (this.cacheMode !== CacheMode.CHAR) {
|
||||
this._frame._resetDynamicAtlasFrame();
|
||||
deleteFromDynamicAtlas(this, this._frame);
|
||||
this._frame._refreshTexture(this._ttfTexture);
|
||||
this._srcBlendFactor === cc.macro.BlendFactor.ONE && true && this._ttfTexture.setPremultiplyAlpha(true);
|
||||
}
|
||||
@@ -25756,7 +25758,7 @@
|
||||
preprocessed = version.preprocessed;
|
||||
version = version.version;
|
||||
}
|
||||
if (version < 1) throw new Error(cc.debug.getError(5304, version));
|
||||
if (version < SUPPORT_MIN_FORMAT_VERSION) throw new Error(cc.debug.getError(5304, version));
|
||||
options._version = version;
|
||||
options.result = details;
|
||||
data[0] = options;
|
||||
@@ -25779,7 +25781,7 @@
|
||||
this.version = version;
|
||||
};
|
||||
function unpackJSONs(data, classFinder) {
|
||||
if (data[0] < 1) throw new Error(cc.debug.getError(5304, data[0]));
|
||||
if (data[0] < SUPPORT_MIN_FORMAT_VERSION) throw new Error(cc.debug.getError(5304, data[0]));
|
||||
lookupClasses(data, true, classFinder);
|
||||
cacheMasks(data);
|
||||
var version = new FileInfo(data[0]);
|
||||
@@ -25792,7 +25794,7 @@
|
||||
return sections;
|
||||
}
|
||||
function packCustomObjData(type, data, hasNativeDep) {
|
||||
return [ 1, EMPTY_PLACEHOLDER, EMPTY_PLACEHOLDER, [ type ], EMPTY_PLACEHOLDER, hasNativeDep ? [ data, -1 ] : [ data ], [ 0 ], EMPTY_PLACEHOLDER, [], [], [] ];
|
||||
return [ SUPPORT_MIN_FORMAT_VERSION, EMPTY_PLACEHOLDER, EMPTY_PLACEHOLDER, [ type ], EMPTY_PLACEHOLDER, hasNativeDep ? [ data, -1 ] : [ data ], [ 0 ], EMPTY_PLACEHOLDER, [], [], [] ];
|
||||
}
|
||||
function hasNativeDep(data) {
|
||||
var instances = data[5];
|
||||
@@ -28927,6 +28929,7 @@
|
||||
this._texture.handleLoadedTexture();
|
||||
},
|
||||
destroy: function destroy() {
|
||||
this._texture._packable = false;
|
||||
this._texture.destroy();
|
||||
this._texture = null;
|
||||
Label._canvasPool.put(this._data);
|
1
docs/static/demo/web-desktop/cocos2d-js.js.d053c.map
vendored
Normal file
1
docs/static/demo/web-desktop/cocos2d-js.js.d053c.map
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
docs/static/demo/web-desktop/index.html
vendored
6
docs/static/demo/web-desktop/index.html
vendored
@@ -33,8 +33,8 @@
|
||||
|
||||
<p class="footer">Made with <a href="https://www.cocos.com/products#CocosCreator" title="Cocos Creator">Cocos Creator</a></p>
|
||||
|
||||
<script src="src/settings.e90db.js" charset="utf-8"></script>
|
||||
<script src="main.e12ee.js" charset="utf-8"></script>
|
||||
<script src="src/settings.111b8.js" charset="utf-8"></script>
|
||||
<script src="main.73020.js" charset="utf-8"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
(function () {
|
||||
@@ -60,7 +60,7 @@
|
||||
document.body.appendChild(domScript);
|
||||
}
|
||||
|
||||
loadScript(debug ? 'cocos2d-js.be49f.js' : 'cocos2d-js-min.js', function () {
|
||||
loadScript(debug ? 'cocos2d-js.76b90.js' : 'cocos2d-js-min.js', function () {
|
||||
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
|
||||
loadScript(debug ? 'physics.js' : 'physics-min.js', window.boot);
|
||||
}
|
||||
|
@@ -123,7 +123,7 @@ window.boot = function () {
|
||||
if (window.jsb) {
|
||||
var isRuntime = (typeof loadRuntime === 'function');
|
||||
if (isRuntime) {
|
||||
require('src/settings.e90db.js');
|
||||
require('src/settings.111b8.js');
|
||||
require('src/cocos2d-runtime.js');
|
||||
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
|
||||
require('src/physics.js');
|
||||
@@ -131,7 +131,7 @@ if (window.jsb) {
|
||||
require('jsb-adapter/engine/index.js');
|
||||
}
|
||||
else {
|
||||
require('src/settings.e90db.js');
|
||||
require('src/settings.111b8.js');
|
||||
require('src/cocos2d-jsb.js');
|
||||
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
|
||||
require('src/physics.js');
|
@@ -1,5 +1,5 @@
|
||||
window._CCSettings = {
|
||||
platform: "web-mobile",
|
||||
platform: "web-desktop",
|
||||
groupList: [
|
||||
"default"
|
||||
],
|
||||
@@ -20,10 +20,10 @@ window._CCSettings = {
|
||||
sp: "de22b",
|
||||
internal: "8360b",
|
||||
common: "0ae49",
|
||||
home: "ae706",
|
||||
home: "72e22",
|
||||
"multi-render": "67d3d",
|
||||
spine: "6066d",
|
||||
spine: "2adf8",
|
||||
"text-render": "2db47",
|
||||
main: "f3bf0"
|
||||
main: "ffc79"
|
||||
}
|
||||
};
|
@@ -21,8 +21,8 @@
|
||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||
"02kcE0s9pAmLe145ftvpR/",
|
||||
"56fc2Ai/RFNYpaMT8crweK",
|
||||
"71VhFCTINJM6/Ky3oX9nBT",
|
||||
"d2kHe6FidKcpV5e1aiNTQM",
|
||||
"71VhFCTINJM6/Ky3oX9nBT",
|
||||
"73oJA92A5OPKpn+ZlUPAj1"
|
||||
],
|
||||
"scenes": {},
|
@@ -6,8 +6,8 @@
|
||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||
"5cO7kybDxGj4ipyMYdRYZB",
|
||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||
"02delMVqdBD70a/HSD99FK",
|
||||
"d608qFRoFHwbXd0Dap056i",
|
||||
"02delMVqdBD70a/HSD99FK",
|
||||
"61cyPdEfRN047sDK9rO0W5"
|
||||
],
|
||||
"scenes": {
|
@@ -12,18 +12,18 @@
|
||||
"uuids": [
|
||||
"76ZjeTsCNJMYn7/rwRXCpD",
|
||||
"03EprhmOVCZKUbb5XyPXQq",
|
||||
"ecpdLyjvZBwrvm+cedCcQy",
|
||||
"a7ZscqX+JCIZRS157bMyhq",
|
||||
"7a/QZLET9IDreTiBfRn2PD",
|
||||
"93dM6KrkZCf5dgNpQwf7T6",
|
||||
"85yTK+9shIo7RQfQ1TDEUi",
|
||||
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
||||
"5cO7kybDxGj4ipyMYdRYZB",
|
||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||
"ecpdLyjvZBwrvm+cedCcQy",
|
||||
"f0BIwQ8D5Ml7nTNQbh1YlS",
|
||||
"e97GVMl6JHh5Ml5qEDdSGa",
|
||||
"29FYIk+N1GYaeWH/q1NxQO",
|
||||
"5cO7kybDxGj4ipyMYdRYZB",
|
||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||
"a7ZscqX+JCIZRS157bMyhq",
|
||||
"85yTK+9shIo7RQfQ1TDEUi",
|
||||
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
||||
"70VXjGE0JMUqGli0jmCmTF",
|
||||
"87/8ZHBEVIkKeNxmalrn9r",
|
||||
"d0Bu8c2MBCKJc+mKBWzjsJ",
|
||||
@@ -33,24 +33,24 @@
|
||||
],
|
||||
"scenes": {},
|
||||
"redirect": [
|
||||
"ecpdLyjvZBwrvm+cedCcQy",
|
||||
0,
|
||||
"a7ZscqX+JCIZRS157bMyhq",
|
||||
1,
|
||||
"7a/QZLET9IDreTiBfRn2PD",
|
||||
0,
|
||||
"93dM6KrkZCf5dgNpQwf7T6",
|
||||
1,
|
||||
"85yTK+9shIo7RQfQ1TDEUi",
|
||||
1,
|
||||
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
||||
1,
|
||||
"ecpdLyjvZBwrvm+cedCcQy",
|
||||
0,
|
||||
"5cO7kybDxGj4ipyMYdRYZB",
|
||||
2,
|
||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||
2,
|
||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||
2,
|
||||
"a7ZscqX+JCIZRS157bMyhq",
|
||||
1,
|
||||
"85yTK+9shIo7RQfQ1TDEUi",
|
||||
1,
|
||||
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
||||
1,
|
||||
"70VXjGE0JMUqGli0jmCmTF",
|
||||
1,
|
||||
"87/8ZHBEVIkKeNxmalrn9r",
|
@@ -16140,7 +16140,7 @@
|
||||
tooltip: false,
|
||||
notify: function notify(oldValue) {
|
||||
if (this.cacheMode === oldValue) return;
|
||||
oldValue !== CacheMode.BITMAP || this.font instanceof cc.BitmapFont || this._frame && this._frame._resetDynamicAtlasFrame();
|
||||
oldValue !== CacheMode.BITMAP || this.font instanceof cc.BitmapFont || deleteFromDynamicAtlas(this, this._frame);
|
||||
if (oldValue === CacheMode.CHAR) {
|
||||
this._ttfTexture = null;
|
||||
var material = this._materials[0];
|
||||
@@ -16257,9 +16257,11 @@
|
||||
this._assemblerData = null;
|
||||
this._letterTexture = null;
|
||||
if (this._ttfTexture) {
|
||||
this._ttfTexture._packable = false;
|
||||
this._ttfTexture.destroy();
|
||||
this._ttfTexture = null;
|
||||
}
|
||||
this._resetFrame();
|
||||
this._super();
|
||||
},
|
||||
_nodeSizeChanged: function _nodeSizeChanged() {
|
||||
@@ -16334,7 +16336,7 @@
|
||||
this._ttfTexture.initWithElement(this._assemblerData.canvas);
|
||||
}
|
||||
if (this.cacheMode !== CacheMode.CHAR) {
|
||||
this._frame._resetDynamicAtlasFrame();
|
||||
deleteFromDynamicAtlas(this, this._frame);
|
||||
this._frame._refreshTexture(this._ttfTexture);
|
||||
this._srcBlendFactor === cc.macro.BlendFactor.ONE && true && this._ttfTexture.setPremultiplyAlpha(true);
|
||||
}
|
||||
@@ -28927,6 +28929,7 @@
|
||||
this._texture.handleLoadedTexture();
|
||||
},
|
||||
destroy: function destroy() {
|
||||
this._texture._packable = false;
|
||||
this._texture.destroy();
|
||||
this._texture = null;
|
||||
Label._canvasPool.put(this._data);
|
1
docs/static/demo/web-mobile/cocos2d-js.js.71a17.map
vendored
Normal file
1
docs/static/demo/web-mobile/cocos2d-js.js.71a17.map
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
docs/static/demo/web-mobile/index.html
vendored
6
docs/static/demo/web-mobile/index.html
vendored
@@ -48,9 +48,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="src/settings.d400b.js" charset="utf-8"></script>
|
||||
<script src="src/settings.3fc5b.js" charset="utf-8"></script>
|
||||
<script src="vconsole.min.bac6b.js"></script>
|
||||
<script src="main.72e99.js" charset="utf-8"></script>
|
||||
<script src="main.7c48f.js" charset="utf-8"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
(function () {
|
||||
@@ -76,7 +76,7 @@
|
||||
document.body.appendChild(domScript);
|
||||
}
|
||||
|
||||
loadScript(debug ? 'cocos2d-js.a0714.js' : 'cocos2d-js-min.js', function () {
|
||||
loadScript(debug ? 'cocos2d-js.aea7a.js' : 'cocos2d-js-min.js', function () {
|
||||
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
|
||||
loadScript(debug ? 'physics.js' : 'physics-min.js', window.boot);
|
||||
}
|
||||
|
@@ -123,7 +123,7 @@ window.boot = function () {
|
||||
if (window.jsb) {
|
||||
var isRuntime = (typeof loadRuntime === 'function');
|
||||
if (isRuntime) {
|
||||
require('src/settings.d400b.js');
|
||||
require('src/settings.3fc5b.js');
|
||||
require('src/cocos2d-runtime.js');
|
||||
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
|
||||
require('src/physics.js');
|
||||
@@ -131,7 +131,7 @@ if (window.jsb) {
|
||||
require('jsb-adapter/engine/index.js');
|
||||
}
|
||||
else {
|
||||
require('src/settings.d400b.js');
|
||||
require('src/settings.3fc5b.js');
|
||||
require('src/cocos2d-jsb.js');
|
||||
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
|
||||
require('src/physics.js');
|
@@ -1,5 +1,5 @@
|
||||
window._CCSettings = {
|
||||
platform: "web-desktop",
|
||||
platform: "web-mobile",
|
||||
groupList: [
|
||||
"default"
|
||||
],
|
||||
@@ -20,10 +20,10 @@ window._CCSettings = {
|
||||
sp: "de22b",
|
||||
internal: "8360b",
|
||||
common: "0ae49",
|
||||
home: "ae706",
|
||||
home: "196b1",
|
||||
"multi-render": "0487e",
|
||||
spine: "5b7f8",
|
||||
spine: "f8543",
|
||||
"text-render": "2db47",
|
||||
main: "f3bf0"
|
||||
main: "1cd53"
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user