cocos-enhance-kit/assets/js/55d83d6b.f7aa0af5.js
2024-11-08 21:50:57 +08:00

1 line
23 KiB
JavaScript

"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2097],{3905:function(e,t,n){n.d(t,{Zo:function(){return s},kt:function(){return m}});var a=n(67294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var p=a.createContext({}),c=function(e){var t=a.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},s=function(e){var t=c(e.components);return a.createElement(p.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){var n=e.components,i=e.mdxType,r=e.originalType,p=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),d=c(n),m=i,k=d["".concat(p,".").concat(m)]||d[m]||u[m]||r;return n?a.createElement(k,l(l({ref:t},s),{},{components:n})):a.createElement(k,l({ref:t},s))}));function m(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=n.length,l=new Array(r);l[0]=d;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:i,l[1]=o;for(var c=2;c<r;c++)l[c]=n[c];return a.createElement.apply(null,l)}return a.createElement.apply(null,n)}d.displayName="MDXCreateElement"},63045:function(e,t,n){n.r(t),n.d(t,{assets:function(){return s},contentTitle:function(){return p},default:function(){return m},frontMatter:function(){return o},metadata:function(){return c},toc:function(){return u}});var a=n(87462),i=n(63366),r=(n(67294),n(3905)),l=["components"],o={sidebar_position:1,title:"\u4ecb\u7ecd",hide_title:!0},p=void 0,c={unversionedId:"intro",id:"version-1.2.0/intro",title:"\u4ecb\u7ecd",description:"logo",source:"@site/versioned_docs/version-1.2.0/intro.md",sourceDirName:".",slug:"/intro",permalink:"/cocos-enhance-kit/docs/1.2.0/intro",draft:!1,tags:[],version:"1.2.0",sidebarPosition:1,frontMatter:{sidebar_position:1,title:"\u4ecb\u7ecd",hide_title:!0},sidebar:"tutorialSidebar",next:{title:"\u5b89\u88c5\u6307\u5357",permalink:"/cocos-enhance-kit/docs/1.2.0/installation-guide/installation-intro"}},s={},u=[{value:"\u91cd\u8981\u7279\u6027",id:"\u91cd\u8981\u7279\u6027",level:2},{value:"\u529f\u80fd\u6f14\u793a",id:"\u529f\u80fd\u6f14\u793a",level:2},{value:"\u4f7f\u7528\u65b9\u6cd5",id:"\u4f7f\u7528\u65b9\u6cd5",level:2},{value:"\u66f4\u65b0\u65e5\u5fd7",id:"\u66f4\u65b0\u65e5\u5fd7",level:2},{value:"Enhance Kit v1.2.0",id:"enhance-kit-v120",level:3},{value:"Enhance Kit v1.1.0",id:"enhance-kit-v110",level:3},{value:"Enhance Kit v1.0.0",id:"enhance-kit-v100",level:3},{value:"\u8d21\u732e\u6307\u5357",id:"\u8d21\u732e\u6307\u5357",level:2},{value:"\u5e38\u89c1\u95ee\u9898",id:"\u5e38\u89c1\u95ee\u9898",level:2},{value:"\u4e3a\u4ec0\u4e48\u8981\u76f4\u63a5\u4fee\u6539\u5f15\u64ce\uff1f",id:"\u4e3a\u4ec0\u4e48\u8981\u76f4\u63a5\u4fee\u6539\u5f15\u64ce",level:3},{value:"\u542f\u52a8 Cocos Creator \u62a5 Error: Can not parse this input:undefined \u9519\u8bef",id:"\u542f\u52a8-cocos-creator-\u62a5-error-can-not-parse-this-inputundefined-\u9519\u8bef",level:3},{value:"\u539f\u751f\u5e73\u53f0\u6216\u6a21\u62df\u5668\u62a5\u9519\uff1aAssertion failed: (_type == Type::String), function toString, file Value.cpp, line 496.",id:"\u539f\u751f\u5e73\u53f0\u6216\u6a21\u62df\u5668\u62a5\u9519assertion-failed-_type--typestring-function-tostring-file-valuecpp-line-496",level:3},{value:"\u4f7f\u7528\u6a21\u62df\u5668\u9884\u89c8\u65f6\u51fa\u73b0\u5404\u79cd\u95ee\u9898",id:"\u4f7f\u7528\u6a21\u62df\u5668\u9884\u89c8\u65f6\u51fa\u73b0\u5404\u79cd\u95ee\u9898",level:3},{value:"Spine \u7ec4\u4ef6\u51fa\u73b0 Uncaught TypeError: Cannot read property \u2018load\u2019 of null, location: src/cocos2d-jsb.b5158.js \u7b49\u95ee\u9898",id:"spine-\u7ec4\u4ef6\u51fa\u73b0-uncaught-typeerror-cannot-read-property-load-of-null-location-srccocos2d-jsbb5158js-\u7b49\u95ee\u9898",level:3}],d={toc:u};function m(e){var t=e.components,o=(0,i.Z)(e,l);return(0,r.kt)("wrapper",(0,a.Z)({},d,o,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"logo",src:n(57558).Z,width:"208",height:"304"})),(0,r.kt)("p",null,"\u8fd9\u662f\u4e00\u4e2a\u63d0\u4f9b Cocos Creator \u5f15\u64ce\u7279\u6027\u589e\u5f3a\u3001\u4fee\u590d\u4e0e\u4f18\u5316\u7684",(0,r.kt)("strong",{parentName:"p"},"\u5f00\u6e90\u975e\u5b98\u65b9\u589e\u5f3a\u5305"),"\u3002"),(0,r.kt)("p",null,"\u8be5\u9879\u76ee\u4f7f\u7528\u81ea\u5b9a\u4e49\u5f15\u64ce\u7684\u65b9\u5f0f\u5728\u7b26\u5408\u539f\u59cb\u5f15\u64ce\u67b6\u6784\u8bbe\u8ba1\u7684\u57fa\u7840\u4e0a\u4e3a Cocos Creator \u5f15\u64ce\u52a0\u5165\u65b0\u7684\u7279\u6027\u3001\u4fee\u590d\u5df2\u77e5\u95ee\u9898\u4ee5\u53ca\u6027\u80fd\u4f18\u5316\u3002"),(0,r.kt)("p",null,"\u6b63\u56e0\u4e3a\u5982\u6b64\uff0c\u589e\u5f3a\u5305\u4e2d\u7684\u5927\u90e8\u5206\u7279\u6027\u80fd\u50cf\u5347\u7ea7\u5f15\u64ce\u7248\u672c\u4e00\u6837\u65e0\u9700\u6539\u52a8\u9879\u76ee\u4ee3\u7801\u5373\u53ef\u751f\u6548\u3002"),(0,r.kt)("div",{className:"admonition admonition-info alert alert--info"},(0,r.kt)("div",{parentName:"div",className:"admonition-heading"},(0,r.kt)("h5",{parentName:"div"},(0,r.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,r.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,r.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"\u9879\u76ee\u7684\u8d77\u6e90")),(0,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("p",{parentName:"div"},"2021 \u5e74 2 \u6708\uff0cCocos \u53d1\u5e03 Cocos Creator 3.0\uff0c\u4e4b\u540e\u4e0d\u4f1a\u518d\u5f00\u53d1 2.x \u7248\u672c\u7684\u65b0\u7279\u6027\uff0c\u4f46 2.x \u5728\u4e00\u4e9b\u65b9\u9762\u8fd8\u5e76\u4e0d\u5b8c\u5584\uff0c\u6240\u4ee5\u8fd9\u4e2a\u975e\u5b98\u65b9\u7684\u5f15\u64ce\u201c\u9b54\u6539\u201d\u5408\u96c6\u5e94\u8fd0\u800c\u751f\u3002"),(0,r.kt)("p",{parentName:"div"},"\u7ed9\u9879\u76ee\u53d6\u540d\u7684\u65f6\u5019\u60f3\u5230\u76f8\u4f3c\u7684\u4e8b\u60c5\u53d1\u751f\u5728 2014 \u5e74 4 \u6708\uff0c\u5b98\u65b9\u505c\u6b62\u4e86\u5bf9 Windows XP \u7684\u7ef4\u62a4\uff0c\u4e4b\u540e Harkaz \u53d1\u5e03\u4e86\u4e00\u4e2a\u975e\u5b98\u65b9\u589e\u5f3a\u5305 Service Pack 4 (SP4)\u3002"),(0,r.kt)("p",{parentName:"div"},"\u53d7\u5230\u8fd9\u4e2a\u547d\u540d\u7684\u542f\u53d1\uff0c\u9042\u60f3\u5c06\u9879\u76ee\u53d6\u540d\u4e3a Service Pack\u3002"),(0,r.kt)("p",{parentName:"div"},"\u4f46\u662f\u8fd9\u4e2a\u540d\u5b57\u6709\u70b9\u602a\u602a\u7684\uff0c\u6700\u540e\u5728 \u9e92\u9e9f\u5b50(Kylins) \u7684\u5e2e\u52a9\u4e0b\uff0c\u6211\u4eec\u4e3a\u9879\u76ee\u60f3\u5230\u4e86\u4e00\u4e2a\u66f4\u597d\u7684\u540d\u5b57\uff0cEnhance Kit\uff0c\u518d\u6b21\u611f\u8c22 \u9e92\u9e9f\u5b50(Kylins)\u3002"))),(0,r.kt)("h2",{id:"\u91cd\u8981\u7279\u6027"},"\u91cd\u8981\u7279\u6027"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},"\u652f\u6301\u591a\u7eb9\u7406\u6e32\u67d3"),"\uff08\u591a\u7eb9\u7406\u6750\u8d28\u3001\u591a\u7eb9\u7406\u5408\u6279\uff09\n",(0,r.kt)("img",{alt:"demo1",src:n(45637).Z,width:"1918",height:"1198"}))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},"\u652f\u6301\u9ad8 DPI \u6587\u672c\u6e32\u67d3"),"\uff08Label\u3001RichText \u7ec4\u4ef6\uff09\n",(0,r.kt)("img",{alt:"demo4",src:n(44927).Z,width:"1924",height:"1200"}))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},"\u91cd\u6784\u52a8\u6001\u5408\u56fe"),"\uff08\u652f\u6301\u81ea\u52a8\u591a\u7eb9\u7406\u5408\u6279\u3001\u4f18\u5316\u7b97\u6cd5\u3001\u590d\u7528\u5e9f\u5f03\u7a7a\u95f4\u7b49\u7279\u6027\uff09\n",(0,r.kt)("img",{alt:"demo2",src:n(48039).Z,width:"1894",height:"1200"}))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},"\u91cd\u6784 Label \u7ec4\u4ef6\u7684 CHAR \u7f13\u5b58\u6a21\u5f0f"),"\uff08\u652f\u6301\u81ea\u52a8\u591a\u7eb9\u7406\u5408\u6279\u3001\u591a\u56fe\u96c6\u3001\u590d\u7528\u5e9f\u5f03\u7a7a\u95f4\u7b49\u7279\u6027\uff09\n",(0,r.kt)("img",{alt:"demo3",src:n(98549).Z,width:"1918",height:"1200"}))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},"Spine \u7ec4\u4ef6\u652f\u6301\u4e0e\u5176\u5b83\u7ec4\u4ef6\u5408\u6279\u3001\u5408\u5165\u52a8\u6001\u56fe\u96c6\u4e0e SpriteFrame \u6362\u88c5"),"\n",(0,r.kt)("img",{alt:"demo5",src:n(56908).Z,width:"1922",height:"1202"})))),(0,r.kt)("h2",{id:"\u529f\u80fd\u6f14\u793a"},"\u529f\u80fd\u6f14\u793a"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://smallmain.gitee.io/cocos-enhance-kit/demo/v1.0.0/web-desktop/index.html"},"Web Desktop \u6f14\u793a\u9879\u76ee")),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://smallmain.gitee.io/cocos-enhance-kit/demo/v1.0.0/web-mobile/index.html"},"Web Mobile \u6f14\u793a\u9879\u76ee"),"\uff08\u8bf7\u5c06\u8bbe\u5907\u6a2a\u5c4f\uff09"),(0,r.kt)("div",{className:"admonition admonition-note alert alert--secondary"},(0,r.kt)("div",{parentName:"div",className:"admonition-heading"},(0,r.kt)("h5",{parentName:"div"},(0,r.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,r.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,r.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"}))),"\u63d0\u793a")),(0,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("p",{parentName:"div"},"\u589e\u5f3a\u5305\u5bf9\u5f15\u64ce\u7684\u6539\u52a8\u5b8c\u5168\u5f00\u6e90\uff0c\u6bcf\u4e2a\u6539\u52a8\u4f1a\u5e26\u6709\u539f\u7406\u8bf4\u660e\u6587\u6863\uff0c\u5f53\u4f60\u53d1\u73b0\u95ee\u9898\u65f6\u8bf7\u4e0e\u6211\u4eec\u8fdb\u884c\u53cd\u9988\uff0c\u5982\u679c\u4f60\u6709\u5174\u81f4\uff0c\u53ef\u4ee5\u9ed8\u9ed8\u5e05\u6c14\u5730\u63d0\u4ea4\u4e00\u4e2a PR\uff0c\u5e2e\u52a9\u6211\u4eec\u4e00\u8d77\u5b8c\u5584\u8fd9\u4e2a\u9879\u76ee\u3002"))),(0,r.kt)("h2",{id:"\u4f7f\u7528\u65b9\u6cd5"},"\u4f7f\u7528\u65b9\u6cd5"),(0,r.kt)("p",null,"\u8bf7\u9605\u8bfb\u6587\u6863\u7684 ",(0,r.kt)("a",{parentName:"p",href:"/cocos-enhance-kit/docs/1.2.0/installation-guide/installation-intro"},"\u5b89\u88c5\u6307\u5357")," \u4e0e ",(0,r.kt)("a",{parentName:"p",href:"/cocos-enhance-kit/docs/1.2.0/start-guide/start-guide-intro"},"\u5165\u95e8\u6559\u7a0b"),"\u3002"),(0,r.kt)("h2",{id:"\u66f4\u65b0\u65e5\u5fd7"},"\u66f4\u65b0\u65e5\u5fd7"),(0,r.kt)("h3",{id:"enhance-kit-v120"},"Enhance Kit v1.2.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("strong",{parentName:"li"},"[\u65b0\u7279\u6027]"," cc.TiledLayer \u652f\u6301\u590d\u7528 Culling \u6570\u636e")),(0,r.kt)("li",{parentName:"ul"},"[\u4fee\u590d]"," \u4fee\u590d MotionStreak \u521d\u59cb\u5316\u62a5\u9519\u7684\u95ee\u9898"),(0,r.kt)("li",{parentName:"ul"},"[\u4fee\u590d]"," \u4fee\u590d\u52fe\u9009\u5ef6\u8fdf\u52a0\u8f7d\u8d44\u6e90\u65f6\u8d44\u6e90\u4e0d\u4f1a\u52a0\u8f7d\u7684\u95ee\u9898")),(0,r.kt)("h3",{id:"enhance-kit-v110"},"Enhance Kit v1.1.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("strong",{parentName:"li"},"[\u65b0\u7279\u6027]"," \u52a8\u6001\u5408\u56fe\u5728\u7b26\u5408\u6761\u4ef6\u7684\u60c5\u51b5\u4e0b\u4f1a\u5ffd\u7565 padding \u5c06\u7eb9\u7406\u52a0\u5165\u52a8\u6001\u56fe\u96c6")),(0,r.kt)("li",{parentName:"ul"},"[\u4fee\u590d]"," \u4fee\u590d\u52a8\u6001\u56fe\u96c6 maxFrameSize \u80fd\u8bbe\u7f6e\u4e3a\u8d85\u51fa\u56fe\u96c6\u5c3a\u5bf8\u5927\u5c0f\u7684\u95ee\u9898"),(0,r.kt)("li",{parentName:"ul"},"[\u4fee\u590d]"," \u4fee\u590d Spine \u52a8\u6001\u5408\u56fe\u65f6\u672a\u5224\u65ad attachment \u662f\u5426\u5b58\u5728 region \u5bf9\u8c61\u5bfc\u81f4\u62a5\u9519\u7684\u95ee\u9898"),(0,r.kt)("li",{parentName:"ul"},"[\u4fee\u590d]"," \u4fee\u590d Android \u5e73\u53f0\u6253\u5305\u51fa\u73b0 Implicit instantiation of undefined template \u9519\u8bef")),(0,r.kt)("h3",{id:"enhance-kit-v100"},"Enhance Kit v1.0.0"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("strong",{parentName:"li"},"[\u65b0\u7279\u6027]"," \u652f\u6301\u591a\u7eb9\u7406\u6e32\u67d3")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("strong",{parentName:"li"},"[\u65b0\u7279\u6027]"," \u91cd\u6784\u52a8\u6001\u56fe\u96c6\uff0c\u652f\u6301\u591a\u4e2a\u65b0\u7279\u6027")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("strong",{parentName:"li"},"[\u65b0\u7279\u6027]"," \u91cd\u6784 cc.Label \u7684 Char \u7f13\u5b58\u6a21\u5f0f\uff0c\u652f\u6301\u591a\u4e2a\u65b0\u7279\u6027")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("strong",{parentName:"li"},"[\u65b0\u7279\u6027]"," \u652f\u6301\u9ad8 DPI \u6587\u672c\u6e32\u67d3")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("strong",{parentName:"li"},"[\u65b0\u7279\u6027]"," Spine \u7ec4\u4ef6\u652f\u6301\u53c2\u4e0e\u52a8\u6001\u56fe\u96c6\u3001\u4e0e\u5176\u5b83\u7ec4\u4ef6\u5408\u6279\u3001\u4f7f\u7528 SpriteFrame \u6362\u88c5")),(0,r.kt)("li",{parentName:"ul"},"[\u65b0\u7279\u6027]"," cc.Label\u3001cc.RichText\u3001cc.Sprite\u3001cc.MotionStreak\u3001Spine \u7ec4\u4ef6\u652f\u6301\u4f7f\u7528\u591a\u7eb9\u7406\u6750\u8d28\uff0c\u5e76\u652f\u6301\u81ea\u52a8\u5207\u6362\u6750\u8d28\u673a\u5236"),(0,r.kt)("li",{parentName:"ul"},"[\u65b0\u7279\u6027]"," cc.RichText \u652f\u6301\u4f7f\u7528\u81ea\u5b9a\u4e49\u6750\u8d28"),(0,r.kt)("li",{parentName:"ul"},"[\u4fee\u590d]"," \u76f4\u63a5\u4fee\u6539 Effect \u7684\u5c5e\u6027\u4e0d\u4f1a\u5bfc\u81f4\u5176\u53d8\u4f53\u7684 hash \u503c\u5237\u65b0"),(0,r.kt)("li",{parentName:"ul"},"[\u4fee\u590d]"," CHAR \u7f13\u5b58\u6a21\u5f0f hash \u8ba1\u7b97\u53ef\u80fd\u4f1a\u6709\u91cd\u590d\u7684\u95ee\u9898"),(0,r.kt)("li",{parentName:"ul"},"[\u8c03\u6574]"," \u9ed8\u8ba4\u7981\u7528 Label \u539f\u751f TTF \u6e32\u67d3\u5668")),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"./update-log"},"\u70b9\u6b64")," \u67e5\u770b\u6240\u6709\u7684\u66f4\u65b0\u65e5\u5fd7\u3002"),(0,r.kt)("h2",{id:"\u8d21\u732e\u6307\u5357"},"\u8d21\u732e\u6307\u5357"),(0,r.kt)("p",null,"\u975e\u5e38\u6b22\u8fce\u4f60\u80fd\u548c\u6211\u4eec\u4e00\u8d77\u6765\u5b8c\u5584\u8fd9\u4e2a\u9879\u76ee\uff0c\u8bf7\u901a\u8fc7 Github \u8fdb\u884c\uff1a"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"\u5982\u679c\u4f60\u53d1\u73b0\u4e86\u95ee\u9898\u8bf7\u5efa\u7acb ",(0,r.kt)("inlineCode",{parentName:"li"},"Issues")),(0,r.kt)("li",{parentName:"ul"},"\u5982\u679c\u4f60\u6709\u597d\u7684\u60f3\u6cd5\uff0c\u8bf7\u8fdb\u5165 ",(0,r.kt)("inlineCode",{parentName:"li"},"Discussions")),(0,r.kt)("li",{parentName:"ul"},"\u5982\u679c\u4f60\u6709\u65b0\u7684\u4ee3\u7801\u63d0\u4ea4\uff0c\u8bf7\u5efa\u7acb ",(0,r.kt)("inlineCode",{parentName:"li"},"Pull requests"))),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"\u539f\u5219\u4e0a\u4f60\u63d0\u4ea4\u7684\u4efb\u4f55\u4fee\u6539\u90fd\u4e0d\u80fd\u5f71\u54cd\u5f15\u64ce\u539f\u6709\u529f\u80fd\uff0c\u4e0d\u5141\u8bb8\u5220\u9664\u5f15\u64ce\u539f\u6709\u7684\u7279\u6027\uff0c\u8bf7\u8ba4\u771f\u601d\u8003\u4ee3\u7801\u8bbe\u8ba1\u3002")),(0,r.kt)("h2",{id:"\u5e38\u89c1\u95ee\u9898"},"\u5e38\u89c1\u95ee\u9898"),(0,r.kt)("h3",{id:"\u4e3a\u4ec0\u4e48\u8981\u76f4\u63a5\u4fee\u6539\u5f15\u64ce"},"\u4e3a\u4ec0\u4e48\u8981\u76f4\u63a5\u4fee\u6539\u5f15\u64ce\uff1f"),(0,r.kt)("p",null,"\u76f4\u63a5\u4fee\u6539\u5f15\u64ce\u53ef\u80fd\u662f\u5927\u90e8\u5206\u4eba\u8ba4\u4e3a\u7684\u4e0b\u4e0b\u7b56\uff0c\u6bd4\u5982\u6211\u4eec\u5e38\u542c\u5230\u7684\uff1a"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"\u53ef\u4ee5\u901a\u8fc7 \u201c\u4fee\u6539\u5bf9\u8c61\u539f\u578b\u201d \u7b49\u7f16\u7a0b\u6280\u5de7\u5c06\u6539\u52a8\u505a\u6210\u4e00\u4e2a\u63d2\u4ef6\u811a\u672c"),(0,r.kt)("li",{parentName:"ul"},"\u6ca1\u63a5\u89e6\u8fc7\u81ea\u5b9a\u4e49\u5f15\u64ce\uff0c\u4e0d\u77e5\u9053\u8be5\u5982\u4f55\u4f7f\u7528"),(0,r.kt)("li",{parentName:"ul"},"\u5df2\u7ecf\u4fee\u6539\u8fc7\u5f15\u64ce\u4e86\uff0c\u4e0d\u80fd\u76f4\u63a5\u8fdb\u884c\u6807\u51c6\u5b89\u88c5\uff0c\u4f1a\u8986\u76d6\u539f\u6709\u7684\u4fee\u6539")),(0,r.kt)("p",null,"\u4ee5\u4e0a\u95ee\u9898\u6211\u4eec\u90fd\u601d\u8003\u8fc7\uff0c\u9996\u5148\uff0c\u73b0\u5728\u5f15\u64ce\u7684 2.x \u7248\u672c\u5df2\u7ecf\u505c\u6b62\u4e86\u66f4\u65b0\uff08\u4ec5\u505a\u4e00\u4e9b\u7ef4\u62a4\u5de5\u4f5c\uff09\uff0c\u4e5f\u5c31\u662f\u8bf4\u4fee\u6539\u5f15\u64ce\u4e0d\u4f1a\u9047\u5230\u5728\u5b98\u65b9\u65b0\u7248\u672c\u53d1\u5e03\u540e\u9700\u8981\u7528\u5927\u91cf\u65f6\u95f4\u53bb\u9002\u914d\u7684\u60c5\u51b5\u3002"),(0,r.kt)("p",null,"\u5176\u6b21\uff0c\u5373\u4f7f\u589e\u5f3a\u5305\u7684\u6240\u6709\u6539\u52a8\u90fd\u80fd\u505a\u6210\u4e00\u4e2a\u63d2\u4ef6\u811a\u672c\uff0c\u4f46\u65e0\u6cd5\u517c\u5bb9\u539f\u751f\u5e73\u53f0\uff0c\u5e76\u4e14\u4e00\u822c\u90fd\u9700\u8981\u5927\u91cf\u62f7\u8d1d\u4ee3\u7801\uff0c\u5305\u4f53\u4f1a\u589e\u5927\uff0c\u53ef\u7ef4\u62a4\u6027\u4f1a\u5927\u5e45\u964d\u4f4e\u3002"),(0,r.kt)("p",null,"\u6700\u540e\uff0c\u6211\u4eec\u5e0c\u671b\u5b83\u63a5\u8fd1 \u201c\u539f\u751f\u201d \u7684\u4f7f\u7528\u4f53\u9a8c\uff0c\u5c31\u50cf\u5f15\u64ce\u672c\u6765\u5c31\u6709\u7684\u529f\u80fd\u4e00\u6837\uff0c\u5bf9\u4e8e\u6ca1\u6709\u63a5\u89e6\u8fc7\u81ea\u5b9a\u4e49\u5f15\u64ce\u7684\u4eba\uff0c\u53ef\u4ee5\u901a\u8fc7\u5f15\u64ce\u6269\u5c55\u4e00\u952e\u5b89\u88c5\u3002"),(0,r.kt)("p",null,"\u5bf9\u4e8e\u5df2\u7ecf\u4fee\u6539\u8fc7\u5f15\u64ce\u7684\u4eba\uff0c\u7531\u4e8e\u589e\u5f3a\u5305\u63d0\u4f9b\u7684\u662f Git Patch\uff0c\u6240\u4ee5\u53ef\u4ee5\u8ba9\u4f60\u5728\u539f\u6709\u7684\u57fa\u7840\u4e0a\u8f7b\u677e\u5e94\u7528\u589e\u5f3a\u5305\u7684\u6539\u52a8\uff0c\u4f60\u751a\u81f3\u53ef\u4ee5\u53ea\u9009\u53d6\u4f60\u60f3\u8981\u7684\u7279\u6027\u8fdb\u884c\u5e94\u7528\u3002"),(0,r.kt)("h3",{id:"\u542f\u52a8-cocos-creator-\u62a5-error-can-not-parse-this-inputundefined-\u9519\u8bef"},"\u542f\u52a8 Cocos Creator \u62a5 Error: Can not parse this input:undefined \u9519\u8bef"),(0,r.kt)("p",null,"\u8fd9\u662f\u4f60\u53ef\u80fd\u5fd8\u8bb0\u5b89\u88c5\u914d\u5957\u7684\u5f15\u64ce\u6269\u5c55\uff0c\u6240\u4ee5\u6ca1\u6709\u627e\u5230\u589e\u5f3a\u5305\u7684\u5185\u7f6e\u8d44\u6e90\u5bfc\u81f4\u7684\u62a5\u9519\u3002"),(0,r.kt)("h3",{id:"\u539f\u751f\u5e73\u53f0\u6216\u6a21\u62df\u5668\u62a5\u9519assertion-failed-_type--typestring-function-tostring-file-valuecpp-line-496"},"\u539f\u751f\u5e73\u53f0\u6216\u6a21\u62df\u5668\u62a5\u9519\uff1aAssertion failed: (_type == Type::String), function toString, file Value.cpp, line 496."),(0,r.kt)("p",null,"\u8fd9\u662f\u4f60\u6ca1\u6709\u66ff\u6362\u5f15\u64ce\u7684 ",(0,r.kt)("inlineCode",{parentName:"p"},"jsb-adapter")," \u90e8\u5206\uff0c\u6216\u8005\u8bf4\u6ca1\u6709\u91cd\u542f\u4ee5\u751f\u6548\u3002"),(0,r.kt)("p",null,"\u6ce8\u610f\uff1a\u539f\u751f\u5e73\u53f0\u6784\u5efa\u65f6\u53ef\u80fd\u9700\u8981\u5148\u5220\u9664\u539f\u6709\u7684 build \u6587\u4ef6\uff0c\u66ff\u6362\u64cd\u4f5c\u624d\u4f1a\u751f\u6548\u3002"),(0,r.kt)("h3",{id:"\u4f7f\u7528\u6a21\u62df\u5668\u9884\u89c8\u65f6\u51fa\u73b0\u5404\u79cd\u95ee\u9898"},"\u4f7f\u7528\u6a21\u62df\u5668\u9884\u89c8\u65f6\u51fa\u73b0\u5404\u79cd\u95ee\u9898"),(0,r.kt)("p",null,"\u53ef\u80fd\u662f\u56e0\u4e3a\u6a21\u62df\u5668\u6ca1\u6709\u91cd\u65b0\u7f16\u8bd1\u5bfc\u81f4\u7684\uff0c\u8bf7\u6309\u7167\u5b98\u65b9\u7684 ",(0,r.kt)("a",{parentName:"p",href:"https://docs.cocos.com/creator/2.4/manual/zh/advanced-topics/engine-customization.html#25-%E7%BC%96%E8%AF%91%E6%A8%A1%E6%8B%9F%E5%99%A8"},"\u5f15\u64ce\u5b9a\u5236\u6587\u6863")," \u91cd\u65b0\u7f16\u8bd1\u6a21\u62df\u5668\u5373\u53ef\u3002"),(0,r.kt)("h3",{id:"spine-\u7ec4\u4ef6\u51fa\u73b0-uncaught-typeerror-cannot-read-property-load-of-null-location-srccocos2d-jsbb5158js-\u7b49\u95ee\u9898"},"Spine \u7ec4\u4ef6\u51fa\u73b0 Uncaught TypeError: Cannot read property \u2018load\u2019 of null, location: src/cocos2d-jsb.b5158.js \u7b49\u95ee\u9898"),(0,r.kt)("p",null,"\u8fd9\u662f\u5f15\u64ce\u81ea\u8eab\u7684\u95ee\u9898\uff0c\u7531\u4e8e\u91ca\u653e Spine \u8d44\u6e90\uff0c\u7136\u540e\u518d\u6b21\u52a0\u8f7d\u76f8\u540c Spine \u8d44\u6e90\u65f6\u5bfc\u81f4\uff0c\u5177\u4f53\u8bf7\u770b\uff1a"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://forum.cocos.org/t/topic/137649/148"},"\u95ee\u9898\u8ba8\u8bba")),(0,r.kt)("p",null,"\u622a\u6b62 v2.4.12\uff0c\u5f15\u64ce\u4ecd\u672a\u4fee\u590d\u6b64\u95ee\u9898\uff0c\u6682\u65f6\u7684\u89e3\u51b3\u65b9\u6848\u6709\u4e09\u79cd\uff1a"),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},"\u5f15\u64ce\u5df2\u7ecf\u6709\u4e00\u4e2a\u4fee\u590d\u6b64\u95ee\u9898\u7684 PR\uff0c\u4f46\u8fd8\u672a\u5408\u5165\uff0c\u53ef\u81ea\u884c\u5408\u5165\uff1a",(0,r.kt)("a",{parentName:"li",href:"https://github.com/cocos/engine-native/pull/4307"},"PR #4307")),(0,r.kt)("li",{parentName:"ol"},"\u9700\u8981\u8fdb\u884c\u91ca\u653e\u7684 spine \u8d44\u6e90\uff0c\u4e0d\u8ba9\u5176\u53c2\u4e0e\u52a8\u6001\u5408\u56fe\uff08\u901a\u8fc7\u63a7\u5236 Spine \u7ec4\u4ef6\u7684\u5408\u56fe\u5f00\u5173\uff09\u3002"),(0,r.kt)("li",{parentName:"ol"},"\u4e0d\u91ca\u653e\u9700\u8981\u53c2\u4e0e\u52a8\u6001\u5408\u56fe\u7684 spine \u8d44\u6e90\u3002")))}m.isMDXComponent=!0},45637:function(e,t,n){t.Z=n.p+"assets/images/demo1-458cc9beda63cfd491b25de86bf2593c.png"},48039:function(e,t,n){t.Z=n.p+"assets/images/demo2-b23bb05bb434ce25ef290d2f30cc028c.png"},98549:function(e,t,n){t.Z=n.p+"assets/images/demo3-e616d6a6d0bd2bfbceb2db57b38fec91.png"},44927:function(e,t,n){t.Z=n.p+"assets/images/demo4-5a9ef2c1b76818302f5c5e2d745ede2a.png"},56908:function(e,t,n){t.Z=n.p+"assets/images/demo5-7588adeef99924536d52fb590a4c2813.png"},57558:function(e,t,n){t.Z=n.p+"assets/images/logo2-a1b6b635bf67fdaee31973e360250e69.png"}}]);