mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-06-10 11:13:59 +00:00
Deploy website - based on b24154528741de71d13c154fa47ce8601c268f07
This commit is contained in:
parent
47c8be2ffb
commit
8eda0a5ca4
.DS_Store404.html
assets/js
0e384e19.35155c1c.js0e384e19.46fd986c.js1e59562d.a7f7a9c5.js2d03d2ac.2bd3f3db.js2d03d2ac.db7ed8f8.js33af9384.836e2ca2.js33af9384.d0c799c8.js7807fdca.2f07f0f3.js7807fdca.42922e91.js7c26ea8c.08c368fe.js7c26ea8c.c214a609.js7f9bfa38.002a97cb.js7f9bfa38.ff5946fa.js935f2afb.a24fe209.jsa2b4c275.1f647c56.jsad260dd3.4036eea0.jsad260dd3.6f0dd1c5.jsf213130a.c8be2528.jsf213130a.ef9d185c.jsmain.caec5892.jsmain.caec5892.js.LICENSE.txtruntime~main.a8a774ff.js
blog
demo
.DS_Store
jsb-link
.DS_Store.cocos-project.json
assets
common
config.e3dee.jsonindex.e3dee.jsindex.js.map
import
09
1c
2c
34
39
3e
45
62
68
69
6e
70
80
80011fce-9411-4ea1-a8d3-f7d86d2d8789.becf9.json804e11b5-bf4f-4a78-ac4a-8443e7166be1.7be92.json80dbdc44-7f81-47cb-8f5d-5a8e8d2bc73b.56dfc.json
85
87
92
93
a7
a9
b5
b6
bc
c1
d0
d9
e8
f2
native
1c
39
45
62
68
69
6e
70
80
a9
c1
d0
d9
e8/e8aa5e1c-0730-4ebe-81a1-e7fa0db9be7d.a6625
home
BIN
.DS_Store
vendored
Normal file
BIN
.DS_Store
vendored
Normal file
Binary file not shown.
8
404.html
8
404.html
@ -6,13 +6,13 @@
|
||||
<meta name="generator" content="Docusaurus v2.0.0-beta.20">
|
||||
<link rel="alternate" type="application/rss+xml" href="/cocos-service-pack/blog/rss.xml" title="Cocos Service Pack RSS Feed">
|
||||
<link rel="alternate" type="application/atom+xml" href="/cocos-service-pack/blog/atom.xml" title="Cocos Service Pack Atom Feed"><title data-rh="true">找不到页面 | Cocos Service Pack</title><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://smallmain.github.io/cocos-service-pack/404.html"><meta data-rh="true" name="docusaurus_locale" content="zh"><meta data-rh="true" name="docusaurus_tag" content="default"><meta data-rh="true" name="docsearch:language" content="zh"><meta data-rh="true" name="docsearch:docusaurus_tag" content="default"><meta data-rh="true" property="og:title" content="找不到页面 | Cocos Service Pack"><link data-rh="true" rel="icon" href="/cocos-service-pack/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://smallmain.github.io/cocos-service-pack/404.html"><link data-rh="true" rel="alternate" href="https://smallmain.github.io/cocos-service-pack/404.html" hreflang="zh"><link data-rh="true" rel="alternate" href="https://smallmain.github.io/cocos-service-pack/404.html" hreflang="x-default"><link rel="stylesheet" href="/cocos-service-pack/assets/css/styles.5581f124.css">
|
||||
<link rel="preload" href="/cocos-service-pack/assets/js/runtime~main.41ec8e73.js" as="script">
|
||||
<link rel="preload" href="/cocos-service-pack/assets/js/main.e253f305.js" as="script">
|
||||
<link rel="preload" href="/cocos-service-pack/assets/js/runtime~main.a8a774ff.js" as="script">
|
||||
<link rel="preload" href="/cocos-service-pack/assets/js/main.caec5892.js" as="script">
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
|
||||
<div role="region"><a href="#" class="skipToContent_ZgBM">跳到主要内容</a></div><nav class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Navigation bar toggle" class="navbar__toggle clean-btn" type="button" tabindex="0"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/cocos-service-pack/"><div class="navbar__logo"><img src="/cocos-service-pack/img/logo.png" alt="Cocos Service Pack" class="themedImage_W2Cr themedImage--light_TfLj"><img src="/cocos-service-pack/img/logo.png" alt="Cocos Service Pack" class="themedImage_W2Cr themedImage--dark_oUvU"></div><b class="navbar__title text--truncate">Cocos Service Pack</b></a></div><div class="navbar__items navbar__items--right"><a class="navbar__item navbar__link" href="/cocos-service-pack/">首页</a><a class="navbar__item navbar__link" href="/cocos-service-pack/docs/intro">文档</a><a href="https://smallmain.github.io/cocos-service-pack/demo/v1.0.0-alpha/web-desktop/index.html" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">演示</a><a href="https://github.com/smallmain/cocos-service-pack" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link header-github-link">加星鼓励</a><div class="searchBox_dLyj"><div class="navbar__search searchBarContainer_NW3z"><input placeholder="搜索" aria-label="Search" class="navbar__search-input"><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div><div class="searchHintContainer_Pkmr"><kbd class="searchHint_iIMx">ctrl</kbd><kbd class="searchHint_iIMx">K</kbd></div></div></div><div class="toggle_S7eR colorModeToggle_vKtC"><button class="clean-btn toggleButton_rCf9 toggleButtonDisabled_Pu9x" type="button" disabled="" title="切换浅色/暗黑模式(当前为浅色模式)" aria-label="切换浅色/暗黑模式(当前为浅色模式)"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_v35p"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_nQuB"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div class="main-wrapper"><main class="container margin-vert--xl"><div class="row"><div class="col col--6 col--offset-3"><h1 class="hero__title">找不到页面</h1><p>我们找不到您要找的页面。</p><p>请联系原始链接来源网站的所有者,并告知他们链接已损坏。</p></div></div></main></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2022 Cocos Service Pack.</div></div></div></footer></div>
|
||||
<script src="/cocos-service-pack/assets/js/runtime~main.41ec8e73.js"></script>
|
||||
<script src="/cocos-service-pack/assets/js/main.e253f305.js"></script>
|
||||
<script src="/cocos-service-pack/assets/js/runtime~main.a8a774ff.js"></script>
|
||||
<script src="/cocos-service-pack/assets/js/main.caec5892.js"></script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
1
assets/js/0e384e19.46fd986c.js
Normal file
1
assets/js/0e384e19.46fd986c.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/2d03d2ac.2bd3f3db.js
Normal file
1
assets/js/2d03d2ac.2bd3f3db.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/33af9384.836e2ca2.js
Normal file
1
assets/js/33af9384.836e2ca2.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/7807fdca.42922e91.js
Normal file
1
assets/js/7807fdca.42922e91.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/7c26ea8c.08c368fe.js
Normal file
1
assets/js/7c26ea8c.08c368fe.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/7f9bfa38.ff5946fa.js
Normal file
1
assets/js/7f9bfa38.ff5946fa.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/ad260dd3.6f0dd1c5.js
Normal file
1
assets/js/ad260dd3.6f0dd1c5.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/f213130a.c8be2528.js
Normal file
1
assets/js/f213130a.c8be2528.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -6,13 +6,13 @@
|
||||
<meta name="generator" content="Docusaurus v2.0.0-beta.20">
|
||||
<link rel="alternate" type="application/rss+xml" href="/cocos-service-pack/blog/rss.xml" title="Cocos Service Pack RSS Feed">
|
||||
<link rel="alternate" type="application/atom+xml" href="/cocos-service-pack/blog/atom.xml" title="Cocos Service Pack Atom Feed"><title data-rh="true">历史博文 | Cocos Service Pack</title><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://smallmain.github.io/cocos-service-pack/blog/archive"><meta data-rh="true" name="docusaurus_locale" content="zh"><meta data-rh="true" name="docusaurus_tag" content="default"><meta data-rh="true" name="docsearch:language" content="zh"><meta data-rh="true" name="docsearch:docusaurus_tag" content="default"><meta data-rh="true" property="og:title" content="历史博文 | Cocos Service Pack"><meta data-rh="true" name="description" content="历史博文"><meta data-rh="true" property="og:description" content="历史博文"><link data-rh="true" rel="icon" href="/cocos-service-pack/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://smallmain.github.io/cocos-service-pack/blog/archive"><link data-rh="true" rel="alternate" href="https://smallmain.github.io/cocos-service-pack/blog/archive" hreflang="zh"><link data-rh="true" rel="alternate" href="https://smallmain.github.io/cocos-service-pack/blog/archive" hreflang="x-default"><link rel="stylesheet" href="/cocos-service-pack/assets/css/styles.5581f124.css">
|
||||
<link rel="preload" href="/cocos-service-pack/assets/js/runtime~main.41ec8e73.js" as="script">
|
||||
<link rel="preload" href="/cocos-service-pack/assets/js/main.e253f305.js" as="script">
|
||||
<link rel="preload" href="/cocos-service-pack/assets/js/runtime~main.a8a774ff.js" as="script">
|
||||
<link rel="preload" href="/cocos-service-pack/assets/js/main.caec5892.js" as="script">
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
|
||||
<div role="region"><a href="#" class="skipToContent_ZgBM">跳到主要内容</a></div><nav class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Navigation bar toggle" class="navbar__toggle clean-btn" type="button" tabindex="0"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/cocos-service-pack/"><div class="navbar__logo"><img src="/cocos-service-pack/img/logo.png" alt="Cocos Service Pack" class="themedImage_W2Cr themedImage--light_TfLj"><img src="/cocos-service-pack/img/logo.png" alt="Cocos Service Pack" class="themedImage_W2Cr themedImage--dark_oUvU"></div><b class="navbar__title text--truncate">Cocos Service Pack</b></a></div><div class="navbar__items navbar__items--right"><a class="navbar__item navbar__link" href="/cocos-service-pack/">首页</a><a class="navbar__item navbar__link" href="/cocos-service-pack/docs/intro">文档</a><a href="https://smallmain.github.io/cocos-service-pack/demo/v1.0.0-alpha/web-desktop/index.html" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">演示</a><a href="https://github.com/smallmain/cocos-service-pack" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link header-github-link">加星鼓励</a><div class="searchBox_dLyj"><div class="navbar__search searchBarContainer_NW3z"><input placeholder="搜索" aria-label="Search" class="navbar__search-input"><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div><div class="searchHintContainer_Pkmr"><kbd class="searchHint_iIMx">ctrl</kbd><kbd class="searchHint_iIMx">K</kbd></div></div></div><div class="toggle_S7eR colorModeToggle_vKtC"><button class="clean-btn toggleButton_rCf9 toggleButtonDisabled_Pu9x" type="button" disabled="" title="切换浅色/暗黑模式(当前为浅色模式)" aria-label="切换浅色/暗黑模式(当前为浅色模式)"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_v35p"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_nQuB"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div class="main-wrapper"><header class="hero hero--primary"><div class="container"><h1 class="hero__title">历史博文</h1><p class="hero__subtitle">历史博文</p></div></header><main><section class="margin-vert--lg"><div class="container"><div class="row"><div class="col col--4 margin-vert--lg"><h3>2019</h3><ul><li><a href="/cocos-service-pack/blog/long-blog-post">2019年5月29日<!-- --> - <!-- -->Long Blog Post</a></li><li><a href="/cocos-service-pack/blog/first-blog-post">2019年5月28日<!-- --> - <!-- -->First Blog Post</a></li></ul></div><div class="col col--4 margin-vert--lg"><h3>2021</h3><ul><li><a href="/cocos-service-pack/blog/welcome">2021年8月26日<!-- --> - <!-- -->Welcome</a></li><li><a href="/cocos-service-pack/blog/mdx-blog-post">2021年8月1日<!-- --> - <!-- -->MDX Blog Post</a></li></ul></div></div></div></section></main></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2022 Cocos Service Pack.</div></div></div></footer></div>
|
||||
<script src="/cocos-service-pack/assets/js/runtime~main.41ec8e73.js"></script>
|
||||
<script src="/cocos-service-pack/assets/js/main.e253f305.js"></script>
|
||||
<script src="/cocos-service-pack/assets/js/runtime~main.a8a774ff.js"></script>
|
||||
<script src="/cocos-service-pack/assets/js/main.caec5892.js"></script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
demo/.DS_Store
vendored
Normal file
BIN
demo/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
demo/jsb-link/.DS_Store
vendored
Normal file
BIN
demo/jsb-link/.DS_Store
vendored
Normal file
Binary file not shown.
7
demo/jsb-link/.cocos-project.json
Normal file
7
demo/jsb-link/.cocos-project.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"engine_version": "2.4.9",
|
||||
"has_native": true,
|
||||
"project_type": "js",
|
||||
"projectName": "Cocos-Service-Pack-Demo",
|
||||
"packageName": "org.cocos2d.demo"
|
||||
}
|
274
demo/jsb-link/assets/common/config.e3dee.json
Normal file
274
demo/jsb-link/assets/common/config.e3dee.json
Normal file
@ -0,0 +1,274 @@
|
||||
{
|
||||
"paths": {
|
||||
"3e30KyALhNkZttyuW0A6EU": [
|
||||
"effects/custom-2d-sprite",
|
||||
"cc.EffectAsset"
|
||||
],
|
||||
"e8ql4cBzBOvoGh5/oNub59": [
|
||||
"fonts/SFNSMonoItalic",
|
||||
"cc.TTFFont"
|
||||
],
|
||||
"45vlnzVlVDaZ6fRVyB0t3Z": [
|
||||
"fonts/normalFont",
|
||||
"cc.Texture2D"
|
||||
],
|
||||
"80AR/OlBFOoajT99htLYeJ": [
|
||||
"fonts/normalFont",
|
||||
"cc.BitmapFont"
|
||||
],
|
||||
"92aqwImq1Ik7GrBSFnKTF2": [
|
||||
"fonts/normalFont",
|
||||
"cc.SpriteFrame",
|
||||
1
|
||||
],
|
||||
"a7ZscqX+JCIZRS157bMyhq": [
|
||||
"images/1655112479313",
|
||||
"cc.SpriteFrame",
|
||||
1
|
||||
],
|
||||
"c1Hf3Sl8ZAnJwP/fpoHxap": [
|
||||
"images/1655112479313",
|
||||
"cc.Texture2D"
|
||||
],
|
||||
"62MQQadaVK8qQN8n6UmJAa": [
|
||||
"images/1655112514006",
|
||||
"cc.Texture2D"
|
||||
],
|
||||
"85yTK+9shIo7RQfQ1TDEUi": [
|
||||
"images/1655112514006",
|
||||
"cc.SpriteFrame",
|
||||
1
|
||||
],
|
||||
"09o3P/9gBP/Yc7AnxUBZ+Q": [
|
||||
"images/1655112526123",
|
||||
"cc.SpriteFrame",
|
||||
1
|
||||
],
|
||||
"39jYWzSTREwI2OOBK5nwFe": [
|
||||
"images/1655112526123",
|
||||
"cc.Texture2D"
|
||||
],
|
||||
"70VXjGE0JMUqGli0jmCmTF": [
|
||||
"images/1655112538161",
|
||||
"cc.SpriteFrame",
|
||||
1
|
||||
],
|
||||
"d0bST/wYpJQIL5T+PCq46W": [
|
||||
"images/1655112538161",
|
||||
"cc.Texture2D"
|
||||
],
|
||||
"68Q/ALDvRLfKrAQu5CY15V": [
|
||||
"images/1655112548981",
|
||||
"cc.Texture2D"
|
||||
],
|
||||
"87/8ZHBEVIkKeNxmalrn9r": [
|
||||
"images/1655112548981",
|
||||
"cc.SpriteFrame",
|
||||
1
|
||||
],
|
||||
"70JFWsm5JN17FDywI0Lb5I": [
|
||||
"images/1655112563832",
|
||||
"cc.Texture2D"
|
||||
],
|
||||
"d0Bu8c2MBCKJc+mKBWzjsJ": [
|
||||
"images/1655112563832",
|
||||
"cc.SpriteFrame",
|
||||
1
|
||||
],
|
||||
"1cijzBpFJCdoSNK98w5oUq": [
|
||||
"images/1655112624336",
|
||||
"cc.Texture2D"
|
||||
],
|
||||
"8029xEf4FHy49dWo6NK8c7": [
|
||||
"images/1655112624336",
|
||||
"cc.SpriteFrame",
|
||||
1
|
||||
],
|
||||
"34Wm35ZlJBApgKytyVFWhX": [
|
||||
"images/1655799093442",
|
||||
"cc.SpriteFrame",
|
||||
1
|
||||
],
|
||||
"a97PGbCjtNjr/hYUBJUJ3p": [
|
||||
"images/1655799093442",
|
||||
"cc.Texture2D"
|
||||
],
|
||||
"2cDGL4OAVN0ZbEl3w2urT8": [
|
||||
"materials/custom-2d-sprite",
|
||||
"cc.Material"
|
||||
],
|
||||
"69Fj/0+E5NeI6nlG9iAH/N": [
|
||||
"spines/huatuo",
|
||||
"cc.Asset"
|
||||
],
|
||||
"80ThG1v09KeKxKhEPnFmvh": [
|
||||
"spines/huatuo",
|
||||
"cc.Texture2D"
|
||||
],
|
||||
"93dM6KrkZCf5dgNpQwf7T6": [
|
||||
"spines/huatuo",
|
||||
"sp.SkeletonData"
|
||||
],
|
||||
"b5ObM0rx1GDKGN3k5VlH0s": [
|
||||
"spines/huatuo",
|
||||
"cc.SpriteFrame",
|
||||
1
|
||||
],
|
||||
"b6OkwTsm1LK5cvRTwFehiy": [
|
||||
"spines/spineboy",
|
||||
"cc.TextAsset"
|
||||
],
|
||||
"bc2ZOJo5NCbrI0FXxitEvE": [
|
||||
"spines/spineboy",
|
||||
"sp.SkeletonData"
|
||||
],
|
||||
"d9xFMK7wVFwbAS60aG9McP": [
|
||||
"spines/spineboy",
|
||||
"cc.Texture2D"
|
||||
],
|
||||
"f2P0YcCjtHDqebnuMp4CMZ": [
|
||||
"spines/spineboy",
|
||||
"cc.SpriteFrame",
|
||||
1
|
||||
]
|
||||
},
|
||||
"uuids": [
|
||||
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
||||
"1cijzBpFJCdoSNK98w5oUq",
|
||||
"2cDGL4OAVN0ZbEl3w2urT8",
|
||||
"34Wm35ZlJBApgKytyVFWhX",
|
||||
"39jYWzSTREwI2OOBK5nwFe",
|
||||
"3e30KyALhNkZttyuW0A6EU",
|
||||
"45vlnzVlVDaZ6fRVyB0t3Z",
|
||||
"62MQQadaVK8qQN8n6UmJAa",
|
||||
"68Q/ALDvRLfKrAQu5CY15V",
|
||||
"69Fj/0+E5NeI6nlG9iAH/N",
|
||||
"6eBWFz0oVHPLIGQKf/9Thu",
|
||||
"70JFWsm5JN17FDywI0Lb5I",
|
||||
"70VXjGE0JMUqGli0jmCmTF",
|
||||
"80AR/OlBFOoajT99htLYeJ",
|
||||
"80ThG1v09KeKxKhEPnFmvh",
|
||||
"8029xEf4FHy49dWo6NK8c7",
|
||||
"85yTK+9shIo7RQfQ1TDEUi",
|
||||
"87/8ZHBEVIkKeNxmalrn9r",
|
||||
"92aqwImq1Ik7GrBSFnKTF2",
|
||||
"93dM6KrkZCf5dgNpQwf7T6",
|
||||
"a7ZscqX+JCIZRS157bMyhq",
|
||||
"a97PGbCjtNjr/hYUBJUJ3p",
|
||||
"b5ObM0rx1GDKGN3k5VlH0s",
|
||||
"b6OkwTsm1LK5cvRTwFehiy",
|
||||
"bc2ZOJo5NCbrI0FXxitEvE",
|
||||
"c1Hf3Sl8ZAnJwP/fpoHxap",
|
||||
"d0Bu8c2MBCKJc+mKBWzjsJ",
|
||||
"d0bST/wYpJQIL5T+PCq46W",
|
||||
"d9xFMK7wVFwbAS60aG9McP",
|
||||
"e8ql4cBzBOvoGh5/oNub59",
|
||||
"f2P0YcCjtHDqebnuMp4CMZ"
|
||||
],
|
||||
"scenes": {},
|
||||
"redirect": [],
|
||||
"deps": [],
|
||||
"packs": {},
|
||||
"name": "common",
|
||||
"importBase": "import",
|
||||
"nativeBase": "native",
|
||||
"debug": true,
|
||||
"isZip": false,
|
||||
"encrypted": false,
|
||||
"versions": {
|
||||
"import": [
|
||||
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
||||
"eebfd",
|
||||
"1cijzBpFJCdoSNK98w5oUq",
|
||||
"7be92",
|
||||
"2cDGL4OAVN0ZbEl3w2urT8",
|
||||
"526c1",
|
||||
"34Wm35ZlJBApgKytyVFWhX",
|
||||
"560c7",
|
||||
"39jYWzSTREwI2OOBK5nwFe",
|
||||
"7be92",
|
||||
"3e30KyALhNkZttyuW0A6EU",
|
||||
"7f89c",
|
||||
"45vlnzVlVDaZ6fRVyB0t3Z",
|
||||
"7be92",
|
||||
"62MQQadaVK8qQN8n6UmJAa",
|
||||
"7be92",
|
||||
"68Q/ALDvRLfKrAQu5CY15V",
|
||||
"7be92",
|
||||
"69Fj/0+E5NeI6nlG9iAH/N",
|
||||
"a781b",
|
||||
"6eBWFz0oVHPLIGQKf/9Thu",
|
||||
"7be92",
|
||||
"70JFWsm5JN17FDywI0Lb5I",
|
||||
"7be92",
|
||||
"70VXjGE0JMUqGli0jmCmTF",
|
||||
"fac8a",
|
||||
"80AR/OlBFOoajT99htLYeJ",
|
||||
"becf9",
|
||||
"80ThG1v09KeKxKhEPnFmvh",
|
||||
"7be92",
|
||||
"8029xEf4FHy49dWo6NK8c7",
|
||||
"56dfc",
|
||||
"85yTK+9shIo7RQfQ1TDEUi",
|
||||
"2a41b",
|
||||
"87/8ZHBEVIkKeNxmalrn9r",
|
||||
"8fc04",
|
||||
"92aqwImq1Ik7GrBSFnKTF2",
|
||||
"99e2d",
|
||||
"93dM6KrkZCf5dgNpQwf7T6",
|
||||
"19765",
|
||||
"a7ZscqX+JCIZRS157bMyhq",
|
||||
"ee3e8",
|
||||
"a97PGbCjtNjr/hYUBJUJ3p",
|
||||
"7be92",
|
||||
"b5ObM0rx1GDKGN3k5VlH0s",
|
||||
"8c55c",
|
||||
"b6OkwTsm1LK5cvRTwFehiy",
|
||||
"75d8c",
|
||||
"bc2ZOJo5NCbrI0FXxitEvE",
|
||||
"6332d",
|
||||
"c1Hf3Sl8ZAnJwP/fpoHxap",
|
||||
"7be92",
|
||||
"d0Bu8c2MBCKJc+mKBWzjsJ",
|
||||
"1f6cd",
|
||||
"d0bST/wYpJQIL5T+PCq46W",
|
||||
"7be92",
|
||||
"d9xFMK7wVFwbAS60aG9McP",
|
||||
"7be92",
|
||||
"e8ql4cBzBOvoGh5/oNub59",
|
||||
"71945",
|
||||
"f2P0YcCjtHDqebnuMp4CMZ",
|
||||
"183bd"
|
||||
],
|
||||
"native": [
|
||||
"1cijzBpFJCdoSNK98w5oUq",
|
||||
"91637",
|
||||
"39jYWzSTREwI2OOBK5nwFe",
|
||||
"2eb47",
|
||||
"45vlnzVlVDaZ6fRVyB0t3Z",
|
||||
"ca872",
|
||||
"62MQQadaVK8qQN8n6UmJAa",
|
||||
"40d17",
|
||||
"68Q/ALDvRLfKrAQu5CY15V",
|
||||
"9a531",
|
||||
"69Fj/0+E5NeI6nlG9iAH/N",
|
||||
"b8970",
|
||||
"6eBWFz0oVHPLIGQKf/9Thu",
|
||||
"6d3cf",
|
||||
"70JFWsm5JN17FDywI0Lb5I",
|
||||
"7b3fa",
|
||||
"80ThG1v09KeKxKhEPnFmvh",
|
||||
"fd38c",
|
||||
"a97PGbCjtNjr/hYUBJUJ3p",
|
||||
"0f278",
|
||||
"c1Hf3Sl8ZAnJwP/fpoHxap",
|
||||
"d86d7",
|
||||
"d0bST/wYpJQIL5T+PCq46W",
|
||||
"9c555",
|
||||
"d9xFMK7wVFwbAS60aG9McP",
|
||||
"abf6b",
|
||||
"e8ql4cBzBOvoGh5/oNub59",
|
||||
"a6625"
|
||||
]
|
||||
}
|
||||
}
|
51
demo/jsb-link/assets/common/import/09/09a373ff-f600-4ffd-873b-027c54059f90.eebfd.json
Normal file
51
demo/jsb-link/assets/common/import/09/09a373ff-f600-4ffd-873b-027c54059f90.eebfd.json
Normal file
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"39jYWzSTREwI2OOBK5nwFe"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "1655112526123",
|
||||
"rect": [
|
||||
0,
|
||||
0,
|
||||
656,
|
||||
992
|
||||
],
|
||||
"offset": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"originalSize": [
|
||||
656,
|
||||
992
|
||||
],
|
||||
"capInsets": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
20
demo/jsb-link/assets/common/import/1c/1c8a3cc1-a452-4276-848d-2bdf30e6852a.7be92.json
Normal file
20
demo/jsb-link/assets/common/import/1c/1c8a3cc1-a452-4276-848d-2bdf30e6852a.7be92.json
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
83
demo/jsb-link/assets/common/import/2c/2c0c62f8-3805-4dd1-96c4-977c36bab4fc.526c1.json
Normal file
83
demo/jsb-link/assets/common/import/2c/2c0c62f8-3805-4dd1-96c4-977c36bab4fc.526c1.json
Normal file
@ -0,0 +1,83 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"62MQQadaVK8qQN8n6UmJAa",
|
||||
"6eBWFz0oVHPLIGQKf/9Thu",
|
||||
"3e30KyALhNkZttyuW0A6EU"
|
||||
],
|
||||
[
|
||||
"texture",
|
||||
"texture2",
|
||||
"_effectAsset"
|
||||
],
|
||||
[
|
||||
[
|
||||
"cc.Material",
|
||||
[
|
||||
"_name",
|
||||
"_techniqueData"
|
||||
],
|
||||
2,
|
||||
11
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
2
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
0,
|
||||
"custom-2d-sprite",
|
||||
[
|
||||
{},
|
||||
"0",
|
||||
11,
|
||||
[
|
||||
{
|
||||
"defines": {
|
||||
"USE_TEXTURE": true,
|
||||
"USE_MULTI_TEXTURE": true
|
||||
}
|
||||
},
|
||||
"props",
|
||||
11,
|
||||
[
|
||||
{
|
||||
"blur": 0.01,
|
||||
"wh_ratio": 1,
|
||||
"radius": 0.45
|
||||
},
|
||||
"texture",
|
||||
6,
|
||||
0,
|
||||
"texture2",
|
||||
6,
|
||||
1
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
0,
|
||||
0,
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
[
|
||||
0,
|
||||
1,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
1,
|
||||
2
|
||||
]
|
||||
]
|
51
demo/jsb-link/assets/common/import/34/345a6df9-6652-4102-980a-cadc95156857.560c7.json
Normal file
51
demo/jsb-link/assets/common/import/34/345a6df9-6652-4102-980a-cadc95156857.560c7.json
Normal file
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"a97PGbCjtNjr/hYUBJUJ3p"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "1655799093442",
|
||||
"rect": [
|
||||
0,
|
||||
0,
|
||||
306,
|
||||
262
|
||||
],
|
||||
"offset": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"originalSize": [
|
||||
306,
|
||||
262
|
||||
],
|
||||
"capInsets": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
20
demo/jsb-link/assets/common/import/39/398d85b3-4934-44c0-8d8e-3812b99f015e.7be92.json
Normal file
20
demo/jsb-link/assets/common/import/39/398d85b3-4934-44c0-8d8e-3812b99f015e.7be92.json
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
385
demo/jsb-link/assets/common/import/3e/3edf42b2-00b8-4d91-9b6d-cae5b403a114.7f89c.json
Normal file
385
demo/jsb-link/assets/common/import/3e/3edf42b2-00b8-4d91-9b6d-cae5b403a114.7f89c.json
Normal file
@ -0,0 +1,385 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
[
|
||||
"cc.EffectAsset",
|
||||
[
|
||||
"_name",
|
||||
"shaders",
|
||||
"techniques"
|
||||
],
|
||||
0
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
4
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
0,
|
||||
"custom-2d-sprite",
|
||||
[
|
||||
{
|
||||
"hash": 2734998855,
|
||||
"record": null,
|
||||
"name": "custom-2d-sprite|vs|fs",
|
||||
"glsl3": {
|
||||
"vert": "\nprecision highp float;\nuniform CCGlobal {\n mat4 cc_matView;\n mat4 cc_matViewInv;\n mat4 cc_matProj;\n mat4 cc_matProjInv;\n mat4 cc_matViewProj;\n mat4 cc_matViewProjInv;\n vec4 cc_cameraPos;\n vec4 cc_time;\n mediump vec4 cc_screenSize;\n mediump vec4 cc_screenScale;\n};\nuniform CCLocal {\n mat4 cc_matWorld;\n mat4 cc_matWorldIT;\n};\nin vec3 a_position;\nin vec4 a_color;\nout vec4 v_color;\n#if USE_TEXTURE\nin vec2 a_uv0;\nout vec2 v_uv0;\n#if USE_MULTI_TEXTURE\nin float a_texId;\nout float v_texId;\n#endif\n#endif\nvoid main () {\n vec4 pos = vec4(a_position, 1);\n #if CC_USE_MODEL\n pos = cc_matViewProj * cc_matWorld * pos;\n #else\n pos = cc_matViewProj * pos;\n #endif\n #if USE_TEXTURE\n v_uv0 = a_uv0;\n #if USE_MULTI_TEXTURE\n v_texId = a_texId;\n #endif\n #endif\n v_color = a_color;\n gl_Position = pos;\n}",
|
||||
"frag": "\nprecision highp float;\n#if USE_ALPHA_TEST\n uniform ALPHA_TEST {\n float alphaThreshold;\n };\n#endif\nvoid ALPHA_TEST (in vec4 color) {\n #if USE_ALPHA_TEST\n if (color.a < alphaThreshold) discard;\n #endif\n}\nvoid ALPHA_TEST (in float alpha) {\n #if USE_ALPHA_TEST\n if (alpha < alphaThreshold) discard;\n #endif\n}\nin vec4 v_color;\n#if USE_TEXTURE\nin vec2 v_uv0;\nuniform sampler2D texture;\n#if USE_MULTI_TEXTURE\nin float v_texId;\nuniform sampler2D texture2;\nuniform sampler2D texture3;\nuniform sampler2D texture4;\nuniform sampler2D texture5;\nuniform sampler2D texture6;\nuniform sampler2D texture7;\nuniform sampler2D texture8;\n#endif\n#endif\nuniform ARGS{\n float radius;\n float blur;\n vec2 center;\n float wh_ratio;\n};\nvoid main () {\n vec4 o = vec4(1, 1, 1, 1);\n #if USE_TEXTURE\n #if USE_MULTI_TEXTURE\n if(v_texId < 1.0){\n vec4 texture_tmp = texture(texture, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture\n texture_tmp.a *= texture(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture_tmp.rgb * texture_tmp.rgb);\n o.a *= texture_tmp.a;\n #else\n o *= texture_tmp;\n #endif\n } else if(v_texId < 2.0){\n vec4 texture2_tmp = texture(texture2, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture2\n texture2_tmp.a *= texture(texture2, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture2_tmp.rgb * texture2_tmp.rgb);\n o.a *= texture2_tmp.a;\n #else\n o *= texture2_tmp;\n #endif\n } else if(v_texId < 3.0){\n vec4 texture3_tmp = texture(texture3, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture3\n texture3_tmp.a *= texture(texture3, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture3_tmp.rgb * texture3_tmp.rgb);\n o.a *= texture3_tmp.a;\n #else\n o *= texture3_tmp;\n #endif\n } else if(v_texId < 4.0){\n vec4 texture4_tmp = texture(texture4, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture4\n texture4_tmp.a *= texture(texture4, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture4_tmp.rgb * texture4_tmp.rgb);\n o.a *= texture4_tmp.a;\n #else\n o *= texture4_tmp;\n #endif\n } else if(v_texId < 5.0){\n vec4 texture5_tmp = texture(texture5, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture5\n texture5_tmp.a *= texture(texture5, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture5_tmp.rgb * texture5_tmp.rgb);\n o.a *= texture5_tmp.a;\n #else\n o *= texture5_tmp;\n #endif\n } else if(v_texId < 6.0){\n vec4 texture6_tmp = texture(texture6, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture6\n texture6_tmp.a *= texture(texture6, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture6_tmp.rgb * texture6_tmp.rgb);\n o.a *= texture6_tmp.a;\n #else\n o *= texture6_tmp;\n #endif\n } else if(v_texId < 7.0){\n vec4 texture7_tmp = texture(texture7, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture7\n texture7_tmp.a *= texture(texture7, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture7_tmp.rgb * texture7_tmp.rgb);\n o.a *= texture7_tmp.a;\n #else\n o *= texture7_tmp;\n #endif\n } else {\n vec4 texture8_tmp = texture(texture8, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture8\n texture8_tmp.a *= texture(texture8, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture8_tmp.rgb * texture8_tmp.rgb);\n o.a *= texture8_tmp.a;\n #else\n o *= texture8_tmp;\n #endif\n }\n #else\n vec4 texture_tmp = texture(texture, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture\n texture_tmp.a *= texture(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture_tmp.rgb * texture_tmp.rgb);\n o.a *= texture_tmp.a;\n #else\n o *= texture_tmp;\n #endif\n #endif\n #endif\n o *= v_color;\n ALPHA_TEST(o);\n float circle = radius * radius;\n float rx = center.x * wh_ratio;\n float ry = center.y;\n float dis = (v_uv0.x * wh_ratio - rx) * (v_uv0.x * wh_ratio - rx) + (v_uv0.y - ry) * (v_uv0.y - ry);\n o.a = smoothstep(circle, circle - blur, dis);\n gl_FragColor = o;\n}"
|
||||
},
|
||||
"glsl1": {
|
||||
"vert": "\nprecision highp float;\nuniform mat4 cc_matViewProj;\nuniform mat4 cc_matWorld;\nattribute vec3 a_position;\nattribute vec4 a_color;\nvarying vec4 v_color;\n#if USE_TEXTURE\nattribute vec2 a_uv0;\nvarying vec2 v_uv0;\n#if USE_MULTI_TEXTURE\nattribute float a_texId;\nvarying float v_texId;\n#endif\n#endif\nvoid main () {\n vec4 pos = vec4(a_position, 1);\n #if CC_USE_MODEL\n pos = cc_matViewProj * cc_matWorld * pos;\n #else\n pos = cc_matViewProj * pos;\n #endif\n #if USE_TEXTURE\n v_uv0 = a_uv0;\n #if USE_MULTI_TEXTURE\n v_texId = a_texId;\n #endif\n #endif\n v_color = a_color;\n gl_Position = pos;\n}",
|
||||
"frag": "\nprecision highp float;\n#if USE_ALPHA_TEST\n uniform float alphaThreshold;\n#endif\nvoid ALPHA_TEST (in vec4 color) {\n #if USE_ALPHA_TEST\n if (color.a < alphaThreshold) discard;\n #endif\n}\nvoid ALPHA_TEST (in float alpha) {\n #if USE_ALPHA_TEST\n if (alpha < alphaThreshold) discard;\n #endif\n}\nvarying vec4 v_color;\n#if USE_TEXTURE\nvarying vec2 v_uv0;\nuniform sampler2D texture;\n#if USE_MULTI_TEXTURE\nvarying float v_texId;\nuniform sampler2D texture2;\nuniform sampler2D texture3;\nuniform sampler2D texture4;\nuniform sampler2D texture5;\nuniform sampler2D texture6;\nuniform sampler2D texture7;\nuniform sampler2D texture8;\n#endif\n#endif\nuniform float radius;\nuniform float blur;\nuniform vec2 center;\nuniform float wh_ratio;\nvoid main () {\n vec4 o = vec4(1, 1, 1, 1);\n #if USE_TEXTURE\n #if USE_MULTI_TEXTURE\n if(v_texId < 1.0){\n vec4 texture_tmp = texture2D(texture, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture\n texture_tmp.a *= texture2D(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture_tmp.rgb * texture_tmp.rgb);\n o.a *= texture_tmp.a;\n #else\n o *= texture_tmp;\n #endif\n } else if(v_texId < 2.0){\n vec4 texture2_tmp = texture2D(texture2, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture2\n texture2_tmp.a *= texture2D(texture2, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture2_tmp.rgb * texture2_tmp.rgb);\n o.a *= texture2_tmp.a;\n #else\n o *= texture2_tmp;\n #endif\n } else if(v_texId < 3.0){\n vec4 texture3_tmp = texture2D(texture3, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture3\n texture3_tmp.a *= texture2D(texture3, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture3_tmp.rgb * texture3_tmp.rgb);\n o.a *= texture3_tmp.a;\n #else\n o *= texture3_tmp;\n #endif\n } else if(v_texId < 4.0){\n vec4 texture4_tmp = texture2D(texture4, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture4\n texture4_tmp.a *= texture2D(texture4, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture4_tmp.rgb * texture4_tmp.rgb);\n o.a *= texture4_tmp.a;\n #else\n o *= texture4_tmp;\n #endif\n } else if(v_texId < 5.0){\n vec4 texture5_tmp = texture2D(texture5, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture5\n texture5_tmp.a *= texture2D(texture5, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture5_tmp.rgb * texture5_tmp.rgb);\n o.a *= texture5_tmp.a;\n #else\n o *= texture5_tmp;\n #endif\n } else if(v_texId < 6.0){\n vec4 texture6_tmp = texture2D(texture6, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture6\n texture6_tmp.a *= texture2D(texture6, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture6_tmp.rgb * texture6_tmp.rgb);\n o.a *= texture6_tmp.a;\n #else\n o *= texture6_tmp;\n #endif\n } else if(v_texId < 7.0){\n vec4 texture7_tmp = texture2D(texture7, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture7\n texture7_tmp.a *= texture2D(texture7, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture7_tmp.rgb * texture7_tmp.rgb);\n o.a *= texture7_tmp.a;\n #else\n o *= texture7_tmp;\n #endif\n } else {\n vec4 texture8_tmp = texture2D(texture8, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture8\n texture8_tmp.a *= texture2D(texture8, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture8_tmp.rgb * texture8_tmp.rgb);\n o.a *= texture8_tmp.a;\n #else\n o *= texture8_tmp;\n #endif\n }\n #else\n vec4 texture_tmp = texture2D(texture, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture\n texture_tmp.a *= texture2D(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture_tmp.rgb * texture_tmp.rgb);\n o.a *= texture_tmp.a;\n #else\n o *= texture_tmp;\n #endif\n #endif\n #endif\n o *= v_color;\n ALPHA_TEST(o);\n float circle = radius * radius;\n float rx = center.x * wh_ratio;\n float ry = center.y;\n float dis = (v_uv0.x * wh_ratio - rx) * (v_uv0.x * wh_ratio - rx) + (v_uv0.y - ry) * (v_uv0.y - ry);\n o.a = smoothstep(circle, circle - blur, dis);\n gl_FragColor = o;\n}"
|
||||
},
|
||||
"builtins": {
|
||||
"globals": {
|
||||
"blocks": [
|
||||
{
|
||||
"name": "CCGlobal",
|
||||
"defines": []
|
||||
}
|
||||
],
|
||||
"samplers": []
|
||||
},
|
||||
"locals": {
|
||||
"blocks": [
|
||||
{
|
||||
"name": "CCLocal",
|
||||
"defines": []
|
||||
}
|
||||
],
|
||||
"samplers": []
|
||||
}
|
||||
},
|
||||
"defines": [
|
||||
{
|
||||
"name": "USE_TEXTURE",
|
||||
"type": "boolean",
|
||||
"defines": []
|
||||
},
|
||||
{
|
||||
"name": "USE_MULTI_TEXTURE",
|
||||
"type": "boolean",
|
||||
"defines": [
|
||||
"USE_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CC_USE_MODEL",
|
||||
"type": "boolean",
|
||||
"defines": []
|
||||
},
|
||||
{
|
||||
"name": "USE_ALPHA_TEST",
|
||||
"type": "boolean",
|
||||
"defines": []
|
||||
},
|
||||
{
|
||||
"name": "CC_USE_ALPHA_ATLAS_texture",
|
||||
"type": "boolean",
|
||||
"defines": [
|
||||
"USE_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "INPUT_IS_GAMMA",
|
||||
"type": "boolean",
|
||||
"defines": [
|
||||
"USE_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CC_USE_ALPHA_ATLAS_texture2",
|
||||
"type": "boolean",
|
||||
"defines": [
|
||||
"USE_TEXTURE",
|
||||
"USE_MULTI_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CC_USE_ALPHA_ATLAS_texture3",
|
||||
"type": "boolean",
|
||||
"defines": [
|
||||
"USE_TEXTURE",
|
||||
"USE_MULTI_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CC_USE_ALPHA_ATLAS_texture4",
|
||||
"type": "boolean",
|
||||
"defines": [
|
||||
"USE_TEXTURE",
|
||||
"USE_MULTI_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CC_USE_ALPHA_ATLAS_texture5",
|
||||
"type": "boolean",
|
||||
"defines": [
|
||||
"USE_TEXTURE",
|
||||
"USE_MULTI_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CC_USE_ALPHA_ATLAS_texture6",
|
||||
"type": "boolean",
|
||||
"defines": [
|
||||
"USE_TEXTURE",
|
||||
"USE_MULTI_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CC_USE_ALPHA_ATLAS_texture7",
|
||||
"type": "boolean",
|
||||
"defines": [
|
||||
"USE_TEXTURE",
|
||||
"USE_MULTI_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CC_USE_ALPHA_ATLAS_texture8",
|
||||
"type": "boolean",
|
||||
"defines": [
|
||||
"USE_TEXTURE",
|
||||
"USE_MULTI_TEXTURE"
|
||||
]
|
||||
}
|
||||
],
|
||||
"blocks": [
|
||||
{
|
||||
"name": "ALPHA_TEST",
|
||||
"binding": 0,
|
||||
"members": [
|
||||
{
|
||||
"name": "alphaThreshold",
|
||||
"type": 13,
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"defines": [
|
||||
"USE_ALPHA_TEST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ARGS",
|
||||
"binding": 1,
|
||||
"members": [
|
||||
{
|
||||
"name": "radius",
|
||||
"type": 13,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"name": "blur",
|
||||
"type": 13,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"name": "center",
|
||||
"type": 14,
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"name": "wh_ratio",
|
||||
"type": 13,
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"defines": []
|
||||
}
|
||||
],
|
||||
"samplers": [
|
||||
{
|
||||
"name": "texture",
|
||||
"type": 29,
|
||||
"count": 1,
|
||||
"binding": 30,
|
||||
"defines": [
|
||||
"USE_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "texture2",
|
||||
"type": 29,
|
||||
"count": 1,
|
||||
"binding": 31,
|
||||
"defines": [
|
||||
"USE_TEXTURE",
|
||||
"USE_MULTI_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "texture3",
|
||||
"type": 29,
|
||||
"count": 1,
|
||||
"binding": 32,
|
||||
"defines": [
|
||||
"USE_TEXTURE",
|
||||
"USE_MULTI_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "texture4",
|
||||
"type": 29,
|
||||
"count": 1,
|
||||
"binding": 33,
|
||||
"defines": [
|
||||
"USE_TEXTURE",
|
||||
"USE_MULTI_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "texture5",
|
||||
"type": 29,
|
||||
"count": 1,
|
||||
"binding": 34,
|
||||
"defines": [
|
||||
"USE_TEXTURE",
|
||||
"USE_MULTI_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "texture6",
|
||||
"type": 29,
|
||||
"count": 1,
|
||||
"binding": 35,
|
||||
"defines": [
|
||||
"USE_TEXTURE",
|
||||
"USE_MULTI_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "texture7",
|
||||
"type": 29,
|
||||
"count": 1,
|
||||
"binding": 36,
|
||||
"defines": [
|
||||
"USE_TEXTURE",
|
||||
"USE_MULTI_TEXTURE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "texture8",
|
||||
"type": 29,
|
||||
"count": 1,
|
||||
"binding": 37,
|
||||
"defines": [
|
||||
"USE_TEXTURE",
|
||||
"USE_MULTI_TEXTURE"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"passes": [
|
||||
{
|
||||
"program": "custom-2d-sprite|vs|fs",
|
||||
"blendState": {
|
||||
"targets": [
|
||||
{
|
||||
"blend": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"rasterizerState": {
|
||||
"cullMode": 0
|
||||
},
|
||||
"properties": {
|
||||
"texture": {
|
||||
"value": "white",
|
||||
"type": 29
|
||||
},
|
||||
"texture2": {
|
||||
"value": "white",
|
||||
"type": 29
|
||||
},
|
||||
"texture3": {
|
||||
"value": "white",
|
||||
"type": 29
|
||||
},
|
||||
"texture4": {
|
||||
"value": "white",
|
||||
"type": 29
|
||||
},
|
||||
"texture5": {
|
||||
"value": "white",
|
||||
"type": 29
|
||||
},
|
||||
"texture6": {
|
||||
"value": "white",
|
||||
"type": 29
|
||||
},
|
||||
"texture7": {
|
||||
"value": "white",
|
||||
"type": 29
|
||||
},
|
||||
"texture8": {
|
||||
"value": "white",
|
||||
"type": 29
|
||||
},
|
||||
"alphaThreshold": {
|
||||
"type": 13,
|
||||
"value": [
|
||||
0.5
|
||||
]
|
||||
},
|
||||
"wh_ratio": {
|
||||
"type": 13,
|
||||
"value": [
|
||||
1
|
||||
],
|
||||
"editor": {
|
||||
"tooltip": "宽高比"
|
||||
}
|
||||
},
|
||||
"blur": {
|
||||
"type": 13,
|
||||
"value": [
|
||||
0.35
|
||||
],
|
||||
"editor": {
|
||||
"tooltip": "光圈模糊程度"
|
||||
}
|
||||
},
|
||||
"radius": {
|
||||
"type": 13,
|
||||
"value": [
|
||||
0.5
|
||||
],
|
||||
"editor": {
|
||||
"tooltip": "光圈半径"
|
||||
}
|
||||
},
|
||||
"center": {
|
||||
"type": 14,
|
||||
"value": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"editor": {
|
||||
"tooltip": "光圈起点"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
||||
],
|
||||
0,
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
20
demo/jsb-link/assets/common/import/45/45be59f3-5655-4369-9e9f-455c81d2ddd9.7be92.json
Normal file
20
demo/jsb-link/assets/common/import/45/45be59f3-5655-4369-9e9f-455c81d2ddd9.7be92.json
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
20
demo/jsb-link/assets/common/import/62/6231041a-75a5-4af2-a40d-f27e9498901a.7be92.json
Normal file
20
demo/jsb-link/assets/common/import/62/6231041a-75a5-4af2-a40d-f27e9498901a.7be92.json
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
20
demo/jsb-link/assets/common/import/68/6843f00b-0ef4-4b7c-aac0-42ee42635e55.7be92.json
Normal file
20
demo/jsb-link/assets/common/import/68/6843f00b-0ef4-4b7c-aac0-42ee42635e55.7be92.json
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
36
demo/jsb-link/assets/common/import/69/69163ff4-f84e-4d78-8ea7-946f62007fcd.a781b.json
Normal file
36
demo/jsb-link/assets/common/import/69/69163ff4-f84e-4d78-8ea7-946f62007fcd.a781b.json
Normal file
@ -0,0 +1,36 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
[
|
||||
"cc.Asset",
|
||||
[
|
||||
"_name",
|
||||
"_native"
|
||||
],
|
||||
1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
3
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
0,
|
||||
"huatuo",
|
||||
".atlas"
|
||||
],
|
||||
-1
|
||||
],
|
||||
0,
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
20
demo/jsb-link/assets/common/import/6e/6e056173-d285-473c-b206-40a7fff5386e.7be92.json
Normal file
20
demo/jsb-link/assets/common/import/6e/6e056173-d285-473c-b206-40a7fff5386e.7be92.json
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
20
demo/jsb-link/assets/common/import/70/702455ac-9b92-4dd7-b143-cb02342dbe48.7be92.json
Normal file
20
demo/jsb-link/assets/common/import/70/702455ac-9b92-4dd7-b143-cb02342dbe48.7be92.json
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
51
demo/jsb-link/assets/common/import/70/705578c6-1342-4c52-a1a5-8b48e60a64c5.fac8a.json
Normal file
51
demo/jsb-link/assets/common/import/70/705578c6-1342-4c52-a1a5-8b48e60a64c5.fac8a.json
Normal file
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"d0bST/wYpJQIL5T+PCq46W"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "1655112538161",
|
||||
"rect": [
|
||||
0,
|
||||
0,
|
||||
596,
|
||||
672
|
||||
],
|
||||
"offset": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"originalSize": [
|
||||
596,
|
||||
672
|
||||
],
|
||||
"capInsets": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
2307
demo/jsb-link/assets/common/import/80/80011fce-9411-4ea1-a8d3-f7d86d2d8789.becf9.json
Normal file
2307
demo/jsb-link/assets/common/import/80/80011fce-9411-4ea1-a8d3-f7d86d2d8789.becf9.json
Normal file
File diff suppressed because it is too large
Load Diff
20
demo/jsb-link/assets/common/import/80/804e11b5-bf4f-4a78-ac4a-8443e7166be1.7be92.json
Normal file
20
demo/jsb-link/assets/common/import/80/804e11b5-bf4f-4a78-ac4a-8443e7166be1.7be92.json
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
51
demo/jsb-link/assets/common/import/80/80dbdc44-7f81-47cb-8f5d-5a8e8d2bc73b.56dfc.json
Normal file
51
demo/jsb-link/assets/common/import/80/80dbdc44-7f81-47cb-8f5d-5a8e8d2bc73b.56dfc.json
Normal file
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"1cijzBpFJCdoSNK98w5oUq"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "1655112624336",
|
||||
"rect": [
|
||||
0,
|
||||
0,
|
||||
564,
|
||||
882
|
||||
],
|
||||
"offset": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"originalSize": [
|
||||
564,
|
||||
882
|
||||
],
|
||||
"capInsets": [
|
||||
192,
|
||||
176,
|
||||
198,
|
||||
155
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
51
demo/jsb-link/assets/common/import/85/85c932be-f6c8-48a3-b450-7d0d530c4522.2a41b.json
Normal file
51
demo/jsb-link/assets/common/import/85/85c932be-f6c8-48a3-b450-7d0d530c4522.2a41b.json
Normal file
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"62MQQadaVK8qQN8n6UmJAa"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "1655112514006",
|
||||
"rect": [
|
||||
0,
|
||||
0,
|
||||
556,
|
||||
606
|
||||
],
|
||||
"offset": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"originalSize": [
|
||||
556,
|
||||
606
|
||||
],
|
||||
"capInsets": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
51
demo/jsb-link/assets/common/import/87/87ffc647-0445-4890-a78d-c666a5ae7f6b.8fc04.json
Normal file
51
demo/jsb-link/assets/common/import/87/87ffc647-0445-4890-a78d-c666a5ae7f6b.8fc04.json
Normal file
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"68Q/ALDvRLfKrAQu5CY15V"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "1655112548981",
|
||||
"rect": [
|
||||
0,
|
||||
0,
|
||||
396,
|
||||
570
|
||||
],
|
||||
"offset": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"originalSize": [
|
||||
396,
|
||||
570
|
||||
],
|
||||
"capInsets": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
51
demo/jsb-link/assets/common/import/92/926aac08-9aad-4893-b1ab-052167293176.99e2d.json
Normal file
51
demo/jsb-link/assets/common/import/92/926aac08-9aad-4893-b1ab-052167293176.99e2d.json
Normal file
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"45vlnzVlVDaZ6fRVyB0t3Z"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "normalFont",
|
||||
"rect": [
|
||||
2,
|
||||
2,
|
||||
737,
|
||||
742
|
||||
],
|
||||
"offset": [
|
||||
-0.5,
|
||||
20
|
||||
],
|
||||
"originalSize": [
|
||||
742,
|
||||
786
|
||||
],
|
||||
"capInsets": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
15543
demo/jsb-link/assets/common/import/93/9374ce8a-ae46-427f-9760-3694307fb4fa.19765.json
Normal file
15543
demo/jsb-link/assets/common/import/93/9374ce8a-ae46-427f-9760-3694307fb4fa.19765.json
Normal file
File diff suppressed because it is too large
Load Diff
51
demo/jsb-link/assets/common/import/a7/a766c72a-5fe2-4221-9452-d79edb33286a.ee3e8.json
Normal file
51
demo/jsb-link/assets/common/import/a7/a766c72a-5fe2-4221-9452-d79edb33286a.ee3e8.json
Normal file
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"c1Hf3Sl8ZAnJwP/fpoHxap"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "1655112479313",
|
||||
"rect": [
|
||||
0,
|
||||
0,
|
||||
402,
|
||||
370
|
||||
],
|
||||
"offset": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"originalSize": [
|
||||
402,
|
||||
370
|
||||
],
|
||||
"capInsets": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
20
demo/jsb-link/assets/common/import/a9/a9ecf19b-0a3b-4d8e-bfe1-614049509de9.7be92.json
Normal file
20
demo/jsb-link/assets/common/import/a9/a9ecf19b-0a3b-4d8e-bfe1-614049509de9.7be92.json
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
51
demo/jsb-link/assets/common/import/b5/b539b334-af1d-460c-a18d-de4e55947d2c.8c55c.json
Normal file
51
demo/jsb-link/assets/common/import/b5/b539b334-af1d-460c-a18d-de4e55947d2c.8c55c.json
Normal file
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"80ThG1v09KeKxKhEPnFmvh"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "huatuo",
|
||||
"rect": [
|
||||
5,
|
||||
0,
|
||||
696,
|
||||
208
|
||||
],
|
||||
"offset": [
|
||||
2.5,
|
||||
0
|
||||
],
|
||||
"originalSize": [
|
||||
701,
|
||||
208
|
||||
],
|
||||
"capInsets": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
35
demo/jsb-link/assets/common/import/b6/b63a4c13-b26d-4b2b-972f-453c057a18b2.75d8c.json
Normal file
35
demo/jsb-link/assets/common/import/b6/b63a4c13-b26d-4b2b-972f-453c057a18b2.75d8c.json
Normal file
@ -0,0 +1,35 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
[
|
||||
"cc.TextAsset",
|
||||
[
|
||||
"_name",
|
||||
"text"
|
||||
],
|
||||
1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
3
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
0,
|
||||
"spineboy",
|
||||
"\nspineboy.png\nsize:1024,256\nformat: RGBA8888\nfilter: Linear,Linear\nrepeat: none\neye_indifferent\n rotate: true\n xy: 389, 5\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\neye_surprised\n rotate: false\n xy: 580, 34\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\nfront_bracer\n rotate: false\n xy: 732, 85\n size: 35, 48\n orig: 35, 48\n offset: 0, 0\n index: -1\nfront_fist_closed\n rotate: false\n xy: 556, 91\n size: 45, 49\n orig: 45, 49\n offset: 0, 0\n index: -1\nfront_fist_open\n rotate: false\n xy: 668, 32\n size: 52, 52\n orig: 52, 52\n offset: 0, 0\n index: -1\nfront_foot\n rotate: false\n xy: 924, 201\n size: 76, 41\n orig: 76, 41\n offset: 0, 0\n index: -1\nfront_foot_bend1\n rotate: false\n xy: 845, 200\n size: 77, 42\n orig: 77, 42\n offset: 0, 0\n index: -1\nfront_foot_bend2\n rotate: false\n xy: 778, 186\n size: 65, 56\n orig: 65, 56\n offset: 0, 0\n index: -1\nfront_shin\n rotate: true\n xy: 444, 91\n size: 49, 110\n orig: 49, 110\n offset: 0, 0\n index: -1\nfront_thigh\n rotate: true\n xy: 603, 89\n size: 29, 67\n orig: 29, 67\n offset: 0, 0\n index: -1\nfront_upper_arm\n rotate: true\n xy: 672, 86\n size: 32, 58\n orig: 32, 58\n offset: 0, 0\n index: -1\ngoggles\n rotate: false\n xy: 444, 142\n size: 157, 100\n orig: 157, 100\n offset: 0, 0\n index: -1\ngun\n rotate: false\n xy: 603, 120\n size: 126, 122\n orig: 126, 122\n offset: 0, 0\n index: -1\nhead\n rotate: false\n xy: 279, 63\n size: 163, 179\n orig: 163, 179\n offset: 0, 0\n index: -1\nmouth_grind\n rotate: false\n xy: 845, 163\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_oooo\n rotate: false\n xy: 842, 126\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_smile\n rotate: false\n xy: 769, 97\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmuzzle\n rotate: false\n xy: 2, 2\n size: 275, 240\n orig: 277, 240\n offset: 0, 0\n index: -1\nneck\n rotate: false\n xy: 903, 173\n size: 22, 25\n orig: 22, 25\n offset: 0, 0\n index: -1\nrear_bracer\n rotate: false\n xy: 722, 40\n size: 34, 43\n orig: 34, 43\n offset: 0, 0\n index: -1\nrear_foot\n rotate: false\n xy: 444, 11\n size: 68, 36\n orig: 68, 36\n offset: 0, 0\n index: -1\nrear_foot_bend1\n rotate: false\n xy: 444, 49\n size: 70, 40\n orig: 70, 40\n offset: 0, 0\n index: -1\nrear_foot_bend2\n rotate: false\n xy: 778, 134\n size: 62, 50\n orig: 62, 50\n offset: 0, 0\n index: -1\nrear_shin\n rotate: false\n xy: 731, 135\n size: 45, 107\n orig: 45, 107\n offset: 0, 0\n index: -1\nrear_thigh\n rotate: true\n xy: 516, 50\n size: 39, 62\n orig: 39, 62\n offset: 0, 0\n index: -1\nrear_upper_arm\n rotate: false\n xy: 638, 35\n size: 28, 52\n orig: 28, 52\n offset: 0, 0\n index: -1\ntorso\n rotate: true\n xy: 279, 2\n size: 59, 108\n orig: 59, 108\n offset: 0, 0\n index: -1\n"
|
||||
]
|
||||
],
|
||||
0,
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
6428
demo/jsb-link/assets/common/import/bc/bcd99389-a393-426e-b234-157c62b44bc4.6332d.json
Normal file
6428
demo/jsb-link/assets/common/import/bc/bcd99389-a393-426e-b234-157c62b44bc4.6332d.json
Normal file
File diff suppressed because it is too large
Load Diff
20
demo/jsb-link/assets/common/import/c1/c11dfdd2-97c6-409c-9c0f-fdfa681f16a9.7be92.json
Normal file
20
demo/jsb-link/assets/common/import/c1/c11dfdd2-97c6-409c-9c0f-fdfa681f16a9.7be92.json
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
51
demo/jsb-link/assets/common/import/d0/d006ef1c-d8c0-4228-973e-98a056ce3b09.1f6cd.json
Normal file
51
demo/jsb-link/assets/common/import/d0/d006ef1c-d8c0-4228-973e-98a056ce3b09.1f6cd.json
Normal file
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"70JFWsm5JN17FDywI0Lb5I"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "1655112563832",
|
||||
"rect": [
|
||||
0,
|
||||
0,
|
||||
660,
|
||||
554
|
||||
],
|
||||
"offset": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"originalSize": [
|
||||
660,
|
||||
554
|
||||
],
|
||||
"capInsets": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
20
demo/jsb-link/assets/common/import/d0/d06d24ff-c18a-4940-82f9-4fe3c2ab8e96.7be92.json
Normal file
20
demo/jsb-link/assets/common/import/d0/d06d24ff-c18a-4940-82f9-4fe3c2ab8e96.7be92.json
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
20
demo/jsb-link/assets/common/import/d9/d9c4530a-ef05-45c1-b012-eb4686f4c70f.7be92.json
Normal file
20
demo/jsb-link/assets/common/import/d9/d9c4530a-ef05-45c1-b012-eb4686f4c70f.7be92.json
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
36
demo/jsb-link/assets/common/import/e8/e8aa5e1c-0730-4ebe-81a1-e7fa0db9be7d.71945.json
Normal file
36
demo/jsb-link/assets/common/import/e8/e8aa5e1c-0730-4ebe-81a1-e7fa0db9be7d.71945.json
Normal file
@ -0,0 +1,36 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
[
|
||||
"cc.TTFFont",
|
||||
[
|
||||
"_name",
|
||||
"_native"
|
||||
],
|
||||
1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
3
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
0,
|
||||
"SFNSMonoItalic",
|
||||
"SFNSMonoItalic.ttf"
|
||||
],
|
||||
-1
|
||||
],
|
||||
0,
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
51
demo/jsb-link/assets/common/import/f2/f23f461c-0a3b-470e-a79b-9ee329e02319.183bd.json
Normal file
51
demo/jsb-link/assets/common/import/f2/f23f461c-0a3b-470e-a79b-9ee329e02319.183bd.json
Normal file
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"d9xFMK7wVFwbAS60aG9McP"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "spineboy",
|
||||
"rect": [
|
||||
2,
|
||||
2,
|
||||
998,
|
||||
240
|
||||
],
|
||||
"offset": [
|
||||
-11,
|
||||
6
|
||||
],
|
||||
"originalSize": [
|
||||
1024,
|
||||
256
|
||||
],
|
||||
"capInsets": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
29
demo/jsb-link/assets/common/index.e3dee.js
Normal file
29
demo/jsb-link/assets/common/index.e3dee.js
Normal file
@ -0,0 +1,29 @@
|
||||
(function e(t, n, r) {
|
||||
function s(o, u) {
|
||||
if (!n[o]) {
|
||||
if (!t[o]) {
|
||||
var b = o.split("/");
|
||||
b = b[b.length - 1];
|
||||
if (!t[b]) {
|
||||
var a = "function" == typeof __require && __require;
|
||||
if (!u && a) return a(b, !0);
|
||||
if (i) return i(b, !0);
|
||||
throw new Error("Cannot find module '" + o + "'");
|
||||
}
|
||||
o = b;
|
||||
}
|
||||
var f = n[o] = {
|
||||
exports: {}
|
||||
};
|
||||
t[o][0].call(f.exports, function(e) {
|
||||
var n = t[o][1][e];
|
||||
return s(n || e);
|
||||
}, f, f.exports, e, t, n, r);
|
||||
}
|
||||
return n[o].exports;
|
||||
}
|
||||
var i = "function" == typeof __require && __require;
|
||||
for (var o = 0; o < r.length; o++) s(r[o]);
|
||||
return s;
|
||||
})({}, {}, []);
|
||||
//# sourceMappingURL=index.js.map
|
1
demo/jsb-link/assets/common/index.js.map
Normal file
1
demo/jsb-link/assets/common/index.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"index.js"}
|
BIN
demo/jsb-link/assets/common/native/1c/1c8a3cc1-a452-4276-848d-2bdf30e6852a.91637.png
Normal file
BIN
demo/jsb-link/assets/common/native/1c/1c8a3cc1-a452-4276-848d-2bdf30e6852a.91637.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 53 KiB |
BIN
demo/jsb-link/assets/common/native/39/398d85b3-4934-44c0-8d8e-3812b99f015e.2eb47.png
Normal file
BIN
demo/jsb-link/assets/common/native/39/398d85b3-4934-44c0-8d8e-3812b99f015e.2eb47.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 291 KiB |
BIN
demo/jsb-link/assets/common/native/45/45be59f3-5655-4369-9e9f-455c81d2ddd9.ca872.png
Normal file
BIN
demo/jsb-link/assets/common/native/45/45be59f3-5655-4369-9e9f-455c81d2ddd9.ca872.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 199 KiB |
BIN
demo/jsb-link/assets/common/native/62/6231041a-75a5-4af2-a40d-f27e9498901a.40d17.png
Normal file
BIN
demo/jsb-link/assets/common/native/62/6231041a-75a5-4af2-a40d-f27e9498901a.40d17.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 198 KiB |
BIN
demo/jsb-link/assets/common/native/68/6843f00b-0ef4-4b7c-aac0-42ee42635e55.9a531.png
Normal file
BIN
demo/jsb-link/assets/common/native/68/6843f00b-0ef4-4b7c-aac0-42ee42635e55.9a531.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 105 KiB |
209
demo/jsb-link/assets/common/native/69/69163ff4-f84e-4d78-8ea7-946f62007fcd.b8970.atlas
Normal file
209
demo/jsb-link/assets/common/native/69/69163ff4-f84e-4d78-8ea7-946f62007fcd.b8970.atlas
Normal file
@ -0,0 +1,209 @@
|
||||
|
||||
huatuo.png
|
||||
size: 701,208
|
||||
format: RGBA8888
|
||||
filter: Linear,Linear
|
||||
repeat: none
|
||||
Body
|
||||
rotate: false
|
||||
xy: 487, 72
|
||||
size: 90, 91
|
||||
orig: 90, 91
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Eye
|
||||
rotate: false
|
||||
xy: 473, 44
|
||||
size: 45, 24
|
||||
orig: 45, 24
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Eye-beiji
|
||||
rotate: false
|
||||
xy: 360, 60
|
||||
size: 57, 23
|
||||
orig: 57, 23
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Eye-fennu
|
||||
rotate: false
|
||||
xy: 570, 39
|
||||
size: 39, 21
|
||||
orig: 39, 21
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Eye-shengli
|
||||
rotate: false
|
||||
xy: 421, 64
|
||||
size: 45, 19
|
||||
orig: 45, 19
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Eye-siwang
|
||||
rotate: false
|
||||
xy: 522, 48
|
||||
size: 44, 20
|
||||
orig: 44, 20
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Head
|
||||
rotate: false
|
||||
xy: 581, 64
|
||||
size: 89, 99
|
||||
orig: 89, 99
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
L-Forearm
|
||||
rotate: false
|
||||
xy: 613, 29
|
||||
size: 32, 31
|
||||
orig: 32, 31
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
L-Hand
|
||||
rotate: false
|
||||
xy: 674, 150
|
||||
size: 27, 26
|
||||
orig: 27, 26
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
L-Lowerleg
|
||||
rotate: false
|
||||
xy: 674, 117
|
||||
size: 26, 29
|
||||
orig: 26, 29
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
L-Thigh
|
||||
rotate: false
|
||||
xy: 649, 25
|
||||
size: 29, 35
|
||||
orig: 29, 35
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
L-Upperarm
|
||||
rotate: false
|
||||
xy: 318, 7
|
||||
size: 50, 49
|
||||
orig: 50, 49
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Mouth
|
||||
rotate: false
|
||||
xy: 682, 36
|
||||
size: 18, 10
|
||||
orig: 18, 10
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Mouth-beiji
|
||||
rotate: false
|
||||
xy: 470, 72
|
||||
size: 13, 11
|
||||
orig: 13, 11
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Mouth-fennu
|
||||
rotate: false
|
||||
xy: 674, 66
|
||||
size: 22, 17
|
||||
orig: 22, 17
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Mouth-shengli
|
||||
rotate: false
|
||||
xy: 581, 17
|
||||
size: 20, 18
|
||||
orig: 20, 18
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Mouth-siwang
|
||||
rotate: false
|
||||
xy: 682, 50
|
||||
size: 18, 12
|
||||
orig: 18, 12
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Pelvis
|
||||
rotate: false
|
||||
xy: 641, 180
|
||||
size: 43, 28
|
||||
orig: 43, 28
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
R-Forearm
|
||||
rotate: false
|
||||
xy: 473, 9
|
||||
size: 38, 31
|
||||
orig: 38, 31
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
R-Hand
|
||||
rotate: false
|
||||
xy: 549, 12
|
||||
size: 28, 23
|
||||
orig: 28, 23
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
R-Lowerleg
|
||||
rotate: false
|
||||
xy: 674, 87
|
||||
size: 26, 26
|
||||
orig: 26, 26
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
R-Thigh
|
||||
rotate: false
|
||||
xy: 515, 4
|
||||
size: 30, 36
|
||||
orig: 30, 36
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
R-Upperarm
|
||||
rotate: false
|
||||
xy: 431, 12
|
||||
size: 38, 48
|
||||
orig: 38, 48
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
SE-daoguang
|
||||
rotate: false
|
||||
xy: 0, 0
|
||||
size: 239, 208
|
||||
orig: 239, 208
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
SE-guang
|
||||
rotate: false
|
||||
xy: 360, 87
|
||||
size: 123, 121
|
||||
orig: 123, 121
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Weapon
|
||||
rotate: false
|
||||
xy: 243, 10
|
||||
size: 71, 46
|
||||
orig: 71, 46
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
beilou
|
||||
rotate: false
|
||||
xy: 243, 60
|
||||
size: 113, 148
|
||||
orig: 113, 148
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
hulu
|
||||
rotate: false
|
||||
xy: 372, 4
|
||||
size: 55, 52
|
||||
orig: 55, 52
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
shadow
|
||||
rotate: false
|
||||
xy: 487, 167
|
||||
size: 150, 41
|
||||
orig: 150, 41
|
||||
offset: 0, 0
|
||||
index: -1
|
BIN
demo/jsb-link/assets/common/native/6e/6e056173-d285-473c-b206-40a7fff5386e.6d3cf.png
Normal file
BIN
demo/jsb-link/assets/common/native/6e/6e056173-d285-473c-b206-40a7fff5386e.6d3cf.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 1.6 KiB |
BIN
demo/jsb-link/assets/common/native/70/702455ac-9b92-4dd7-b143-cb02342dbe48.7b3fa.png
Normal file
BIN
demo/jsb-link/assets/common/native/70/702455ac-9b92-4dd7-b143-cb02342dbe48.7b3fa.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 144 KiB |
BIN
demo/jsb-link/assets/common/native/80/804e11b5-bf4f-4a78-ac4a-8443e7166be1.fd38c.png
Normal file
BIN
demo/jsb-link/assets/common/native/80/804e11b5-bf4f-4a78-ac4a-8443e7166be1.fd38c.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 34 KiB |
BIN
demo/jsb-link/assets/common/native/a9/a9ecf19b-0a3b-4d8e-bfe1-614049509de9.0f278.png
Normal file
BIN
demo/jsb-link/assets/common/native/a9/a9ecf19b-0a3b-4d8e-bfe1-614049509de9.0f278.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 212 KiB |
BIN
demo/jsb-link/assets/common/native/c1/c11dfdd2-97c6-409c-9c0f-fdfa681f16a9.d86d7.png
Normal file
BIN
demo/jsb-link/assets/common/native/c1/c11dfdd2-97c6-409c-9c0f-fdfa681f16a9.d86d7.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 83 KiB |
BIN
demo/jsb-link/assets/common/native/d0/d06d24ff-c18a-4940-82f9-4fe3c2ab8e96.9c555.png
Normal file
BIN
demo/jsb-link/assets/common/native/d0/d06d24ff-c18a-4940-82f9-4fe3c2ab8e96.9c555.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 102 KiB |
BIN
demo/jsb-link/assets/common/native/d9/d9c4530a-ef05-45c1-b012-eb4686f4c70f.abf6b.png
Normal file
BIN
demo/jsb-link/assets/common/native/d9/d9c4530a-ef05-45c1-b012-eb4686f4c70f.abf6b.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 215 KiB |
BIN
demo/jsb-link/assets/common/native/e8/e8aa5e1c-0730-4ebe-81a1-e7fa0db9be7d.a6625/SFNSMonoItalic.ttf
Normal file
BIN
demo/jsb-link/assets/common/native/e8/e8aa5e1c-0730-4ebe-81a1-e7fa0db9be7d.a6625/SFNSMonoItalic.ttf
Normal file
Binary file not shown.
95
demo/jsb-link/assets/home/config.d804f.json
Normal file
95
demo/jsb-link/assets/home/config.d804f.json
Normal file
@ -0,0 +1,95 @@
|
||||
{
|
||||
"paths": {
|
||||
"e3EaADwKFP+ZmDIVTeFF63": [
|
||||
"home",
|
||||
"cc.Prefab"
|
||||
]
|
||||
},
|
||||
"uuids": [
|
||||
"02kcE0s9pAmLe145ftvpR/",
|
||||
"29FYIk+N1GYaeWH/q1NxQO",
|
||||
"312JYturtOx74Zjp9UpOqZ",
|
||||
"34Wm35ZlJBApgKytyVFWhX",
|
||||
"56fc2Ai/RFNYpaMT8crweK",
|
||||
"5cO7kybDxGj4ipyMYdRYZB",
|
||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||
"68J8oyAQdFUrqy37MXmbtE",
|
||||
"71VhFCTINJM6/Ky3oX9nBT",
|
||||
"73oJA92A5OPKpn+ZlUPAj1",
|
||||
"7a/QZLET9IDreTiBfRn2PD",
|
||||
"90AErWL21A4ZPvtxQ3XG8G",
|
||||
"93dM6KrkZCf5dgNpQwf7T6",
|
||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||
"d2kHe6FidKcpV5e1aiNTQM",
|
||||
"e3EaADwKFP+ZmDIVTeFF63",
|
||||
"e7q6FL+VZEgLJUjVeDLic/",
|
||||
"ecpdLyjvZBwrvm+cedCcQy"
|
||||
],
|
||||
"scenes": {},
|
||||
"redirect": [
|
||||
"34Wm35ZlJBApgKytyVFWhX",
|
||||
0,
|
||||
"5cO7kybDxGj4ipyMYdRYZB",
|
||||
1,
|
||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||
1,
|
||||
"7a/QZLET9IDreTiBfRn2PD",
|
||||
2,
|
||||
"93dM6KrkZCf5dgNpQwf7T6",
|
||||
0,
|
||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||
1,
|
||||
"ecpdLyjvZBwrvm+cedCcQy",
|
||||
2
|
||||
],
|
||||
"deps": [
|
||||
"common",
|
||||
"main",
|
||||
"internal"
|
||||
],
|
||||
"packs": {},
|
||||
"name": "home",
|
||||
"importBase": "import",
|
||||
"nativeBase": "native",
|
||||
"debug": true,
|
||||
"isZip": false,
|
||||
"encrypted": false,
|
||||
"versions": {
|
||||
"import": [
|
||||
"02kcE0s9pAmLe145ftvpR/",
|
||||
"7be92",
|
||||
"29FYIk+N1GYaeWH/q1NxQO",
|
||||
"22d68",
|
||||
"312JYturtOx74Zjp9UpOqZ",
|
||||
"4bc74",
|
||||
"56fc2Ai/RFNYpaMT8crweK",
|
||||
"7be92",
|
||||
"68J8oyAQdFUrqy37MXmbtE",
|
||||
"13090",
|
||||
"71VhFCTINJM6/Ky3oX9nBT",
|
||||
"7be92",
|
||||
"73oJA92A5OPKpn+ZlUPAj1",
|
||||
"7be92",
|
||||
"90AErWL21A4ZPvtxQ3XG8G",
|
||||
"9fda3",
|
||||
"d2kHe6FidKcpV5e1aiNTQM",
|
||||
"7be92",
|
||||
"e3EaADwKFP+ZmDIVTeFF63",
|
||||
"7fa62",
|
||||
"e7q6FL+VZEgLJUjVeDLic/",
|
||||
"4ed63"
|
||||
],
|
||||
"native": [
|
||||
"02kcE0s9pAmLe145ftvpR/",
|
||||
"b7a3e",
|
||||
"56fc2Ai/RFNYpaMT8crweK",
|
||||
"5f1d9",
|
||||
"71VhFCTINJM6/Ky3oX9nBT",
|
||||
"c06a9",
|
||||
"73oJA92A5OPKpn+ZlUPAj1",
|
||||
"7661e",
|
||||
"d2kHe6FidKcpV5e1aiNTQM",
|
||||
"65417"
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"71VhFCTINJM6/Ky3oX9nBT"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "default_btn_disabled",
|
||||
"rect": [
|
||||
0,
|
||||
0,
|
||||
40,
|
||||
40
|
||||
],
|
||||
"offset": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"originalSize": [
|
||||
40,
|
||||
40
|
||||
],
|
||||
"capInsets": [
|
||||
12,
|
||||
12,
|
||||
12,
|
||||
12
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"02kcE0s9pAmLe145ftvpR/"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "default_scrollbar",
|
||||
"rect": [
|
||||
0,
|
||||
0,
|
||||
30,
|
||||
15
|
||||
],
|
||||
"offset": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"originalSize": [
|
||||
30,
|
||||
15
|
||||
],
|
||||
"capInsets": [
|
||||
10,
|
||||
4,
|
||||
10,
|
||||
4
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"d2kHe6FidKcpV5e1aiNTQM"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "default_toggle_normal",
|
||||
"rect": [
|
||||
0,
|
||||
0,
|
||||
28,
|
||||
28
|
||||
],
|
||||
"offset": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"originalSize": [
|
||||
28,
|
||||
28
|
||||
],
|
||||
"capInsets": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"73oJA92A5OPKpn+ZlUPAj1"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "default_toggle_checkmark",
|
||||
"rect": [
|
||||
4,
|
||||
5,
|
||||
20,
|
||||
18
|
||||
],
|
||||
"offset": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"originalSize": [
|
||||
28,
|
||||
28
|
||||
],
|
||||
"capInsets": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
@ -0,0 +1,20 @@
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
[
|
||||
"cc.Texture2D"
|
||||
],
|
||||
0,
|
||||
[
|
||||
"0,9729,9729,33071,33071,0,0,1",
|
||||
-1
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
2257
demo/jsb-link/assets/home/import/e3/e311a003-c0a1-4ff9-9983-2154de145eb7.7fa62.json
Normal file
2257
demo/jsb-link/assets/home/import/e3/e311a003-c0a1-4ff9-9983-2154de145eb7.7fa62.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,51 @@
|
||||
[
|
||||
1,
|
||||
[
|
||||
"56fc2Ai/RFNYpaMT8crweK"
|
||||
],
|
||||
[
|
||||
"_textureSetter"
|
||||
],
|
||||
[
|
||||
"cc.SpriteFrame"
|
||||
],
|
||||
0,
|
||||
[
|
||||
{
|
||||
"name": "default_radio_button_off",
|
||||
"rect": [
|
||||
3,
|
||||
3,
|
||||
26,
|
||||
26
|
||||
],
|
||||
"offset": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"originalSize": [
|
||||
32,
|
||||
32
|
||||
],
|
||||
"capInsets": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
0,
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
],
|
||||
[
|
||||
0
|
||||
]
|
||||
]
|
135
demo/jsb-link/assets/home/index.d804f.js
Normal file
135
demo/jsb-link/assets/home/index.d804f.js
Normal file
@ -0,0 +1,135 @@
|
||||
window.__require = function e(t, n, r) {
|
||||
function s(o, u) {
|
||||
if (!n[o]) {
|
||||
if (!t[o]) {
|
||||
var b = o.split("/");
|
||||
b = b[b.length - 1];
|
||||
if (!t[b]) {
|
||||
var a = "function" == typeof __require && __require;
|
||||
if (!u && a) return a(b, !0);
|
||||
if (i) return i(b, !0);
|
||||
throw new Error("Cannot find module '" + o + "'");
|
||||
}
|
||||
o = b;
|
||||
}
|
||||
var f = n[o] = {
|
||||
exports: {}
|
||||
};
|
||||
t[o][0].call(f.exports, function(e) {
|
||||
var n = t[o][1][e];
|
||||
return s(n || e);
|
||||
}, f, f.exports, e, t, n, r);
|
||||
}
|
||||
return n[o].exports;
|
||||
}
|
||||
var i = "function" == typeof __require && __require;
|
||||
for (var o = 0; o < r.length; o++) s(r[o]);
|
||||
return s;
|
||||
}({
|
||||
home: [ function(require, module, exports) {
|
||||
"use strict";
|
||||
cc._RF.push(module, "fae4avBZoFIhLI0tl2YbZCe", "home");
|
||||
"use strict";
|
||||
var __extends = this && this.__extends || function() {
|
||||
var extendStatics = function(d, b) {
|
||||
extendStatics = Object.setPrototypeOf || {
|
||||
__proto__: []
|
||||
} instanceof Array && function(d, b) {
|
||||
d.__proto__ = b;
|
||||
} || function(d, b) {
|
||||
for (var p in b) Object.prototype.hasOwnProperty.call(b, p) && (d[p] = b[p]);
|
||||
};
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function(d, b) {
|
||||
extendStatics(d, b);
|
||||
function __() {
|
||||
this.constructor = d;
|
||||
}
|
||||
d.prototype = null === b ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
}();
|
||||
var __decorate = this && this.__decorate || function(decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if ("object" === typeof Reflect && "function" === typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
var _a = cc._decorator, ccclass = _a.ccclass, property = _a.property;
|
||||
var Home = function(_super) {
|
||||
__extends(Home, _super);
|
||||
function Home() {
|
||||
var _this = null !== _super && _super.apply(this, arguments) || this;
|
||||
_this.objectNumLabel = null;
|
||||
_this.objectNumSlider = null;
|
||||
_this.enbaleMultiNode = null;
|
||||
_this.objects = null;
|
||||
_this.nums = [ 10, 1e4 ];
|
||||
_this.num = _this.nums[0];
|
||||
_this.enableMultiRender = true;
|
||||
_this.prefabs = [];
|
||||
return _this;
|
||||
}
|
||||
Home.prototype.onLoad = function() {
|
||||
var _this = this;
|
||||
this.prefabs = this.objects.children.concat();
|
||||
this.objects.removeAllChildren(false);
|
||||
this.objectNumSlider.node.on("slide", function(slider) {
|
||||
var offset = (_this.nums[1] - _this.nums[0]) * slider.progress;
|
||||
_this.num = _this.nums[0] + Math.ceil(offset);
|
||||
_this.numUpdate();
|
||||
});
|
||||
this.enbaleMultiNode.on("toggle", function(toggle) {
|
||||
_this.enableMultiRender = toggle.isChecked;
|
||||
_this.multiRenderUpdate();
|
||||
});
|
||||
this.objectNumSlider.progress = .02;
|
||||
var offset = (this.nums[1] - this.nums[0]) * this.objectNumSlider.progress;
|
||||
this.num = this.nums[0] + Math.ceil(offset);
|
||||
this.numUpdate();
|
||||
this.multiRenderUpdate();
|
||||
};
|
||||
Home.prototype.numUpdate = function() {
|
||||
this.objectNumLabel.string = "\u5bf9\u8c61\u6570\u91cf\uff1a" + this.num;
|
||||
var offset = this.num - this.objects.children.length;
|
||||
if (offset > 0) for (var i = 0; i < offset; i++) this.createObject(); else {
|
||||
offset = -offset;
|
||||
for (var i = 0; i < offset; i++) this.objects.children[i].destroy();
|
||||
}
|
||||
};
|
||||
Home.prototype.multiRenderUpdate = function() {
|
||||
this.reCreateObjects();
|
||||
};
|
||||
Home.prototype.reCreateObjects = function() {
|
||||
this.objects.destroyAllChildren();
|
||||
for (var i = 0; i < this.num; i++) this.createObject();
|
||||
};
|
||||
Home.prototype.createObject = function() {
|
||||
var _a, _b, _c;
|
||||
var random = Math.floor(Math.random() * this.prefabs.length);
|
||||
var node = cc.instantiate(this.prefabs[random]);
|
||||
if (this.enableMultiRender) {
|
||||
var comp = null !== (_c = null !== (_b = null !== (_a = node.getComponent(cc.Label)) && void 0 !== _a ? _a : node.getComponent(cc.Sprite)) && void 0 !== _b ? _b : node.getComponent(cc.RichText)) && void 0 !== _c ? _c : node.getComponent(sp.Skeleton);
|
||||
comp.autoSwitchMaterial = cc.RenderComponent.EnableType.ENABLE;
|
||||
comp.allowDynamicAtlas = cc.RenderComponent.EnableType.ENABLE;
|
||||
}
|
||||
this.objects.addChild(node);
|
||||
node.position = cc.v3(Math.floor(Math.random() * this.objects.width), Math.floor(Math.random() * this.objects.height));
|
||||
cc.tween(node).by(3, {
|
||||
angle: 360
|
||||
}).repeatForever().start();
|
||||
};
|
||||
__decorate([ property(cc.Label) ], Home.prototype, "objectNumLabel", void 0);
|
||||
__decorate([ property(cc.Slider) ], Home.prototype, "objectNumSlider", void 0);
|
||||
__decorate([ property(cc.Node) ], Home.prototype, "enbaleMultiNode", void 0);
|
||||
__decorate([ property(cc.Node) ], Home.prototype, "objects", void 0);
|
||||
Home = __decorate([ ccclass ], Home);
|
||||
return Home;
|
||||
}(cc.Component);
|
||||
exports.default = Home;
|
||||
cc._RF.pop();
|
||||
}, {} ]
|
||||
}, {}, [ "home" ]);
|
||||
//# sourceMappingURL=index.js.map
|
1
demo/jsb-link/assets/home/index.js.map
Normal file
1
demo/jsb-link/assets/home/index.js.map
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user