Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TNGD_CaveCruiser
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
TNGD_CaveCruiser
Commits
64481367
Commit
64481367
authored
Sep 27, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传
parent
a6f73ced
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
134 additions
and
301 deletions
+134
-301
BackPanel.prefab
assets/Bundles/BackPanel/BackPanel.prefab
+4
-4
PrizePanel.ts
assets/Scripts/Panels/PrizePanel.ts
+1
-1
Start.scene
assets/Start/Start.scene
+3
-3
index.html
build/dbTest/index.html
+12
-12
packages.json
profiles/v2/editor/packages.json
+1
-1
builder.json
profiles/v2/packages/builder.json
+3
-3
reference-image.json
profiles/v2/packages/reference-image.json
+1
-1
scene.json
profiles/v2/packages/scene.json
+109
-109
index.ejs
test/index.ejs
+0
-167
No files found.
assets/Bundles/BackPanel/BackPanel.prefab
View file @
64481367
...
...
@@ -252,7 +252,7 @@
},
{
"__type__": "cc.Node",
"_name": "
no
",
"_name": "
yes
",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
...
...
@@ -486,7 +486,7 @@
},
{
"__type__": "cc.Node",
"_name": "
yes
",
"_name": "
no
",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
...
...
@@ -1032,10 +1032,10 @@
"__id__": 30
},
"yes": {
"__id__":
2
0
"__id__":
1
0
},
"no": {
"__id__":
1
0
"__id__":
2
0
},
"_id": ""
},
...
...
assets/Scripts/Panels/PrizePanel.ts
View file @
64481367
...
...
@@ -82,7 +82,7 @@ export default class PrizePanel extends Panel {
onClose
=
()
=>
{
// this.hidePanel();
popWindow
();
changeScene
(
HomeScene
);
//
changeScene(HomeScene);
}
}
assets/Start/Start.scene
View file @
64481367
...
...
@@ -96,7 +96,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 375,
"y": 81
1.9999999999999
,
"y": 81
2
,
"z": 0
},
"_lrot": {
...
...
@@ -181,7 +181,7 @@
"_priority": 6553,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 81
1.9999999999999
,
"_orthoHeight": 81
2
,
"_near": 1,
"_far": 2000,
"_color": {
...
...
@@ -962,7 +962,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 749.9999999999998,
"height": 162
3.9999999999998
"height": 162
4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
build/dbTest/index.html
View file @
64481367
...
...
@@ -98,17 +98,17 @@
</style>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
161074736
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
161074736
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
161074736
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
403133635
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
403133635
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
403133635
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
type=
"text/javascript"
src=
"https://appx/web-view.min.js"
></script>
<!-- <link rel="stylesheet" type="text/css" href="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
161074736
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
161074736
/custom.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
403133635
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
403133635
/custom.css" />-->
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"
></script
>
<script>
eruda
.
init
()
</script
>
<!-- <script src="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"></script>--
>
<!-- <script>eruda.init()</script>--
>
</head>
<body
style=
"overflow: hidden; visibility: hidden"
>
<div
id=
"GameDiv"
cc_exact_fit_screen=
"true"
style=
"overflow: hidden;"
>
...
...
@@ -118,20 +118,20 @@
</div>
<!-- Polyfills bundle. -->
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
161074736
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
403133635
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
161074736
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
403133635
/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<!--<script src="https://yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
161074736
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<!--<script src="https://yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
403133635
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<script
type=
"systemjs-importmap"
charset=
"utf-8"
>
{
"imports"
:{
"cc"
:
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
161074736
/cocos-js/cc.js"
}}
{
"imports"
:{
"cc"
:
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
403133635
/cocos-js/cc.js"
}}
</script>
<script>
System
.
import
(
'//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
161074736
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/1727
403133635
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
})
</script>
...
...
profiles/v2/editor/packages.json
View file @
64481367
...
...
@@ -9,7 +9,7 @@
"8"
:
{
"3
\\
extension"
:
{
"name"
:
"extension"
,
"time"
:
1727
315987289
"time"
:
1727
402235314
}
}
}
...
...
profiles/v2/packages/builder.json
View file @
64481367
...
...
@@ -70,8 +70,8 @@
"progress"
:
1
,
"state"
:
"success"
,
"stage"
:
"build"
,
"message"
:
"2024-9-2
4 15:00:29 build success in 2 min 3
5 s!"
,
"detailMessage"
:
"%c兑吧发布插件 >> 版本号:1727
161074736
\r
color: green
\r
"
,
"message"
:
"2024-9-2
7 10:13:09 build success in 5
5 s!"
,
"detailMessage"
:
"%c兑吧发布插件 >> 版本号:1727
403133635
\r
color: green
\r
"
,
"options"
:
{
"name"
:
"cocos-template-3d"
,
"server"
:
""
,
...
...
@@ -135,7 +135,7 @@
"nativeCodeBundleMode"
:
"both"
,
"wasmCompressionMode"
:
false
},
"time"
:
"2024-9-2
4 14:57:54
"
,
"time"
:
"2024-9-2
7 10:12:13
"
,
"dirty"
:
false
},
"1727146301455"
:
{
...
...
profiles/v2/packages/reference-image.json
View file @
64481367
...
...
@@ -3,7 +3,7 @@
"config"
:
{
"images"
:
[],
"sceneUUID"
:
{},
"scene"
:
"
0fe5b446-0dca-460d-99f1-cf13098f7777
"
"scene"
:
"
9e293cde-e27b-4902-808b-e884f3e9da32
"
},
"show"
:
false
}
profiles/v2/packages/scene.json
View file @
64481367
...
...
@@ -40,31 +40,6 @@
"snapThreshold"
:
4
},
"camera-infos"
:
{
"0c6b5ef1-9277-4cc2-a672-72a0c12cf3fe"
:
{
"position"
:
{
"x"
:
375.0000000000002
,
"y"
:
812
,
"z"
:
5000
},
"rotation"
:
{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
},
"viewCenter"
:
{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
},
"contentRect"
:
{
"x"
:
-154.40139211136872
,
"y"
:
234.55684454756394
,
"width"
:
278.6637931034483
,
"height"
:
603.4000000000001
},
"scale"
:
0.3715517241379311
},
"0aaa6e19-4555-47f2-bcf3-da80457a256b"
:
{
"position"
:
{
"x"
:
360.9443954489309
,
...
...
@@ -1040,10 +1015,10 @@
},
"scale"
:
13.019323671497578
},
"
063b0464-e893-46fd-95f9-73a41f19fd25
"
:
{
"
b6ce0806-8608-4249-a153-720d6ed0bd0f
"
:
{
"position"
:
{
"x"
:
493.846711177162
7
,
"y"
:
1007.5273238531296
,
"x"
:
382.9525933794191
7
,
"y"
:
925.3495426459672
,
"z"
:
5000
},
"rotation"
:
{
...
...
@@ -1058,17 +1033,17 @@
"z"
:
0
},
"contentRect"
:
{
"x"
:
49.84671117716232
,
"y"
:
657.5273238531294
,
"width"
:
621.6
,
"height"
:
490
"x"
:
143.74514866439998
,
"y"
:
407.3856890230455
,
"width"
:
248.59913793103445
,
"height"
:
538.3
},
"scale"
:
0.
6999999999999994
"scale"
:
0.
5459840450678992
},
"
b6ce0806-8608-4249-a153-720d6ed0bd0f
"
:
{
"
55ac4e22-a145-4a46-92f1-a45afa1b8f08
"
:
{
"position"
:
{
"x"
:
3
82.95259337941917
,
"y"
:
925.3495426459672
,
"x"
:
3
94.23799999999983
,
"y"
:
811.9999999999998
,
"z"
:
5000
},
"rotation"
:
{
...
...
@@ -1083,17 +1058,17 @@
"z"
:
0
},
"contentRect"
:
{
"x"
:
143.74514866439998
,
"y"
:
407.3856890230455
,
"width"
:
2
48.59913793103445
,
"height"
:
538
.3
"x"
:
-86.51339146567734
,
"y"
:
-228.98701298701303
,
"width"
:
2
58.7023431034483
,
"height"
:
377
.3
},
"scale"
:
0.
5459840450678992
"scale"
:
0.
23232758620689659
},
"
7cae554b-bec7-45e7-a1d4-ec5e84e5688c
"
:
{
"
5d6e4c61-d0d4-48df-a049-e0eb6fcaa065
"
:
{
"position"
:
{
"x"
:
-208.4042691525789
3
,
"y"
:
977.2006247232842
,
"x"
:
416.781334670897
3
,
"y"
:
819.2420141070714
,
"z"
:
5000
},
"rotation"
:
{
...
...
@@ -1108,17 +1083,17 @@
"z"
:
0
},
"contentRect"
:
{
"x"
:
-464.29340569129465
,
"y"
:
423.115347738118
5
,
"width"
:
261.2068965517241
,
"height"
:
565.6
"x"
:
168.6198394267623
,
"y"
:
256.7517111307592
5
,
"width"
:
429.8
,
"height"
:
377.3
},
"scale"
:
0.
4857555527634166
"scale"
:
0.
3046926971536435
},
"
04224ebd-adcd-4112-8010-da14ed5ea48a
"
:
{
"
e006bcbd-d4b2-4d6e-b86d-b98a06cf9cc7
"
:
{
"position"
:
{
"x"
:
375
,
"y"
:
8
11.9999999999999
,
"x"
:
276.8103517444123
,
"y"
:
8
80.5206538674951
,
"z"
:
5000
},
"rotation"
:
{
...
...
@@ -1133,17 +1108,17 @@
"z"
:
0
},
"contentRect"
:
{
"x"
:
-
76.94805194805188
,
"y"
:
586.0259740259739
,
"width"
:
174.2456896551724
,
"height"
:
377.3
"x"
:
-
438.25341662180887
,
"y"
:
236.963262337896
,
"width"
:
298.2
,
"height"
:
268.38
},
"scale"
:
0.2
3232758620689656
"scale"
:
0.2
0851287199275095
},
"
0fe5b446-0dca-460d-99f1-cf13098f7777
"
:
{
"
7cae554b-bec7-45e7-a1d4-ec5e84e5688c
"
:
{
"position"
:
{
"x"
:
37
5
,
"y"
:
811.9999999999999
,
"x"
:
457.4243558212416
5
,
"y"
:
933.8575350492221
,
"z"
:
5000
},
"rotation"
:
{
...
...
@@ -1158,17 +1133,17 @@
"z"
:
0
},
"contentRect"
:
{
"x"
:
-346.51664254703314
,
"y"
:
1
78.61649782923303
,
"width"
:
2
23.38362068965523
,
"height"
:
483.70000000000005
"x"
:
82.42435582124116
,
"y"
:
1
21.85753504922097
,
"width"
:
2
61.2068965517241
,
"height"
:
565.6
},
"scale"
:
0.
2978448275862069
5
"scale"
:
0.
3482758620689650
5
},
"
55ac4e22-a145-4a46-92f1-a45afa1b8f0
8"
:
{
"
1ce93d96-f621-4162-9f51-fbfb066ca23
8"
:
{
"position"
:
{
"x"
:
394.23799999999983
,
"y"
:
81
1.9999999999998
,
"x"
:
504.8464817880646
,
"y"
:
81
4.4027475411531
,
"z"
:
5000
},
"rotation"
:
{
...
...
@@ -1183,17 +1158,17 @@
"z"
:
0
},
"contentRect"
:
{
"x"
:
-
86.51339146567734
,
"y"
:
-228.98701298701303
,
"width"
:
258.7023431034483
,
"x"
:
-
279.2708194766896
,
"y"
:
83.19301504685788
,
"width"
:
404.59999999999997
,
"height"
:
377.3
},
"scale"
:
0.2
3232758620689659
"scale"
:
0.2
5799711302594275
},
"
5d6e4c61-d0d4-48df-a049-e0eb6fcaa06
5"
:
{
"
063b0464-e893-46fd-95f9-73a41f19fd2
5"
:
{
"position"
:
{
"x"
:
4
16.7813346708973
,
"y"
:
819.2420141070714
,
"x"
:
4
67.7915455186922
,
"y"
:
786.9279947853701
,
"z"
:
5000
},
"rotation"
:
{
...
...
@@ -1208,17 +1183,17 @@
"z"
:
0
},
"contentRect"
:
{
"x"
:
168.6198394267623
,
"y"
:
256.75171113075925
,
"width"
:
429.8
,
"height"
:
377.3
"x"
:
-316.3257557460655
,
"y"
:
55.71826229107168
,
"width"
:
621.6
,
"height"
:
490
},
"scale"
:
0.
3046926971536435
"scale"
:
0.
2579971130259416
},
"
1ce93d96-f621-4162-9f51-fbfb066ca23
8"
:
{
"
53947ca7-3484-4b53-800d-509405063d6
8"
:
{
"position"
:
{
"x"
:
289
,
"y"
:
269.49999999999994
,
"x"
:
649.9251402336153
,
"y"
:
1442.801137715533
,
"z"
:
5000
},
"rotation"
:
{
...
...
@@ -1233,17 +1208,42 @@
"z"
:
0
},
"contentRect"
:
{
"x"
:
291.45817225390584
,
"y"
:
1025.9790819251734
,
"width"
:
298.2
,
"height"
:
385
},
"scale"
:
0.4618277687705127
},
"0fe5b446-0dca-460d-99f1-cf13098f7777"
:
{
"position"
:
{
"x"
:
463.0160271641019
,
"y"
:
959.4086046993141
,
"z"
:
5000
},
"rotation"
:
{
"x"
:
0
,
"y"
:
0
,
"
width"
:
404.59999999999997
,
"
height"
:
377.3
"
z"
:
0
,
"
w"
:
1
},
"scale"
:
0.7000000000000001
"viewCenter"
:
{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
},
"9e293cde-e27b-4902-808b-e884f3e9da32"
:
{
"contentRect"
:
{
"x"
:
253.29229018494172
,
"y"
:
505.286806227106
,
"width"
:
223.38362068965523
,
"height"
:
483.70000000000005
},
"scale"
:
0.4154171868310903
},
"04224ebd-adcd-4112-8010-da14ed5ea48a"
:
{
"position"
:
{
"x"
:
803.2643940760436
,
"y"
:
818.7204111449398
,
"x"
:
42.3255019022979
,
"y"
:
1153.7660120435216
,
"z"
:
5000
},
"rotation"
:
{
...
...
@@ -1258,17 +1258,17 @@
"z"
:
0
},
"contentRect"
:
{
"x"
:
-
4.175204046664109
,
"y"
:
-225.0015114810445
,
"width"
:
508
,
"height"
:
700
"x"
:
-
166.933695420623
,
"y"
:
700.6500967736237
,
"width"
:
174.2456896551724
,
"height"
:
377.3
},
"scale"
:
0.
2058977543168929
"scale"
:
0.
5337486321925865
},
"
53947ca7-3484-4b53-800d-509405063d68
"
:
{
"
9e293cde-e27b-4902-808b-e884f3e9da32
"
:
{
"position"
:
{
"x"
:
212.99999999999997
,
"y"
:
275
,
"x"
:
422.73571730663525
,
"y"
:
860.4887151681296
,
"z"
:
5000
},
"rotation"
:
{
...
...
@@ -1283,16 +1283,15 @@
"z"
:
0
},
"contentRect"
:
{
"x"
:
0
,
"y"
:
-
2.9999999999999516
,
"width"
:
298.2
,
"height"
:
385
"x"
:
-810.8862852387347
,
"y"
:
-
839.3841229849393
,
"width"
:
508
,
"height"
:
700
},
"scale"
:
0.
7
"scale"
:
0.
2058977543168929
}
},
"camera-uuids"
:
[
"0c6b5ef1-9277-4cc2-a672-72a0c12cf3fe"
,
"0aaa6e19-4555-47f2-bcf3-da80457a256b"
,
"72acec0d-cd27-47bb-bde7-91d1653ccbba"
,
"51a758c5-0076-4cc5-9e91-5d5b1db83ad4"
,
...
...
@@ -1332,16 +1331,17 @@
"5cca7270-4a9c-4e1a-b156-b8c65c6014c6"
,
"a4b435de-dc7c-4f0b-b968-e01f517eb7f6"
,
"d883a7e9-a688-4db6-ae42-8fb1f7652695"
,
"063b0464-e893-46fd-95f9-73a41f19fd25"
,
"b6ce0806-8608-4249-a153-720d6ed0bd0f"
,
"7cae554b-bec7-45e7-a1d4-ec5e84e5688c"
,
"04224ebd-adcd-4112-8010-da14ed5ea48a"
,
"0fe5b446-0dca-460d-99f1-cf13098f7777"
,
"55ac4e22-a145-4a46-92f1-a45afa1b8f08"
,
"5d6e4c61-d0d4-48df-a049-e0eb6fcaa065"
,
"e006bcbd-d4b2-4d6e-b86d-b98a06cf9cc7"
,
"7cae554b-bec7-45e7-a1d4-ec5e84e5688c"
,
"1ce93d96-f621-4162-9f51-fbfb066ca238"
,
"9e293cde-e27b-4902-808b-e884f3e9da32"
,
"53947ca7-3484-4b53-800d-509405063d68"
"063b0464-e893-46fd-95f9-73a41f19fd25"
,
"53947ca7-3484-4b53-800d-509405063d68"
,
"0fe5b446-0dca-460d-99f1-cf13098f7777"
,
"04224ebd-adcd-4112-8010-da14ed5ea48a"
,
"9e293cde-e27b-4902-808b-e884f3e9da32"
],
"camera"
:
{
"color"
:
[
...
...
test/index.ejs
deleted
100644 → 0
View file @
a6f73ced
<html>
<head>
<link
rel=
"icon"
href=
"./favicon.ico"
/>
<meta
charset=
"utf-8"
/>
<title><
%=
title
%
></title>
<meta
name=
"viewport"
content=
"width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"
/>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
/>
<meta
name=
"full-screen"
content=
"yes"
/>
<meta
name=
"screen-orientation"
content=
"portrait"
/>
<meta
name=
"x5-fullscreen"
content=
"true"
/>
<meta
name=
"360-fullscreen"
content=
"true"
/>
<meta
name=
"renderer"
content=
"webkit"
/>
<meta
name=
"force-rendering"
content=
"webkit"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"./index.css"
/>
</head>
<body
style=
"overflow: hidden;"
>
<div
class=
"toolbar disabled"
>
<div
class=
"item"
>
<div
id=
"view-select"
class=
"view-select-container"
value=
"iPhone XS Max"
tabindex=
"-1"
>
<div
class=
"view-select"
>
<div
class=
"label"
>
<span
id=
"name"
></span>
</div>
<i
class=
"arrow-triangle"
></i>
</div>
<div
class=
"options"
>
<ul>
<li
class=
""
data-device=
"Default"
>
设计分辨率 (1280X720)
</li>
<li
class=
""
data-device=
"FullScreen"
>
全屏
</li>
<li
class=
"separator"
></li>
<li
class=
"selected"
data-device=
"iPhone XS Max"
>
iPhone XS Max (414X896)
</li>
<li
class=
""
data-device=
"iPhone XS"
>
iPhone XS (375X812)
</li>
<li
class=
""
data-device=
"Pixel 3 XL"
>
Pixel 3 XL (393X786)
</li>
</ul>
</div>
</div>
</div>
<div
class=
"item"
>
<button
id=
"btn-rotate"
class=
"checked"
>
Rotate
</button>
</div>
<span
style=
"font-size: small;"
class=
"item"
>
Debug Mode:
</span>
<div
class=
"item"
>
<select
id=
"opts-debug-mode"
value=
"INFO"
>
<option
value=
"NONE"
>
None
</option>
<option
value=
"VERBOSE"
>
Verbose
</option>
<option
value=
"INFO"
>
Info
</option>
<option
value=
"WARN"
>
Warn
</option>
<option
value=
"ERROR"
>
Error
</option>
<option
value=
"INFO_FOR_WEB_PAGE"
>
Info For Web Page
</option>
<option
value=
"WARN_FOR_WEB_PAGE"
>
Warn For Web Page
</option>
<option
value=
"ERROR_FOR_WEB_PAGE"
>
Error For Web Page
</option>
</select>
</div>
<div
class=
"item"
>
<button
id=
"btn-show-fps"
class=
"checked"
>
Show FPS
</button>
</div>
<div
class=
"item"
>
<span
style=
"font-size: small;"
class=
"item"
>
FPS:
</span><input
id=
"input-set-fps"
type=
"number"
value=
"60"
/>
</div>
<div
style=
"margin-right: 0;"
class=
"item"
>
<button
id=
"btn-pause"
>
Pause
</button>
<button
id=
"btn-step"
>
Step
</button>
</div>
<div
class=
"item"
>
<button
id=
"btn-step"
style=
"display: none;"
>
Step
</button>
</div>
<div
id=
"step-length"
>
<span>
Step Length:
</span>
<input
type=
"text"
value=
"1"
>
<span>
ms
</span>
</div>
</div>
<div
id=
"content"
class=
"content"
style=
"overflow: hidden;"
>
<div
class=
"contentWrap"
>
<div
id=
"GameDiv"
class=
"wrapper"
>
<div
id=
"Cocos3dGameContainer"
>
<canvas
id=
"GameCanvas"
tabindex=
"-1"
style=
"background-color: '';"
></canvas>
</div>
<div
id=
"splash"
>
<div
class=
"progress-bar stripes"
><span></span></div>
</div>
<div
id=
"bulletin"
>
<div
id=
"sceneIsEmpty"
class=
"inner"
><
%=
tip_sceneIsEmpty
%
></div>
</div>
<div
class=
"error"
id=
"error"
>
<div
class=
"title"
>
Error
<i>
(Please open the console to see detailed errors)
</i></div>
<div
class=
"error-main"
></div>
<div
class=
"error-stack"
></div>
</div>
</div>
</div>
</div>
<!-- Polyfills bundle. -->
<script
src=
"/scripting/polyfills/bundle.js"
></script>
<!-- Import map that map the engine feature unit modules. -->
<script
src=
"/scripting/engine/bin/.cache/dev/preview/import-map.json"
type=
"systemjs-importmap"
></script>
<!-- Import map that map the entry of project module(s). -->
<script
src=
"/scripting/x/import-map.json"
type=
"systemjs-importmap"
></script>
<!-- Import map that map 'cc', 'cc/env'. -->
<script
src=
"/scripting/import-map-global"
type=
"systemjs-importmap"
></script>
<!-- SystemJS support. -->
<script
src=
"/scripting/systemjs/system.js"
></script>
<!-- Setup the detailed resolution. -->
<script>
System
.
setResolutionDetailMapCallback
(
function
()
{
var
url
=
new
URL
(
'/scripting/x/resolution-detail-map.json'
,
window
.
location
);
return
fetch
(
url
).
then
(
function
(
response
)
{
return
response
.
json
();
}).
then
(
function
(
json
)
{
return
{
json
,
url
:
url
.
href
};
});
});
</script>
<script
src=
"/scripting/engine/bin/.cache/dev/preview/bundled/index.js"
></script>
<!-- Manifest file. -->
<script
name=
"setting"
src=
"/settings.js?scene=current_scene"
></script>
<script>
window
.
onload
=
function
()
{
System
.
import
(
"/preview-app/index.js"
).
then
(
function
(
mod
)
{
return
mod
.
bootstrap
({
engineBaseUrl
:
'/scripting/engine'
,
settings
:
window
.
_CCSettings
,
devices
:
{
"Default"
:
{
"name"
:
"设计分辨率"
,
"width"
:
1280
,
"height"
:
720
,
"ratio"
:
1
},
"FullScreen"
:
{
"name"
:
"全屏"
},
"__separator__"
:
{
"name"
:
"__separator__"
},
"iPhone XS Max"
:
{
"name"
:
"iPhone XS Max"
,
"width"
:
414
,
"height"
:
896
,
"ratio"
:
3
},
"iPhone XS"
:
{
"name"
:
"iPhone XS"
,
"width"
:
375
,
"height"
:
812
,
"ratio"
:
3
},
"Pixel 3 XL"
:
{
"name"
:
"Pixel 3 XL"
,
"width"
:
393
,
"height"
:
786
,
"ratio"
:
3.67
},
},
});
}).
catch
(
function
(
err
)
{
console
.
error
(
err
);
});
};
</script>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment