Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Sbx_Pronunciation
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
Sbx_Pronunciation
Commits
75d586d1
Commit
75d586d1
authored
Dec 04, 2020
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test on platform
parent
ee36d426
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
283 additions
and
267 deletions
+283
-267
Scene.fire
play/assets/tmpGame/scene/Scene.fire
+267
-267
Scene.js
play/assets/tmpGame/script/Scene.js
+14
-0
index.html
publish/index.html
+2
-0
No files found.
play/assets/tmpGame/scene/Scene.fire
View file @
75d586d1
...
@@ -81,13 +81,13 @@
...
@@ -81,13 +81,13 @@
"__id__": 14
"__id__": 14
},
},
{
{
"__id__":
22
"__id__":
19
},
},
{
{
"__id__": 2
7
"__id__": 2
2
},
},
{
{
"__id__":
30
"__id__":
27
}
}
],
],
"_active": true,
"_active": true,
...
@@ -693,7 +693,7 @@
...
@@ -693,7 +693,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
res
",
"_name": "
video_container
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
"__id__": 2
...
@@ -703,13 +703,10 @@
...
@@ -703,13 +703,10 @@
"__id__": 15
"__id__": 15
},
},
{
{
"__id__": 18
"__id__": 17
},
{
"__id__": 21
}
}
],
],
"_active":
fals
e,
"_active":
tru
e,
"_components": [],
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
...
@@ -722,8 +719,8 @@
...
@@ -722,8 +719,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
0
,
"width":
668
,
"height":
0
"height":
353
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -734,8 +731,8 @@
...
@@ -734,8 +731,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0
,
-267.5
,
0
,
125
,
0,
0,
0,
0,
0,
0,
...
@@ -757,22 +754,22 @@
...
@@ -757,22 +754,22 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "0
aAzbH6R1E+6AmGRrkKa5O
"
"_id": "0
7WrlyPWpI1Ik9Q7DJEFRo
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
font
",
"_name": "
video
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 14
"__id__": 14
},
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
{
"__id__": 16
"__id__": 16
}
}
],
],
"_active": true,
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -784,8 +781,8 @@
...
@@ -784,8 +781,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
0
,
"width":
534
,
"height":
0
"height":
278
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -796,8 +793,8 @@
...
@@ -796,8 +793,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
3
0,
0
,
-2
,
0,
0,
0,
0,
0,
0,
...
@@ -819,20 +816,42 @@
...
@@ -819,20 +816,42 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "9bLfcYeeNKrr524vzWchiM"
"_id": "5dDGb4m3VNWLXVzyWPW5HX"
},
{
"__type__": "cc.VideoPlayer",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
},
"_enabled": true,
"_resourceType": 1,
"_remoteURL": "https://fd.aigei.com/pvvdo_fast/vdo/mp4/50/50dc7a2bb8714da38b2c10971fce51d4.mp4",
"_clip": {
"__uuid__": "712e66dd-a0ad-47ce-981b-f05fa133db57"
},
"_volume": 1,
"_mute": false,
"_isFullscreen": true,
"_N$isFullscreen": true,
"_stayOnBottom": true,
"videoPlayerEvent": [],
"_N$keepAspectRatio": true,
"_id": "7fn4AgAtJIZanX7bc/nzLj"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
Comic Sans MS
",
"_name": "
bg_A
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
5
"__id__": 1
4
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
7
"__id__": 1
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -846,8 +865,8 @@
...
@@ -846,8 +865,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
0
,
"width":
668
,
"height":
0
"height":
353
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -858,7 +877,7 @@
...
@@ -858,7 +877,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0
,
-1.638
,
0,
0,
0,
0,
0,
0,
...
@@ -881,50 +900,50 @@
...
@@ -881,50 +900,50 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
14gBFjSd5AgIeRMwZXPOfe
"
"_id": "
c0NYIsSCZFZr3NPWVwlHAn
"
},
},
{
{
"__type__": "cc.
Label
",
"__type__": "cc.
Sprite
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
6
"__id__": 1
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_useOriginalSize": true,
"_spriteFrame": {
"_string": "",
"__uuid__": "1519107e-2f68-4aeb-bb2e-d47e9e8785d9"
"_N$string": "",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "4278e1b0-1b0e-4c36-a439-b8e331576335"
},
},
"_isSystemFontUsed": false,
"_type": 0,
"_spacingX": 0,
"_sizeMode": 1,
"_batchAsBitmap": false,
"_fillType": 0,
"_styleFlags": 0,
"_fillCenter": {
"_underlineHeight": 0,
"__type__": "cc.Vec2",
"_N$horizontalAlign": 0,
"x": 0,
"_N$verticalAlign": 0,
"y": 0
"_N$fontFamily": "Arial",
},
"_N$overflow": 0,
"_fillStart": 0,
"_N$cacheMode": 0,
"_fillRange": 0,
"_id": "d8F48Jm3BLF7sjDfekyb3R"
"_isTrimmedMode": true,
"_atlas": null,
"_id": "12TIQc9L1O1rIp4hQFAqb3"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
img
",
"_name": "
text_container
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
14
"__id__":
2
},
},
"_children": [
"_children": [
{
{
"__id__":
19
"__id__":
20
}
}
],
],
"_active": true,
"_active": true,
...
@@ -940,8 +959,8 @@
...
@@ -940,8 +959,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 0,
"width":
4
0,
"height":
0
"height":
36
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -952,8 +971,8 @@
...
@@ -952,8 +971,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
-22
0,
0,
-18
0,
0,
0,
0,
0,
0,
0,
...
@@ -975,20 +994,20 @@
...
@@ -975,20 +994,20 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
53LUHHG2pEr79fyrvazXJs
"
"_id": "
0frwQYF7lIwIB7eNDQYIcp
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "b
lack
",
"_name": "b
g_A
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
8
"__id__": 1
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
0
"__id__": 2
1
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1002,8 +1021,8 @@
...
@@ -1002,8 +1021,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
100
,
"width":
602
,
"height": 1
00
"height": 1
64
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1037,21 +1056,25 @@
...
@@ -1037,21 +1056,25 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
dbn85feHFExo1q+nsQtN4n
"
"_id": "
a97JLq9pVAua7wVjGxeFDh
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
19
"__id__":
20
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
7a2d99d6-2009-4341-83f8-f18980e6405d
"
"__uuid__": "
24c5be88-f09f-42aa-bf3c-e0248a81c629
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -1065,16 +1088,23 @@
...
@@ -1065,16 +1088,23 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
86147ZoQBOpKg5wejgeXRf
"
"_id": "
7dkqY/AVNGFJQQifsWIdIt
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
audio
",
"_name": "
right_container
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
14
"__id__":
2
},
},
"_children": [],
"_children": [
{
"__id__": 23
},
{
"__id__": 25
}
],
"_active": true,
"_active": true,
"_components": [],
"_components": [],
"_prefab": null,
"_prefab": null,
...
@@ -1088,8 +1118,8 @@
...
@@ -1088,8 +1118,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 0,
"width":
43
0,
"height": 0
"height":
55
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1100,7 +1130,7 @@
...
@@ -1100,7 +1130,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0
,
378.363
,
0,
0,
0,
0,
0,
0,
...
@@ -1123,25 +1153,22 @@
...
@@ -1123,25 +1153,22 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
b823DIVC9L+Ihc3T9Bt7m3
"
"_id": "
a9j0dyDaxAWJKitYTpJXu0
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
video_container
",
"_name": "
bg
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
"__id__": 2
2
},
},
"_children": [
"_children": [],
{
"_active": true,
"__id__": 23
"_components": [
},
{
{
"__id__": 2
5
"__id__": 2
4
}
}
],
],
"_active": true,
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1153,8 +1180,8 @@
...
@@ -1153,8 +1180,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
668
,
"width":
430
,
"height":
353
"height":
550
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1165,8 +1192,8 @@
...
@@ -1165,8 +1192,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-2
67.5
,
-2
1.293
,
1
25
,
1
4.742
,
0,
0,
0,
0,
0,
0,
...
@@ -1188,11 +1215,43 @@
...
@@ -1188,11 +1215,43 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "07WrlyPWpI1Ik9Q7DJEFRo"
"_id": "90aXo7FMVM2rUKSLcGwMV1"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a9aec2e1-ddd3-414a-8f2d-85f4f3542383"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "21RVUjN2JMpKnRfsSuUQHI"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
video
",
"_name": "
dragonBones
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 22
"__id__": 22
...
@@ -1201,7 +1260,7 @@
...
@@ -1201,7 +1260,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
4
"__id__": 2
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1215,8 +1274,8 @@
...
@@ -1215,8 +1274,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
534
,
"width":
388
,
"height":
278
"height":
397
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1227,8 +1286,8 @@
...
@@ -1227,8 +1286,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
3
0,
0,
-2
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -1250,44 +1309,68 @@
...
@@ -1250,44 +1309,68 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
5dDGb4m3VNWLXVzyWPW5HX
"
"_id": "
c65g142Q1Ot5hUwPHKrILy
"
},
},
{
{
"__type__": "
cc.VideoPlayer
",
"__type__": "
dragonBones.ArmatureDisplay
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
3
"__id__": 2
5
},
},
"_enabled": true,
"_enabled": true,
"_resourceType": 1,
"_materials": [
"_remoteURL": "https://fd.aigei.com/pvvdo_fast/vdo/mp4/50/50dc7a2bb8714da38b2c10971fce51d4.mp4",
{
"_clip": {
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__uuid__": "712e66dd-a0ad-47ce-981b-f05fa133db57"
}
],
"_armatureName": "Armature",
"_animationName": "apple",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "cc2fde72-3c3b-4574-9741-c57a28bab1fc#50e92afc-ad08-473d-8aba-ec7911f5fcd1",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "cc2fde72-3c3b-4574-9741-c57a28bab1fc"
},
},
"_volume": 1,
"_N$dragonAtlasAsset": {
"_mute": false,
"__uuid__": "50e92afc-ad08-473d-8aba-ec7911f5fcd1"
"_isFullscreen": true,
},
"_N$isFullscreen": true,
"_N$_defaultArmatureIndex": 0,
"_stayOnBottom": true,
"_N$_animationIndex": 1,
"videoPlayerEvent": [],
"_N$_defaultCacheMode": 0,
"_N$keepAspectRatio": true,
"_N$timeScale": 1,
"_id": "7fn4AgAtJIZanX7bc/nzLj"
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "bfn3YVOO9LmbRVBrdzSLW/"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
bg_A
",
"_name": "
res
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
2
"__id__": 2
},
},
"_children": [],
"_children": [
"_active": true,
"_components": [
{
{
"__id__": 26
"__id__": 28
},
{
"__id__": 31
},
{
"__id__": 34
}
}
],
],
"_active": false,
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1299,8 +1382,8 @@
...
@@ -1299,8 +1382,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
668
,
"width":
0
,
"height":
353
"height":
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1311,7 +1394,7 @@
...
@@ -1311,7 +1394,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-1.638
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -1334,50 +1417,18 @@
...
@@ -1334,50 +1417,18 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "c0NYIsSCZFZr3NPWVwlHAn"
"_id": "0aAzbH6R1E+6AmGRrkKa5O"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "1519107e-2f68-4aeb-bb2e-d47e9e8785d9"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "12TIQc9L1O1rIp4hQFAqb3"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
text_container
",
"_name": "
font
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
"__id__": 2
7
},
},
"_children": [
"_children": [
{
{
"__id__": 2
8
"__id__": 2
9
}
}
],
],
"_active": true,
"_active": true,
...
@@ -1393,8 +1444,8 @@
...
@@ -1393,8 +1444,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
4
0,
"width": 0,
"height":
36
"height":
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1405,8 +1456,8 @@
...
@@ -1405,8 +1456,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-22
0,
0,
-18
0,
0,
0,
0,
0,
0,
0,
0,
...
@@ -1428,20 +1479,20 @@
...
@@ -1428,20 +1479,20 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
0frwQYF7lIwIB7eNDQYIcp
"
"_id": "
9bLfcYeeNKrr524vzWchiM
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
bg_A
",
"_name": "
Comic Sans MS
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
7
"__id__": 2
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
29
"__id__":
30
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1455,8 +1506,8 @@
...
@@ -1455,8 +1506,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
602
,
"width":
0
,
"height":
164
"height":
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1490,53 +1541,50 @@
...
@@ -1490,53 +1541,50 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
a97JLq9pVAua7wVjGxeFDh
"
"_id": "
14gBFjSd5AgIeRMwZXPOfe
"
},
},
{
{
"__type__": "cc.
Sprite
",
"__type__": "cc.
Label
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
8
"__id__": 2
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [],
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_useOriginalSize": true,
"__uuid__": "24c5be88-f09f-42aa-bf3c-e0248a81c629"
"_string": "",
},
"_N$string": "",
"_type": 0,
"_fontSize": 40,
"_sizeMode": 1,
"_lineHeight": 40,
"_fillType": 0,
"_enableWrapText": true,
"_fillCenter": {
"_N$file": {
"__type__": "cc.Vec2",
"__uuid__": "4278e1b0-1b0e-4c36-a439-b8e331576335"
"x": 0,
"y": 0
},
},
"_fillStart": 0,
"_isSystemFontUsed": false,
"_fillRange": 0,
"_spacingX": 0,
"_isTrimmedMode": true,
"_batchAsBitmap": false,
"_atlas": null,
"_styleFlags": 0,
"_id": "7dkqY/AVNGFJQQifsWIdIt"
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 0,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "d8F48Jm3BLF7sjDfekyb3R"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
right_container
",
"_name": "
img
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
"__id__": 2
7
},
},
"_children": [
"_children": [
{
{
"__id__": 31
"__id__": 32
},
{
"__id__": 33
}
}
],
],
"_active": true,
"_active": true,
...
@@ -1552,8 +1600,8 @@
...
@@ -1552,8 +1600,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
43
0,
"width": 0,
"height":
55
0
"height": 0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1564,7 +1612,7 @@
...
@@ -1564,7 +1612,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
378.363
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -1587,20 +1635,20 @@
...
@@ -1587,20 +1635,20 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
a9j0dyDaxAWJKitYTpJXu0
"
"_id": "
53LUHHG2pEr79fyrvazXJs
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "b
g
",
"_name": "b
lack
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
0
"__id__": 3
1
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
2
"__id__": 3
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1614,8 +1662,8 @@
...
@@ -1614,8 +1662,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
43
0,
"width":
10
0,
"height":
55
0
"height":
10
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1626,8 +1674,8 @@
...
@@ -1626,8 +1674,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-21.293
,
0
,
14.742
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -1649,28 +1697,24 @@
...
@@ -1649,28 +1697,24 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
90aXo7FMVM2rUKSLcGwMV1
"
"_id": "
dbn85feHFExo1q+nsQtN4n
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
1
"__id__": 3
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [],
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
a9aec2e1-ddd3-414a-8f2d-85f4f3542383
"
"__uuid__": "
7a2d99d6-2009-4341-83f8-f18980e6405d
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode":
0
,
"_sizeMode":
1
,
"_fillType": 0,
"_fillType": 0,
"_fillCenter": {
"_fillCenter": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1681,22 +1725,18 @@
...
@@ -1681,22 +1725,18 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
21RVUjN2JMpKnRfsSuUQHI
"
"_id": "
86147ZoQBOpKg5wejgeXRf
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
dragonBones
",
"_name": "
audio
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
30
"__id__":
27
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [],
{
"__id__": 34
}
],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1708,8 +1748,8 @@
...
@@ -1708,8 +1748,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
388
,
"width":
0
,
"height":
397
"height":
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1743,47 +1783,7 @@
...
@@ -1743,47 +1783,7 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "c65g142Q1Ot5hUwPHKrILy"
"_id": "b823DIVC9L+Ihc3T9Bt7m3"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "apple",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "cc2fde72-3c3b-4574-9741-c57a28bab1fc#50e92afc-ad08-473d-8aba-ec7911f5fcd1",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "cc2fde72-3c3b-4574-9741-c57a28bab1fc"
},
"_N$dragonAtlasAsset": {
"__uuid__": "50e92afc-ad08-473d-8aba-ec7911f5fcd1"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "bfn3YVOO9LmbRVBrdzSLW/"
},
},
{
{
"__type__": "cc.Canvas",
"__type__": "cc.Canvas",
...
...
play/assets/tmpGame/script/Scene.js
View file @
75d586d1
...
@@ -6,6 +6,12 @@
...
@@ -6,6 +6,12 @@
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
import
GameLogic
from
"
./GameLogic
"
import
GameLogic
from
"
./GameLogic
"
// cc.game.onStart = function(){
// cc.director.runScene(new MyScene());
// console.log("Test")
// cc.game.run();
// };
// cc.game.run();
cc
.
Class
({
cc
.
Class
({
extends
:
cc
.
Component
,
extends
:
cc
.
Component
,
...
@@ -14,10 +20,18 @@ cc.Class({
...
@@ -14,10 +20,18 @@ cc.Class({
},
},
onStart
()
{
},
// 生命周期 onLoad
// 生命周期 onLoad
onLoad
()
{
onLoad
()
{
this
.
initSceneData
();
this
.
initSceneData
();
this
.
initSize
();
this
.
initSize
();
cc
.
macro
.
ENABLE_TRANSPARENT_CANVAS
=
true
;
cc
.
director
.
setClearColor
(
new
cc
.
Color
(
255
,
255
,
255
,
0
));
},
},
_imageResList
:
null
,
_imageResList
:
null
,
...
...
publish/index.html
View file @
75d586d1
...
@@ -67,6 +67,8 @@
...
@@ -67,6 +67,8 @@
loadScript
(
debug
?
'
physics.js
'
:
'
physics-min.js
'
,
window
.
boot
);
loadScript
(
debug
?
'
physics.js
'
:
'
physics-min.js
'
,
window
.
boot
);
}
}
else
{
else
{
cc
.
macro
.
ENABLE_TRANSPARENT_CANVAS
=
true
;
cc
.
director
.
setClearColor
(
new
cc
.
Color
(
255
,
255
,
255
,
0
));
window
.
boot
();
window
.
boot
();
}
}
});
});
...
...
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