Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MRBR02
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
MRBR02
Commits
b321010c
Commit
b321010c
authored
Apr 25, 2022
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mrbr02整体修改
parent
7c0a3ba6
Changes
26
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
3424 additions
and
1081 deletions
+3424
-1081
星星.meta
assets/MRBR02/img/common/星星.meta
+13
-0
icon_bigstar.png
assets/MRBR02/img/common/星星/icon_bigstar.png
+0
-0
icon_bigstar.png.meta
assets/MRBR02/img/common/星星/icon_bigstar.png.meta
+37
-0
star.png
assets/MRBR02/img/common/星星/star.png
+0
-0
star.png.meta
assets/MRBR02/img/common/星星/star.png.meta
+37
-0
star_bg.png
assets/MRBR02/img/common/星星/star_bg.png
+0
-0
star_bg.png.meta
assets/MRBR02/img/common/星星/star_bg.png.meta
+37
-0
Img_bt_right.png
assets/MRBR02/img/common/老鼠在说话开始/Img_bt_right.png
+0
-0
Img_bt_right.png.meta
assets/MRBR02/img/common/老鼠在说话开始/Img_bt_right.png.meta
+37
-0
big_star.mp3
assets/MRBR02/img/common/音效/big_star.mp3
+0
-0
big_star.mp3.meta
assets/MRBR02/img/common/音效/big_star.mp3.meta
+8
-0
layout_mouse.ts
assets/MRBR02/mouse/layout_mouse.ts
+0
-56
small.meta
assets/MRBR02/mouse/small.meta
+12
-0
layout_mouse.prefab
assets/MRBR02/mouse/small/layout_mouse.prefab
+503
-0
layout_mouse.prefab.meta
assets/MRBR02/mouse/small/layout_mouse.prefab.meta
+8
-0
layout_mouse.ts
assets/MRBR02/mouse/small/layout_mouse.ts
+168
-0
layout_mouse.ts.meta
assets/MRBR02/mouse/small/layout_mouse.ts.meta
+0
-0
mouse_start.prefab
assets/MRBR02/mouse/start/mouse_start.prefab
+433
-19
mstart.ts
assets/MRBR02/mouse/start/mstart.ts
+89
-25
Game.ts
assets/MRBR02/scene/Game.ts
+5
-1
MRBR02.fire
assets/MRBR02/scene/MRBR02.fire
+1982
-925
MRBR02.ts
assets/MRBR02/scene/MRBR02.ts
+30
-23
defaultData.ts
assets/MRBR02/script/defaultData.ts
+1
-29
creator.d.ts
creator.d.ts
+2
-0
form.component.html
form/src/app/form/form.component.html
+9
-0
form.component.ts
form/src/app/form/form.component.ts
+13
-3
No files found.
assets/MRBR02/img/common/星星.meta
0 → 100644
View file @
b321010c
{
"ver": "1.1.2",
"uuid": "b027ddf6-6657-4490-9416-0c8b01ecad96",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
assets/MRBR02/img/common/星星/icon_bigstar.png
0 → 100644
View file @
b321010c
14.5 KB
assets/MRBR02/img/common/星星/icon_bigstar.png.meta
0 → 100644
View file @
b321010c
{
"ver": "2.3.5",
"uuid": "329181ef-e920-4e0d-8f97-8ef4149b7743",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 278,
"height": 275,
"platformSettings": {},
"subMetas": {
"icon_bigstar": {
"ver": "1.0.4",
"uuid": "1f039de2-0395-4240-a2d6-77c5918ad985",
"rawTextureUuid": "329181ef-e920-4e0d-8f97-8ef4149b7743",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 278,
"height": 275,
"rawWidth": 278,
"rawHeight": 275,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/MRBR02/img/common/星星/star.png
0 → 100644
View file @
b321010c
3.61 KB
assets/MRBR02/img/common/星星/star.png.meta
0 → 100644
View file @
b321010c
{
"ver": "2.3.5",
"uuid": "230a73ce-15c3-43cb-8ebf-9df5248d4991",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 62,
"height": 69,
"platformSettings": {},
"subMetas": {
"star": {
"ver": "1.0.4",
"uuid": "19c56e55-a25a-4590-8c3b-d56f0254b442",
"rawTextureUuid": "230a73ce-15c3-43cb-8ebf-9df5248d4991",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 62,
"height": 69,
"rawWidth": 62,
"rawHeight": 69,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/MRBR02/img/common/星星/star_bg.png
0 → 100644
View file @
b321010c
3.28 KB
assets/MRBR02/img/common/星星/star_bg.png.meta
0 → 100644
View file @
b321010c
{
"ver": "2.3.5",
"uuid": "29239e52-a730-4c67-9782-10ea26230b45",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 62,
"height": 69,
"platformSettings": {},
"subMetas": {
"star_bg": {
"ver": "1.0.4",
"uuid": "639a6d2e-30bb-42c0-9c54-9f827295e90d",
"rawTextureUuid": "29239e52-a730-4c67-9782-10ea26230b45",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 1.5,
"trimX": 0,
"trimY": 0,
"width": 62,
"height": 66,
"rawWidth": 62,
"rawHeight": 69,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/MRBR02/img/common/老鼠在说话开始/Img_bt_right.png
0 → 100644
View file @
b321010c
3 KB
assets/MRBR02/img/common/老鼠在说话开始/Img_bt_right.png.meta
0 → 100644
View file @
b321010c
{
"ver": "2.3.5",
"uuid": "e50816e7-a843-4920-8269-53555103beac",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 282,
"height": 118,
"platformSettings": {},
"subMetas": {
"Img_bt_right": {
"ver": "1.0.4",
"uuid": "6049e9b1-b6da-4323-8d37-33a677eccd56",
"rawTextureUuid": "e50816e7-a843-4920-8269-53555103beac",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 282,
"height": 118,
"rawWidth": 282,
"rawHeight": 118,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/MRBR02/img/common/音效/big_star.mp3
0 → 100644
View file @
b321010c
File added
assets/MRBR02/img/common/音效/big_star.mp3.meta
0 → 100644
View file @
b321010c
{
"ver": "2.0.1",
"uuid": "0c8d6a87-d127-478d-8bf0-656b9a4b95a9",
"downloadMode": 0,
"duration": 1.776327,
"subMetas": {}
}
\ No newline at end of file
assets/MRBR02/mouse/layout_mouse.ts
deleted
100644 → 0
View file @
7c0a3ba6
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
import
pg
from
"
../scene/pg
"
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
@
ccclass
export
default
class
NewClass
extends
cc
.
Component
{
@
property
(
cc
.
Node
)
item
:
cc
.
Node
=
null
;
// LIFE-CYCLE CALLBACKS:
private
mouseList
=
[];
private
mouseNum
=
0
;
onLoad
()
{
pg
.
event
.
on
(
"
mouse_add
"
,
()
=>
{
this
.
reviceMouse
();
})
let
max
=
3
;
for
(
let
i
=
0
;
i
<
max
;
i
++
)
{
this
.
addMouse
();
}
}
reviceMouse
()
{
this
.
mouseNum
++
;
this
.
updateMouse
();
}
start
()
{
}
addMouse
()
{
let
item
=
cc
.
instantiate
(
this
.
item
);
item
.
active
=
true
;
item
.
getChildByName
(
"
light
"
).
active
=
false
;
this
.
node
.
addChild
(
item
);
this
.
mouseList
.
push
(
item
)
}
updateMouse
()
{
for
(
let
i
=
0
;
i
<
this
.
mouseList
.
length
;
i
++
)
{
let
item
=
this
.
mouseList
[
i
];
item
.
getChildByName
(
"
light
"
).
active
=
i
<
this
.
mouseNum
;
}
}
// update (dt) {}
}
assets/MRBR02/mouse/small.meta
0 → 100644
View file @
b321010c
{
"ver": "1.1.2",
"uuid": "828d76bc-8d6c-456d-a0df-6af33caf2179",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
assets/MRBR02/mouse/small/layout_mouse.prefab
0 → 100644
View file @
b321010c
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "layout_mouse",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 13
}
],
"_prefab": {
"__id__": 14
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 1,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
},
{
"__id__": 6
},
{
"__id__": 9
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 12
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "star_bg",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
}
],
"_prefab": {
"__id__": 5
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 59,
"height": 42
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "54beeaf0-8640-4d6d-bdb2-40be6c49f378"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "1a6bNni9hAzZuAOicd4es+",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
}
],
"_prefab": {
"__id__": 8
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 59,
"height": 42
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "047bdd7d-6c4f-47dc-944a-12cf7a461f93"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "0dcJdIc9BNfbQiPTRx9GVW",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "icon_bigstar",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
}
],
"_prefab": {
"__id__": 11
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 59,
"height": 42
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "047bdd7d-6c4f-47dc-944a-12cf7a461f93"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "e8QBmuw8VOBYptnR5JD386",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "9eIg5jomZOV5E+Yzh+2uPU",
"sync": false
},
{
"__type__": "aa1f1smbntECpwesqp/Tg0F",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "",
"sync": false
}
]
\ No newline at end of file
assets/MRBR02/mouse/small/layout_mouse.prefab.meta
0 → 100644
View file @
b321010c
{
"ver": "1.2.9",
"uuid": "564dd930-80a8-4d89-bf96-f0f5be1e92cb",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
assets/MRBR02/mouse/small/layout_mouse.ts
0 → 100644
View file @
b321010c
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
import
Game
from
"
../../scene/Game
"
;
import
pg
from
"
../../scene/pg
"
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
@
ccclass
export
default
class
NewClass
extends
cc
.
Component
{
// LIFE-CYCLE CALLBACKS:
onLoad
()
{
pg
.
event
.
on
(
"
mouse_add
"
,
()
=>
{
this
.
showBigStar
();
})
pg
.
event
.
on
(
"
mouse_num
"
,
(
max
:
number
)
=>
{
this
.
initStar
();
})
}
init
(
max
)
{
}
reviceMouse
()
{
}
start
()
{
}
//-----------------------STAR-----------------------------
bigStarArr
:
cc
.
Node
[];
canvas
:
cc
.
Node
;
curGroupIndex
:
number
@
property
(
cc
.
Vec2
)
position
:
cc
.
Vec2
;
@
property
(
cc
.
AudioClip
)
bigStarClip
:
cc
.
AudioClip
;
@
property
(
cc
.
AudioClip
)
starCountClip
:
cc
.
AudioClip
;
//搭配res中的star_bg star等使用
initStar
()
{
this
.
curGroupIndex
=
0
;
this
.
canvas
=
cc
.
find
(
'
Canvas
'
);
const
gArr
=
Game
.
getIns
().
lists
;
if
(
gArr
.
length
<=
1
)
{
return
;
}
this
.
cleanStar
();
this
.
bigStarArr
=
[];
let
baseX
=
this
.
position
.
x
;
let
baseY
=
this
.
position
.
y
;
let
disW
=
80
;
// * this._mapScaleMin
// let disH = 80 * this._mapScaleMin;
let
disScale
=
1
;
if
(
gArr
.
length
>
5
)
{
// disH = (400 / gArr.length) * this._mapScaleMin;
disScale
=
5
/
gArr
.
length
;
}
for
(
let
i
=
0
;
i
<
gArr
.
length
;
i
++
)
{
const
starBg
=
this
.
getSprNode
(
'
star_bg
'
);
this
.
canvas
.
addChild
(
starBg
,
10
);
// starBg.x = baseX;
// starBg.y = baseY - i * disH;
starBg
.
x
=
baseX
-
i
*
disW
;
starBg
.
y
=
baseY
starBg
.
scale
=
disScale
;
const
starTop
=
this
.
getSprNode
(
'
star
'
);
starBg
.
addChild
(
starTop
);
starTop
.
active
=
false
;
starBg
.
star
=
starTop
;
const
starBig
=
this
.
getSprNode
(
'
icon_bigstar
'
);
starTop
.
addChild
(
starBig
);
starBig
.
angle
=
-
90
;
starBg
.
starBig
=
starBig
;
this
.
bigStarArr
.
push
(
starBg
);
}
console
.
log
(
"
bigStarArr:
"
,
this
.
bigStarArr
);
}
cleanStar
()
{
if
(
this
.
bigStarArr
&&
this
.
bigStarArr
.
length
>
0
)
{
for
(
let
i
=
0
;
i
<
this
.
bigStarArr
.
length
;
i
++
)
{
this
.
bigStarArr
[
i
].
removeFromParent
();
}
}
}
showBigStar
()
{
if
(
!
this
.
bigStarArr
||
this
.
bigStarArr
.
length
<=
0
)
{
// this.checkGameEnd();
return
;
}
const
bigStarBg
=
this
.
bigStarArr
[
this
.
curGroupIndex
++
];
const
starBig
=
bigStarBg
.
starBig
;
starBig
.
scale
=
1
;
const
star
=
bigStarBg
.
star
;
star
.
active
=
true
;
star
.
scaleX
=
0.7
/
bigStarBg
.
scale
;
star
.
scaleY
=
1
/
bigStarBg
.
scale
;
star
.
angle
=
90
;
const
canvas
=
cc
.
find
(
'
Canvas
'
);
const
startPos
=
this
.
exchangeNodePos
(
star
.
parent
,
canvas
);
const
middlePos
=
this
.
exchangeNodePos
(
star
.
parent
,
canvas
);
star
.
x
=
startPos
.
x
;
star
.
y
=
startPos
.
y
-
starBig
.
height
;
console
.
log
(
'
middlePos =
'
+
JSON
.
stringify
(
middlePos
));
const
time
=
1
;
cc
.
tween
(
star
)
.
to
(
0.3
,
{
y
:
middlePos
.
y
+
80
},
{
easing
:
'
quadOut
'
})
.
to
(
0.1
,
{
y
:
middlePos
.
y
+
40
,
scaleX
:
1.2
/
bigStarBg
.
scale
,
scaleY
:
0.8
/
bigStarBg
.
scale
},
{
easing
:
'
quadOut
'
})
.
to
(
0.1
,
{
y
:
middlePos
.
y
,
scaleX
:
1
/
bigStarBg
.
scale
,
scaleY
:
1
/
bigStarBg
.
scale
},
{
easing
:
'
quadOut
'
})
.
delay
(
0.1
)
.
to
(
0.8
,
{
angle
:
-
720
,
scale
:
1
})
.
start
();
cc
.
tween
(
star
)
.
delay
(
0.6
)
.
to
(
0.8
,
{
x
:
0
},
{
easing
:
'
quadIn
'
})
.
start
();
cc
.
tween
(
star
)
.
delay
(
0.6
)
.
to
(
0.8
,
{
y
:
0
},
{
easing
:
'
quadOut
'
})
.
start
();
cc
.
tween
(
starBig
)
.
delay
(
0.6
)
.
to
(
0.8
,
{
scale
:
0
},
{
easing
:
'
quadOut
'
})
.
call
(()
=>
{
pg
.
event
.
emit
(
"
mouse_num_game_end
"
)
this
.
playAudio
(
this
.
starCountClip
);
})
.
start
();
this
.
playAudio
(
this
.
bigStarClip
);
}
//-----------------------STAR-----------------------------
getSprNode
(
resName
)
{
const
sf
=
pg
.
view
.
find
(
this
,
`img/
${
resName
}
`
).
getComponent
(
cc
.
Sprite
).
spriteFrame
;
const
node
=
new
cc
.
Node
();
node
.
addComponent
(
cc
.
Sprite
).
spriteFrame
=
sf
;
return
node
;
}
exchangeNodePos
(
baseNode
,
targetNode
)
{
return
baseNode
.
convertToNodeSpaceAR
(
targetNode
.
_parent
.
convertToWorldSpaceAR
(
cc
.
v2
(
targetNode
.
x
,
targetNode
.
y
)));
}
playAudio
(
audioClip
,
cb
=
null
)
{
if
(
audioClip
)
{
const
audioId
=
cc
.
audioEngine
.
playEffect
(
audioClip
,
false
);
if
(
cb
)
{
cc
.
audioEngine
.
setFinishCallback
(
audioId
,
()
=>
{
cb
();
});
}
}
}
// update (dt) {}
}
assets/MRBR02/mouse/layout_mouse.ts.meta
→
assets/MRBR02/mouse/
small/
layout_mouse.ts.meta
View file @
b321010c
File moved
assets/MRBR02/mouse/start/mouse_start.prefab
View file @
b321010c
...
@@ -22,16 +22,22 @@
...
@@ -22,16 +22,22 @@
},
},
{
{
"__id__": 5
"__id__": 5
},
{
"__id__": 8
},
{
"__id__": 12
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
8
"__id__":
20
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
9
"__id__":
21
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -62,8 +68,8 @@
...
@@ -62,8 +68,8 @@
0,
0,
0,
0,
1,
1,
0.
11
,
0.
2
,
0.
11
,
0.
2
,
1
1
]
]
},
},
...
@@ -82,7 +88,7 @@
...
@@ -82,7 +88,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "s
ke
",
"_name": "s
hadow
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
"__id__": 1
...
@@ -105,6 +111,113 @@
...
@@ -105,6 +111,113 @@
"b": 255,
"b": 255,
"a": 255
"a": 255
},
},
"_contentSize": {
"__type__": "cc.Size",
"width": 282,
"height": 118
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
5272.015,
-3197.113,
0,
0,
0,
0,
1,
5,
5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6049e9b1-b6da-4323-8d37-33a677eccd56"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
"fileId": "ecpREk57VFhaAUZMWKAQ4x",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "ske",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
}
],
"_prefab": {
"__id__": 7
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1559,
"width": 1559,
...
@@ -119,8 +232,8 @@
...
@@ -119,8 +232,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
4825.941
,
5454.443
,
-2
215.831
,
-2
366.485
,
0,
0,
0,
0,
0,
0,
...
@@ -149,7 +262,7 @@
...
@@ -149,7 +262,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
2
"__id__":
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -177,7 +290,7 @@
...
@@ -177,7 +290,7 @@
"__uuid__": "04a8dfaa-9baf-4407-af0a-2d3a9e89dbd8"
"__uuid__": "04a8dfaa-9baf-4407-af0a-2d3a9e89dbd8"
},
},
"_N$_defaultArmatureIndex": 0,
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex":
1
,
"_N$_animationIndex":
0
,
"_N$_defaultCacheMode": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$debugBones": false,
...
@@ -198,7 +311,7 @@
...
@@ -198,7 +311,7 @@
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "block",
"_name": "block",
"_objFlags":
0
,
"_objFlags":
512
,
"_parent": {
"_parent": {
"__id__": 1
"__id__": 1
},
},
...
@@ -206,13 +319,16 @@
...
@@ -206,13 +319,16 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
"__id__": 9
},
{
"__id__": 10
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
7
"__id__":
11
},
},
"_opacity":
255
,
"_opacity":
100
,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
...
@@ -264,11 +380,43 @@
...
@@ -264,11 +380,43 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
5
"__id__":
8
},
},
"_enabled": true,
"_enabled": true,
"_id": ""
"_id": ""
},
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": false,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
...
@@ -280,6 +428,272 @@
...
@@ -280,6 +428,272 @@
"fileId": "efp877hUFLz4dHY4gxxXKw",
"fileId": "efp877hUFLz4dHY4gxxXKw",
"sync": false
"sync": false
},
},
{
"__type__": "cc.Node",
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 13
},
{
"__id__": 16
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 19
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "enter",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
}
],
"_prefab": {
"__id__": 15
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
},
"_enabled": true,
"_clip": {
"__uuid__": "bce3261e-7314-4067-9337-459533b97896"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
"fileId": "6dXSctH45Kj5MbzEKNyUGl",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "leave",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
}
],
"_prefab": {
"__id__": 18
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
},
"_enabled": true,
"_clip": {
"__uuid__": "3fa7aab4-b81d-40e6-9691-73935a1d92da"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
"fileId": "3dER2Qz/ZEyI6vLH55eksI",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
"fileId": "04Mh2bmZRDIaNa8D8xWN8l",
"sync": false
},
{
{
"__type__": "219b1yegNJPW4jalMImtj4z",
"__type__": "219b1yegNJPW4jalMImtj4z",
"_name": "",
"_name": "",
...
@@ -290,15 +704,15 @@
...
@@ -290,15 +704,15 @@
"_enabled": true,
"_enabled": true,
"startPosition": {
"startPosition": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
"x":
1400
0,
"x": 0,
"y":
-2215
"y":
0
},
},
"targetPosition": {
"targetPosition": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
"x":
4825.941
,
"x":
0
,
"y":
-2215
"y":
0
},
},
"moveInTime":
2
,
"moveInTime":
1
,
"_id": ""
"_id": ""
},
},
{
{
...
...
assets/MRBR02/mouse/start/mstart.ts
View file @
b321010c
...
@@ -21,45 +21,109 @@ export default class MouseStart extends cc.Component {
...
@@ -21,45 +21,109 @@ export default class MouseStart extends cc.Component {
private
ske
:
cc
.
Node
;
private
ske
:
cc
.
Node
;
private
block
:
cc
.
Node
;
private
block
:
cc
.
Node
;
private
shadow
:
cc
.
Node
;
onLoad
()
{
onLoad
()
{
//修改ske的信息
//修改ske的信息
this
.
ske
=
this
.
node
.
getChildByName
(
"
ske
"
);
this
.
ske
=
this
.
node
.
getChildByName
(
"
ske
"
);
this
.
block
=
this
.
node
.
getChildByName
(
"
block
"
);
this
.
block
=
this
.
node
.
getChildByName
(
"
block
"
);
this
.
shadow
=
this
.
node
.
getChildByName
(
"
shadow
"
);
this
.
ske
.
x
=
this
.
startPosition
.
x
;
this
.
ske
.
x
=
this
.
startPosition
.
x
;
this
.
ske
.
y
=
this
.
startPosition
.
y
;
this
.
ske
.
y
=
this
.
startPosition
.
y
;
pg
.
event
.
on
(
"
mouse_start_play
"
,
(
data
)
=>
{
this
.
play
(
data
).
then
(()
=>
{
pg
.
event
.
emit
(
"
mouse_start_play_success
"
);
})
})
}
}
play
(
audioUrl
?:
string
)
{
play
({
voice
,
time
}:
any
)
{
this
.
moveInTime
=
Game
.
getIns
().
aniEnter
.
time
||
5
;
this
.
node
.
active
=
true
;
this
.
block
.
active
=
true
;
this
.
ske
.
active
=
true
;
this
.
ske
.
x
=
this
.
startPosition
.
x
;
this
.
ske
.
y
=
this
.
startPosition
.
y
;
this
.
moveInTime
=
time
||
5
;
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
let
isPlaying
=
true
;
let
isPlaying
=
true
;
this
.
ske
.
x
=
this
.
startPosition
.
x
;
let
load
=
false
;
this
.
ske
.
y
=
this
.
startPosition
.
y
;
this
.
ske
.
active
=
true
;
this
.
node
.
active
=
true
;
this
.
block
.
active
=
true
;
pg
.
load
.
loadDB
(
this
.
ske
,
{
ske
:
Game
.
getIns
().
aniEnter
.
skeJsonData
.
url
,
tex
:
Game
.
getIns
().
aniEnter
.
texJsonData
.
url
,
png
:
Game
.
getIns
().
aniEnter
.
texPngData
.
url
}).
then
((
animationName
)
=>
{
pg
.
load
.
loadDB
(
this
.
ske
,
{
ske
:
Game
.
getIns
().
aniEnter
.
skeJsonData
.
url
,
tex
:
Game
.
getIns
().
aniEnter
.
texJsonData
.
url
,
png
:
Game
.
getIns
().
aniEnter
.
texPngData
.
url
}).
then
((
animationName
)
=>
{
cc
.
tween
(
this
.
ske
).
to
(
1.3
,
{
x
:
this
.
targetPosition
.
x
,
y
:
this
.
targetPosition
.
y
}).
call
(()
=>
{
if
(
load
)
return
;
audioUrl
=
audioUrl
?
audioUrl
:
Game
.
getIns
().
aniEnter
.
audioUrl
;
load
=
true
;
if
(
audioUrl
)
{
cc
.
Tween
.
stopAllByTarget
(
this
.
ske
);
pg
.
audio
.
playAudioByUrl
(
audioUrl
).
then
(()
=>
{
this
.
playLocalAudio
(
'
enter
'
).
then
(()
=>
{
isPlaying
=
false
;
this
.
playAudioByUrl
(
voice
)
resolve
(
''
);
})
})
cc
.
tween
(
this
.
ske
).
to
(
0.5
,
{
x
:
this
.
targetPosition
.
x
,
y
:
this
.
targetPosition
.
y
}).
delay
(
0.9
).
call
(()
=>
{
}
let
db
=
this
.
ske
.
getComponent
(
dragonBones
.
ArmatureDisplay
);
let
db
=
this
.
ske
.
getComponent
(
dragonBones
.
ArmatureDisplay
);
db
.
playAnimation
(
'
normal
'
,
1111111
);
db
.
playAnimation
(
'
normal
'
,
0
);
db
.
addEventListener
(
"
loopComplete
"
,
()
=>
{
if
(
!
isPlaying
)
{
this
.
block
.
active
=
false
;
resolve
(
''
);
}
})
}).
delay
(
this
.
moveInTime
).
call
(()
=>
{
}).
delay
(
this
.
moveInTime
).
call
(()
=>
{
this
.
ske
.
active
=
false
;
this
.
playLocalAudio
(
'
leave
'
)
this
.
node
.
active
=
false
;
cc
.
tween
(
this
.
ske
).
by
(
0.1
,
{
y
:
200
}).
by
(
1
,
{
y
:
-
10000
}).
call
(()
=>
{
this
.
block
.
active
=
false
;
this
.
ske
.
active
=
false
;
this
.
node
.
active
=
false
;
this
.
block
.
active
=
false
;
resolve
(
''
);
}).
start
();
}).
start
();
}).
start
();
})
})
});
});
// this.moveInTime = Game.getIns().aniEnter.time || 5;
// return new Promise((resolve, reject) => {
// let isPlaying = true;
// this.ske.x = this.startPosition.x;
// this.ske.y = this.startPosition.y;
// this.ske.active = true;
// this.node.active = true;
// this.block.active = true;
// pg.load.loadDB(this.ske, { ske: Game.getIns().aniEnter.skeJsonData.url, tex: Game.getIns().aniEnter.texJsonData.url, png: Game.getIns().aniEnter.texPngData.url }).then((animationName) => {
// cc.tween(this.ske).to(1.3, { x: this.targetPosition.x, y: this.targetPosition.y }).call(() => {
// audioUrl = audioUrl ? audioUrl : Game.getIns().aniEnter.audioUrl;
// if (audioUrl) {
// pg.audio.playAudioByUrl(audioUrl).then(() => {
// isPlaying = false;
// resolve('');
// })
// }
// let db = this.ske.getComponent(dragonBones.ArmatureDisplay);
// db.playAnimation('normal', 1111111);
// db.addEventListener("loopComplete", () => {
// if (!isPlaying) {
// this.block.active = false;
// resolve('');
// }
// })
// }).delay(this.moveInTime).call(() => {
// this.ske.active = false;
// this.node.active = false;
// this.block.active = false;
// }).start();
// })
// });
}
playAudioByUrl
(
audio_url
,
cb
=
null
)
{
if
(
audio_url
)
{
cc
.
assetManager
.
loadRemote
(
audio_url
,
(
err
,
audioClip
:
any
)
=>
{
const
audioId
=
cc
.
audioEngine
.
play
(
audioClip
,
false
,
0.8
);
if
(
cb
)
{
cc
.
audioEngine
.
setFinishCallback
(
audioId
,
()
=>
{
cb
();
});
}
});
}
else
{
cb
&&
cb
();
}
}
}
playLocalAudio
(
audioName
)
{
const
audio
=
this
.
node
.
getChildByName
(
"
audio
"
).
getChildByName
(
audioName
).
getComponent
(
cc
.
AudioSource
);
return
new
Promise
((
resolve
,
reject
)
=>
{
const
id
=
cc
.
audioEngine
.
playEffect
(
audio
.
clip
,
false
);
cc
.
audioEngine
.
setFinishCallback
(
id
,
()
=>
{
resolve
(
id
);
});
})
}
}
}
assets/MRBR02/scene/Game.ts
View file @
b321010c
...
@@ -20,9 +20,13 @@ export class Item {
...
@@ -20,9 +20,13 @@ export class Item {
public
audio
;
public
audio
;
public
image
;
public
image
;
public
optionList
;
public
optionList
;
public
voice
;
public
time
;
constructor
(
data
,
page
)
{
constructor
(
data
,
page
)
{
this
.
audio
=
data
.
audio
;
this
.
audio
=
data
.
audio
;
this
.
image
=
data
.
image
;
this
.
image
=
data
.
image
;
this
.
voice
=
data
.
voice
;
this
.
time
=
data
.
time
;
let
id
=
0
;
let
id
=
0
;
this
.
optionList
=
data
.
optionList
.
map
(
o
=>
{
this
.
optionList
=
data
.
optionList
.
map
(
o
=>
{
...
@@ -46,7 +50,7 @@ export default class Game {
...
@@ -46,7 +50,7 @@ export default class Game {
return
Game
.
ins
;
return
Game
.
ins
;
}
}
private
data
:
any
;
private
data
:
any
;
p
rivate
lists
:
Array
<
Item
>
p
ublic
lists
:
Array
<
Item
>
constructor
()
{
constructor
()
{
//
//
this
.
start
=
false
;
this
.
start
=
false
;
...
...
assets/MRBR02/scene/MRBR02.fire
View file @
b321010c
...
@@ -75,31 +75,34 @@
...
@@ -75,31 +75,34 @@
"__id__": 5
"__id__": 5
},
},
{
{
"__id__":
1
5
"__id__":
2
5
},
},
{
{
"__id__": 7
0
"__id__": 7
3
},
},
{
{
"__id__": 9
3
"__id__": 9
6
},
},
{
{
"__id__":
98
"__id__":
101
},
},
{
{
"__id__": 107
"__id__": 115
},
{
"__id__": 127
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
19
"__id__": 1
48
},
},
{
{
"__id__": 1
20
"__id__": 1
49
},
},
{
{
"__id__": 1
21
"__id__": 1
50
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -263,7 +266,7 @@
...
@@ -263,7 +266,7 @@
"__id__": 9
"__id__": 9
},
},
{
{
"__id__": 1
2
"__id__": 1
8
}
}
],
],
"_active": false,
"_active": false,
...
@@ -485,6 +488,15 @@
...
@@ -485,6 +488,15 @@
"_children": [
"_children": [
{
{
"__id__": 10
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 14
},
{
"__id__": 16
}
}
],
],
"_active": true,
"_active": true,
...
@@ -633,18 +645,18 @@
...
@@ -633,18 +645,18 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
audio
",
"_name": "
star_bg
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
"__id__":
9
},
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
{
"__id__": 13
"__id__": 13
}
}
],
],
"_active": true,
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -656,8 +668,8 @@
...
@@ -656,8 +668,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
0
,
"width":
59
,
"height":
0
"height":
42
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -691,20 +703,48 @@
...
@@ -691,20 +703,48 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "d9f+b0lmZGSJJae6zrADhp"
"_id": "7djrn7wUpD7qEUhsP2o2lT"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "54beeaf0-8640-4d6d-bdb2-40be6c49f378"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "8flGkgymdGr4ltlImTy9PY"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
btn
",
"_name": "
star
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
12
"__id__":
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
4
"__id__": 1
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -718,8 +758,8 @@
...
@@ -718,8 +758,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
0
,
"width":
59
,
"height":
0
"height":
42
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -753,104 +793,42 @@
...
@@ -753,104 +793,42 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
e87DSaFCVJfb2PAUkf4/o7
"
"_id": "
364QbVb5RCRqnYj8Z1R8oo
"
},
},
{
{
"__type__": "cc.
AudioSourc
e",
"__type__": "cc.
Sprit
e",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
3
"__id__": 1
4
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_materials": [],
"__uuid__": "f0680ae0-c079-45ef-abd7-9e63d90b982b"
"_srcBlendFactor": 770,
},
"_dstBlendFactor": 771,
"_volume": 1,
"_spriteFrame": {
"_mute": false,
"__uuid__": "047bdd7d-6c4f-47dc-944a-12cf7a461f93"
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "dey05oKrBIspvsDa6pOIQz"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 16
},
{
"__id__": 18
},
{
"__id__": 66
},
{
"__id__": 68
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
},
"_anchorPoint": {
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"x": 0,
"y": 0,
"y": 0
"z": 0
},
},
"_skewX": 0,
"_fillStart": 0,
"_skewY": 0,
"_fillRange": 0,
"_is3DNode": false,
"_isTrimmedMode": true,
"_groupIndex": 0,
"_atlas": null,
"groupIndex": 0,
"_id": "fawLtGGOBK/pd8OYPSOMC/"
"_id": "f3hP8F2JhI64zQIqZcTSFa"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
bg_blue
",
"_name": "
icon_bigstar
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
15
"__id__":
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
...
@@ -870,8 +848,8 @@
...
@@ -870,8 +848,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
1280
,
"width":
59
,
"height":
720
"height":
42
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -905,7 +883,7 @@
...
@@ -905,7 +883,7 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
17H6P8c0JBT5O9xjUXZP1m
"
"_id": "
d88mHsgKBKcIxa7uCkPVRC
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -915,15 +893,11 @@
...
@@ -915,15 +893,11 @@
"__id__": 16
"__id__": 16
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [],
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
c8abb90b-22a1-4b32-88b5-5cee6a2a0339
"
"__uuid__": "
047bdd7d-6c4f-47dc-944a-12cf7a461f93
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -937,14 +911,14 @@
...
@@ -937,14 +911,14 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
c3F29Z7EhEzqPwUDSLsQRK
"
"_id": "
fcewWKeaNNnbRyX5sdoOla
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
bg_card
",
"_name": "
audio
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
1
5
"__id__": 5
},
},
"_children": [
"_children": [
{
{
...
@@ -954,33 +928,11 @@
...
@@ -954,33 +928,11 @@
"__id__": 21
"__id__": 21
},
},
{
{
"__id__": 25
"__id__": 23
},
{
"__id__": 32
},
{
"__id__": 33
},
{
"__id__": 38
},
{
"__id__": 55
},
{
"__id__": 61
},
{
"__id__": 63
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [],
{
"__id__": 65
}
],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -992,8 +944,8 @@
...
@@ -992,8 +944,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
1116
,
"width":
0
,
"height":
702
"height":
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1004,8 +956,8 @@
...
@@ -1004,8 +956,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
3.753
,
0
,
-9.381
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -1027,11 +979,11 @@
...
@@ -1027,11 +979,11 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
01QRw8LudNM4tQyCItP1lO
"
"_id": "
d9f+b0lmZGSJJae6zrADhp
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
mouse_out
",
"_name": "
btn
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 18
"__id__": 18
...
@@ -1054,8 +1006,8 @@
...
@@ -1054,8 +1006,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
99
,
"width":
0
,
"height":
104
"height":
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1066,8 +1018,8 @@
...
@@ -1066,8 +1018,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-581.629
,
0
,
311.453
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -1089,56 +1041,39 @@
...
@@ -1089,56 +1041,39 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
feJd3dXKJJFqBixi/Yp2Xw
"
"_id": "
e87DSaFCVJfb2PAUkf4/o7
"
},
},
{
{
"__type__": "cc.
Sprit
e",
"__type__": "cc.
AudioSourc
e",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 19
"__id__": 19
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_clip": {
"__uuid__": "f0680ae0-c079-45ef-abd7-9e63d90b982b"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "dey05oKrBIspvsDa6pOIQz"
},
{
"__type__": "cc.Node",
"_name": "error",
"_objFlags": 0,
"_parent": {
"__id__": 18
},
"_children": [],
"_active": true,
"_components": [
{
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__id__": 22
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2a3dd458-fa8c-4907-9921-3c364cd4381e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "24q3fhXSZJ77DHO9yEq+0m"
},
{
"__type__": "cc.Node",
"_name": "page",
"_objFlags": 0,
"_parent": {
"__id__": 18
},
"_children": [
{
"__id__": 22
}
],
"_active": true,
"_components": [
{
"__id__": 24
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1152,8 +1087,8 @@
...
@@ -1152,8 +1087,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
8
0,
"width": 0,
"height":
84
"height":
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1164,8 +1099,8 @@
...
@@ -1164,8 +1099,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-472.808
,
0
,
253.638
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -1187,20 +1122,39 @@
...
@@ -1187,20 +1122,39 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "f5GQmC5B5HFbE6hFlgJvBP"
"_id": "c1TXfMA0VErrMg7wQZvrff"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_enabled": true,
"_clip": {
"__uuid__": "eec88860-3fa4-4134-8631-2ecd92939054"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "eeBSzLJVdFk6N/F9HicNC1"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
label
",
"_name": "
right
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
21
"__id__":
18
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
3
"__id__": 2
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1214,8 +1168,8 @@
...
@@ -1214,8 +1168,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
48.65
,
"width":
0
,
"height":
44.1
"height":
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1227,7 +1181,7 @@
...
@@ -1227,7 +1181,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
0,
2.776
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -1249,94 +1203,50 @@
...
@@ -1249,94 +1203,50 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "88aGfJz0tOtaDHceuCe7Sh"
"_id": "27poodDYRFHrBmbkrCPzlC"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "1/3",
"_N$string": "1/3",
"_fontSize": 35,
"_lineHeight": 35,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "004vz0kylN7pe56byWb0OY"
},
},
{
{
"__type__": "cc.
Sprit
e",
"__type__": "cc.
AudioSourc
e",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
1
"__id__": 2
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_clip": {
{
"__uuid__": "5aed205e-c676-4924-a439-f8d4d2af39aa"
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "10717726-2dd9-49b6-82f5-27394c2815a7"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
},
"_fillStart": 0,
"_volume": 1,
"_fillRange": 0,
"_mute": false,
"_isTrimmedMode": true,
"_loop": false,
"_atlas": null,
"_firstlyEnabled": true,
"_id": "aavh5OR2pMA6+h9Y6vzYqU"
"playOnLoad": false,
"preload": false,
"_id": "58CVEDvfZGza4e2GTbYGyB"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
layout_mouse
",
"_name": "
bg
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
18
"__id__":
2
},
},
"_children": [
"_children": [
{
{
"__id__": 26
"__id__": 26
}
},
],
"_active": true,
"_components": [
{
{
"__id__":
30
"__id__":
28
},
},
{
{
"__id__": 31
"__id__": 69
},
{
"__id__": 71
}
}
],
],
"_active": true,
"_components": [],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1348,20 +1258,20 @@
...
@@ -1348,20 +1258,20 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
30
0,
"width": 0,
"height":
5
0
"height": 0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
"x":
1
,
"x":
0.5
,
"y": 0.5
"y": 0.5
},
},
"_trs": {
"_trs": {
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
507.992
,
0
,
29
0,
0,
0,
0,
0,
0,
0,
0,
...
@@ -1383,24 +1293,20 @@
...
@@ -1383,24 +1293,20 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
264WQYOlRA4q5IU6tL/C+e
"
"_id": "
f3hP8F2JhI64zQIqZcTSFa
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
small_mous
e",
"_name": "
bg_blu
e",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 25
"__id__": 25
},
},
"_children": [
"_children": [],
{
"_active": true,
"__id__": 27
}
],
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 2
9
"__id__": 2
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1414,8 +1320,8 @@
...
@@ -1414,8 +1320,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
59
,
"width":
1280
,
"height":
42
"height":
720
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1426,7 +1332,7 @@
...
@@ -1426,7 +1332,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-29.5
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -1449,20 +1355,77 @@
...
@@ -1449,20 +1355,77 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "44rcIZek5G7aJf3sioFIA4"
"_id": "17H6P8c0JBT5O9xjUXZP1m"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c8abb90b-22a1-4b32-88b5-5cee6a2a0339"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c3F29Z7EhEzqPwUDSLsQRK"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
light
",
"_name": "
bg_card
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
6
"__id__": 2
5
},
},
"_children": [],
"_children": [
{
"__id__": 29
},
{
"__id__": 31
},
{
"__id__": 35
},
{
"__id__": 36
},
{
"__id__": 41
},
{
"__id__": 58
},
{
"__id__": 64
},
{
"__id__": 66
}
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
2
8
"__id__":
6
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1476,8 +1439,8 @@
...
@@ -1476,8 +1439,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
59
,
"width":
1116
,
"height":
4
2
"height":
70
2
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1488,8 +1451,8 @@
...
@@ -1488,8 +1451,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-0.695
,
3.753
,
1.739
,
-9.381
,
0,
0,
0,
0,
0,
0,
...
@@ -1511,127 +1474,22 @@
...
@@ -1511,127 +1474,22 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
dcVorH47ZH/7vdQNiqKXpp
"
"_id": "
01QRw8LudNM4tQyCItP1lO
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Node",
"_name": "",
"_name": "mouse_out",
"_objFlags": 0,
"node": {
"__id__": 27
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "047bdd7d-6c4f-47dc-944a-12cf7a461f93"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "43BfOuW1xHXbypXfMpJoF3"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "54beeaf0-8640-4d6d-bdb2-40be6c49f378"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "94XQUj//hDHJidDjy5CcXZ"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 300,
"height": 50
},
"_resize": 0,
"_N$layoutType": 1,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 1,
"_N$affectedByScale": false,
"_id": "b8syptcjxOoLDkcki3Sgn7"
},
{
"__type__": "aa1f1smbntECpwesqp/Tg0F",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
},
"_enabled": true,
"item": {
"__id__": 26
},
"_id": "cbAwEJmxBIlZsIA2MAcI90"
},
{
"__type__": "cc.Node",
"_name": "layout_card",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
1
8
"__id__":
2
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [],
"_components": [
{
"__id__": 30
}
],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1643,8 +1501,8 @@
...
@@ -1643,8 +1501,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
1280
,
"width":
99
,
"height":
720
"height":
104
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1655,8 +1513,8 @@
...
@@ -1655,8 +1513,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0
,
-581.629
,
0
,
311.453
,
0,
0,
0,
0,
0,
0,
...
@@ -1678,25 +1536,58 @@
...
@@ -1678,25 +1536,58 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "40B/aUDAROl4aObOnklN+K"
"_id": "feJd3dXKJJFqBixi/Yp2Xw"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2a3dd458-fa8c-4907-9921-3c364cd4381e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "24q3fhXSZJ77DHO9yEq+0m"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
layout_card_result
",
"_name": "
page
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
1
8
"__id__":
2
8
},
},
"_children": [
"_children": [
{
{
"__id__": 34
"__id__": 32
},
{
"__id__": 36
}
}
],
],
"_active": true,
"_active": true,
"_components": [],
"_components": [
{
"__id__": 34
}
],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1708,8 +1599,8 @@
...
@@ -1708,8 +1599,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
12
80,
"width": 80,
"height":
720
"height":
84
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1720,8 +1611,8 @@
...
@@ -1720,8 +1611,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0
,
-472.808
,
0
,
253.638
,
0,
0,
0,
0,
0,
0,
...
@@ -1743,20 +1634,20 @@
...
@@ -1743,20 +1634,20 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
beUKztkONCkoefObWx4qVi
"
"_id": "
f5GQmC5B5HFbE6hFlgJvBP
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
card_result
",
"_name": "
label
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
3
"__id__": 3
1
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
5
"__id__": 3
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1770,8 +1661,8 @@
...
@@ -1770,8 +1661,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 4
06
,
"width": 4
8.65
,
"height":
240
"height":
44.1
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1782,15 +1673,15 @@
...
@@ -1782,15 +1673,15 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0
.695
,
0,
-64.972
,
2.776
,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
1,
1,
-
1,
1,
1
1
]
]
},
},
...
@@ -1805,14 +1696,47 @@
...
@@ -1805,14 +1696,47 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "154GpSgnxD4bXmCIJvxbCt"
"_id": "88aGfJz0tOtaDHceuCe7Sh"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "1/3",
"_N$string": "1/3",
"_fontSize": 35,
"_lineHeight": 35,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "004vz0kylN7pe56byWb0OY"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
4
"__id__": 3
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1823,7 +1747,7 @@
...
@@ -1823,7 +1747,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
2be8b6f1-6ecf-42ec-862e-f59658c36533
"
"__uuid__": "
10717726-2dd9-49b6-82f5-27394c2815a7
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -1837,22 +1761,18 @@
...
@@ -1837,22 +1761,18 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
20jlBl6F5AwZ1LlKtQe2gf
"
"_id": "
aavh5OR2pMA6+h9Y6vzYqU
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
img
",
"_name": "
layout_card
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
33
"__id__":
28
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [],
{
"__id__": 37
}
],
"_prefab": null,
"_prefab": null,
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -1864,8 +1784,8 @@
...
@@ -1864,8 +1784,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
34
0,
"width":
128
0,
"height":
15
0
"height":
72
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1876,8 +1796,8 @@
...
@@ -1876,8 +1796,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-0.252
,
0
,
-64.087
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -1899,27 +1819,248 @@
...
@@ -1899,27 +1819,248 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
507jsZkINNx59gqZo1baqL
"
"_id": "
40B/aUDAROl4aObOnklN+K
"
},
},
{
{
"__type__": "cc.
Sprit
e",
"__type__": "cc.
Nod
e",
"_name": "",
"_name": "
layout_card_result
",
"_objFlags": 0,
"_objFlags": 0,
"
node
": {
"
_parent
": {
"__id__":
36
"__id__":
28
},
},
"_enabled": true,
"_children": [
"_materials": [
{
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__id__": 37
},
{
"__id__": 39
}
}
],
],
"_srcBlendFactor": 770,
"_active": true,
"_dstBlendFactor": 771,
"_components": [],
"_spriteFrame": {
"_prefab": null,
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
},
"_type": 0,
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "beUKztkONCkoefObWx4qVi"
},
{
"__type__": "cc.Node",
"_name": "card_result",
"_objFlags": 0,
"_parent": {
"__id__": 36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 38
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 406,
"height": 240
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0.695,
-64.972,
0,
0,
0,
0,
1,
1,
-1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "154GpSgnxD4bXmCIJvxbCt"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2be8b6f1-6ecf-42ec-862e-f59658c36533"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "20jlBl6F5AwZ1LlKtQe2gf"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 40
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 340,
"height": 150
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-0.252,
-64.087,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "507jsZkINNx59gqZo1baqL"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillType": 0,
"_fillCenter": {
"_fillCenter": {
...
@@ -1938,29 +2079,29 @@
...
@@ -1938,29 +2079,29 @@
"_name": "card_up",
"_name": "card_up",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
1
8
"__id__":
2
8
},
},
"_children": [
"_children": [
{
{
"__id__": 39
"__id__": 42
},
{
"__id__": 41
},
},
{
{
"__id__": 4
3
"__id__": 4
4
},
},
{
{
"__id__": 46
"__id__": 46
},
},
{
{
"__id__": 49
"__id__": 49
},
{
"__id__": 52
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 5
4
"__id__": 5
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2016,13 +2157,13 @@
...
@@ -2016,13 +2157,13 @@
"_name": "light_blue",
"_name": "light_blue",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
38
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 4
0
"__id__": 4
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2078,7 +2219,7 @@
...
@@ -2078,7 +2219,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
39
"__id__":
42
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2110,13 +2251,13 @@
...
@@ -2110,13 +2251,13 @@
"_name": "light_orange",
"_name": "light_orange",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
38
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 4
2
"__id__": 4
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2172,7 +2313,7 @@
...
@@ -2172,7 +2313,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
1
"__id__": 4
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2204,11 +2345,11 @@
...
@@ -2204,11 +2345,11 @@
"_name": "text",
"_name": "text",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
38
"__id__":
41
},
},
"_children": [
"_children": [
{
{
"__id__": 4
4
"__id__": 4
7
}
}
],
],
"_active": true,
"_active": true,
...
@@ -2266,13 +2407,13 @@
...
@@ -2266,13 +2407,13 @@
"_name": "label",
"_name": "label",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
3
"__id__": 4
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
5
"__id__": 4
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2328,7 +2469,7 @@
...
@@ -2328,7 +2469,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
4
"__id__": 4
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2361,11 +2502,11 @@
...
@@ -2361,11 +2502,11 @@
"_name": "pic",
"_name": "pic",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
38
"__id__":
41
},
},
"_children": [
"_children": [
{
{
"__id__":
47
"__id__":
50
}
}
],
],
"_active": true,
"_active": true,
...
@@ -2423,13 +2564,13 @@
...
@@ -2423,13 +2564,13 @@
"_name": "img",
"_name": "img",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
6
"__id__": 4
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
48
"__id__":
51
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2485,7 +2626,7 @@
...
@@ -2485,7 +2626,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
47
"__id__":
50
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2517,14 +2658,14 @@
...
@@ -2517,14 +2658,14 @@
"_name": "picText",
"_name": "picText",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
38
"__id__":
41
},
},
"_children": [
"_children": [
{
{
"__id__": 5
0
"__id__": 5
3
},
},
{
{
"__id__": 5
2
"__id__": 5
5
}
}
],
],
"_active": true,
"_active": true,
...
@@ -2582,13 +2723,13 @@
...
@@ -2582,13 +2723,13 @@
"_name": "img",
"_name": "img",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
49
"__id__":
52
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
1
"__id__": 5
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2644,7 +2785,7 @@
...
@@ -2644,7 +2785,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
0
"__id__": 5
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2676,13 +2817,13 @@
...
@@ -2676,13 +2817,13 @@
"_name": "label",
"_name": "label",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
49
"__id__":
52
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
3
"__id__": 5
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2738,7 +2879,7 @@
...
@@ -2738,7 +2879,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
2
"__id__": 5
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2771,7 +2912,7 @@
...
@@ -2771,7 +2912,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
38
"__id__":
41
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2803,20 +2944,20 @@
...
@@ -2803,20 +2944,20 @@
"_name": "card_down",
"_name": "card_down",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
1
8
"__id__":
2
8
},
},
"_children": [
"_children": [
{
{
"__id__": 5
6
"__id__": 5
9
},
},
{
{
"__id__":
58
"__id__":
61
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 6
0
"__id__": 6
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2872,13 +3013,13 @@
...
@@ -2872,13 +3013,13 @@
"_name": "highlight_orange",
"_name": "highlight_orange",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
5
"__id__": 5
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
57
"__id__":
60
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2934,7 +3075,7 @@
...
@@ -2934,7 +3075,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
6
"__id__": 5
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2966,13 +3107,13 @@
...
@@ -2966,13 +3107,13 @@
"_name": "highlight_blue",
"_name": "highlight_blue",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
5
"__id__": 5
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
59
"__id__":
62
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3028,7 +3169,7 @@
...
@@ -3028,7 +3169,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
58
"__id__":
61
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3060,7 +3201,7 @@
...
@@ -3060,7 +3201,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
5
"__id__": 5
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3092,13 +3233,13 @@
...
@@ -3092,13 +3233,13 @@
"_name": "btn_check_grey",
"_name": "btn_check_grey",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
1
8
"__id__":
2
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
2
"__id__": 6
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3154,7 +3295,7 @@
...
@@ -3154,7 +3295,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
1
"__id__": 6
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3186,13 +3327,13 @@
...
@@ -3186,13 +3327,13 @@
"_name": "btn_check",
"_name": "btn_check",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
1
8
"__id__":
2
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 6
4
"__id__": 6
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3248,7 +3389,7 @@
...
@@ -3248,7 +3389,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
3
"__id__": 6
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3280,7 +3421,7 @@
...
@@ -3280,7 +3421,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
1
8
"__id__":
2
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3312,13 +3453,13 @@
...
@@ -3312,13 +3453,13 @@
"_name": "bg_flower_left",
"_name": "bg_flower_left",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
1
5
"__id__":
2
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
67
"__id__":
70
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3374,7 +3515,7 @@
...
@@ -3374,7 +3515,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
6
"__id__": 6
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3406,13 +3547,13 @@
...
@@ -3406,13 +3547,13 @@
"_name": "bg_flower_right",
"_name": "bg_flower_right",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
1
5
"__id__":
2
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
69
"__id__":
72
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3468,7 +3609,7 @@
...
@@ -3468,7 +3609,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
68
"__id__":
71
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3504,34 +3645,34 @@
...
@@ -3504,34 +3645,34 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 7
1
"__id__": 7
4
},
},
{
{
"__id__": 7
3
"__id__": 7
6
},
},
{
{
"__id__": 7
5
"__id__": 7
8
},
},
{
{
"__id__":
77
"__id__":
80
},
},
{
{
"__id__":
79
"__id__":
82
},
},
{
{
"__id__": 8
1
"__id__": 8
4
},
},
{
{
"__id__": 8
3
"__id__": 8
6
},
},
{
{
"__id__": 8
5
"__id__": 8
8
}
}
],
],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__": 9
2
"__id__": 9
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3587,13 +3728,13 @@
...
@@ -3587,13 +3728,13 @@
"_name": "v1",
"_name": "v1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
0
"__id__": 7
3
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 7
2
"__id__": 7
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3649,7 +3790,7 @@
...
@@ -3649,7 +3790,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
1
"__id__": 7
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3681,13 +3822,13 @@
...
@@ -3681,13 +3822,13 @@
"_name": "v2",
"_name": "v2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
0
"__id__": 7
3
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 7
4
"__id__": 7
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3743,7 +3884,7 @@
...
@@ -3743,7 +3884,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
3
"__id__": 7
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3775,13 +3916,13 @@
...
@@ -3775,13 +3916,13 @@
"_name": "v3",
"_name": "v3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
0
"__id__": 7
3
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 7
6
"__id__": 7
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3837,7 +3978,7 @@
...
@@ -3837,7 +3978,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
5
"__id__": 7
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3869,13 +4010,13 @@
...
@@ -3869,13 +4010,13 @@
"_name": "icon",
"_name": "icon",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
0
"__id__": 7
3
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
78
"__id__":
81
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3931,7 +4072,7 @@
...
@@ -3931,7 +4072,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
77
"__id__":
80
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3963,13 +4104,13 @@
...
@@ -3963,13 +4104,13 @@
"_name": "progressbar_grey",
"_name": "progressbar_grey",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
0
"__id__": 7
3
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 8
0
"__id__": 8
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4025,7 +4166,7 @@
...
@@ -4025,7 +4166,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
79
"__id__":
82
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4057,13 +4198,13 @@
...
@@ -4057,13 +4198,13 @@
"_name": "progressbar_red",
"_name": "progressbar_red",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
0
"__id__": 7
3
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 8
2
"__id__": 8
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4119,7 +4260,7 @@
...
@@ -4119,7 +4260,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
1
"__id__": 8
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4151,13 +4292,13 @@
...
@@ -4151,13 +4292,13 @@
"_name": "progressbar_highlight",
"_name": "progressbar_highlight",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
0
"__id__": 7
3
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 8
4
"__id__": 8
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4213,7 +4354,7 @@
...
@@ -4213,7 +4354,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
3
"__id__": 8
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4245,17 +4386,17 @@
...
@@ -4245,17 +4386,17 @@
"_name": "texts",
"_name": "texts",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
0
"__id__": 7
3
},
},
"_children": [
"_children": [
{
{
"__id__": 8
6
"__id__": 8
9
},
},
{
{
"__id__":
88
"__id__":
91
},
},
{
{
"__id__": 9
0
"__id__": 9
3
}
}
],
],
"_active": true,
"_active": true,
...
@@ -4313,13 +4454,13 @@
...
@@ -4313,13 +4454,13 @@
"_name": "complate",
"_name": "complate",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
5
"__id__": 8
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
87
"__id__":
90
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4375,7 +4516,7 @@
...
@@ -4375,7 +4516,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
6
"__id__": 8
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4407,13 +4548,13 @@
...
@@ -4407,13 +4548,13 @@
"_name": "well",
"_name": "well",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
5
"__id__": 8
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
89
"__id__":
92
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4469,7 +4610,7 @@
...
@@ -4469,7 +4610,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
88
"__id__":
91
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4501,13 +4642,13 @@
...
@@ -4501,13 +4642,13 @@
"_name": "good",
"_name": "good",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 8
5
"__id__": 8
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 9
1
"__id__": 9
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4563,7 +4704,7 @@
...
@@ -4563,7 +4704,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
0
"__id__": 9
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4595,7 +4736,7 @@
...
@@ -4595,7 +4736,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
0
"__id__": 7
3
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -4656,7 +4797,7 @@
...
@@ -4656,7 +4797,7 @@
"hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"_N$target": {
"__id__": 7
0
"__id__": 7
3
},
},
"_id": "72jfuMRoNA7oChyfiuRALY"
"_id": "72jfuMRoNA7oChyfiuRALY"
},
},
...
@@ -4669,13 +4810,13 @@
...
@@ -4669,13 +4810,13 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 9
4
"__id__": 9
7
}
}
],
],
"_active": false,
"_active": false,
"_components": [],
"_components": [],
"_prefab": {
"_prefab": {
"__id__":
97
"__id__":
100
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -4726,20 +4867,1015 @@
...
@@ -4726,20 +4867,1015 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "particle_star",
"_name": "particle_star",
"_objFlags": 0,
"_parent": {
"__id__": 96
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 98
}
],
"_prefab": {
"__id__": 99
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "fdajUFyC9Hj6rFDy6msb6Q"
},
{
"__type__": "cc.ParticleSystem",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 768,
"_dstBlendFactor": 1,
"_custom": true,
"_file": {
"__uuid__": "a1f705a9-e753-4699-8894-4363b038f2da"
},
"_spriteFrame": {
"__uuid__": "247bd8f7-6c0e-46a1-afda-c5eb7e9cc284"
},
"_texture": null,
"_stopped": true,
"playOnLoad": true,
"autoRemoveOnFinish": false,
"totalParticles": 191,
"duration": 0.22,
"emissionRate": 406.3829787234043,
"life": 0.3,
"lifeVar": 0,
"_startColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 0,
"a": 226
},
"_startColorVar": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 0
},
"_endColor": {
"__type__": "cc.Color",
"r": 219,
"g": 211,
"b": 0,
"a": 255
},
"_endColorVar": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 0
},
"angle": 17,
"angleVar": 180,
"startSize": 10,
"startSizeVar": 20,
"endSize": -1,
"endSizeVar": 0,
"startSpin": 0,
"startSpinVar": 0,
"endSpin": 0,
"endSpinVar": 0,
"sourcePos": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"posVar": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_positionType": 1,
"positionType": 1,
"emitterMode": 0,
"gravity": {
"__type__": "cc.Vec2",
"x": -20,
"y": 420
},
"speed": 450,
"speedVar": 20,
"tangentialAccel": -700,
"tangentialAccelVar": 0,
"radialAccel": 0,
"radialAccelVar": 0,
"rotationIsDir": false,
"startRadius": 0,
"startRadiusVar": 0,
"endRadius": 0,
"endRadiusVar": 0,
"rotatePerS": 0,
"rotatePerSVar": 0,
"_N$preview": true,
"_id": "1bHE1AHJ5DBLw+Bz6zdPIl"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 96
},
"asset": {
"__uuid__": "d09bc553-5bcd-4ca6-a1f3-ac3c614315d2"
},
"fileId": "fcv3QB7CFM+q6n1fsvkn0z",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 96
},
"asset": {
"__uuid__": "d09bc553-5bcd-4ca6-a1f3-ac3c614315d2"
},
"fileId": "",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "layout_mouse",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 102
}
],
"_active": true,
"_components": [
{
"__id__": 113
}
],
"_prefab": {
"__id__": 114
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 1,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9az2Ylh81Mq43qir7HOcZy"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 101
},
"_children": [
{
"__id__": 103
},
{
"__id__": 106
},
{
"__id__": 109
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 112
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "5dYmqcY11G8ZrvbXrbozV/"
},
{
"__type__": "cc.Node",
"_name": "star_bg",
"_objFlags": 0,
"_parent": {
"__id__": 102
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 104
}
],
"_prefab": {
"__id__": 105
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 59,
"height": 42
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "7dBcl6oaZNXbhdaFoy24JK"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 103
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "54beeaf0-8640-4d6d-bdb2-40be6c49f378"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c4nYbHrUFPHaaYBgEJhPvB"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 101
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "1a6bNni9hAzZuAOicd4es+",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 102
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 107
}
],
"_prefab": {
"__id__": 108
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 59,
"height": 42
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "97dLDDzzlMeJjrICz6KEUD"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "047bdd7d-6c4f-47dc-944a-12cf7a461f93"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "04fFN5JbRHO41C07K2fzT9"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 101
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "0dcJdIc9BNfbQiPTRx9GVW",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "icon_bigstar",
"_objFlags": 0,
"_parent": {
"__id__": 102
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 110
}
],
"_prefab": {
"__id__": 111
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 59,
"height": 42
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "adMtjQv75IEJXAL21rMcux"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 109
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "047bdd7d-6c4f-47dc-944a-12cf7a461f93"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "ddcKK9UKVDkbDWf6bsY/FX"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 101
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "e8QBmuw8VOBYptnR5JD386",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 101
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "9eIg5jomZOV5E+Yzh+2uPU",
"sync": false
},
{
"__type__": "aa1f1smbntECpwesqp/Tg0F",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 101
},
"_enabled": true,
"position": {
"__type__": "cc.Vec2",
"x": 480,
"y": 280
},
"bigStarClip": {
"__uuid__": "0fe75083-57b2-4007-a29c-9bae64d46c03"
},
"starCountClip": {
"__uuid__": "0fe75083-57b2-4007-a29c-9bae64d46c03"
},
"_id": "01dXOY63BMq4ZEYpqnbv22"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 101
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "mouse_end",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 116
},
{
"__id__": 119
},
{
"__id__": 122
}
],
"_active": false,
"_components": [
{
"__id__": 125
}
],
"_prefab": {
"__id__": 126
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
0.11,
0.11,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "34dizlNXdOrZB7Iy3y9Yy5"
},
{
"__type__": "cc.Node",
"_name": "ske_candy",
"_objFlags": 0,
"_parent": {
"__id__": 115
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 117
}
],
"_prefab": {
"__id__": 118
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1668,
"height": 938
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-432.512,
0,
0,
0,
0,
1,
8,
8,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "e0YilqUmJJ1JWzJEQo/xb0"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 116
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "e6ec02b6-ebbf-4d17-acaf-4945d7fb877f#5788586f-1aff-4185-b6cc-808408c509f4",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e6ec02b6-ebbf-4d17-acaf-4945d7fb877f"
},
"_N$dragonAtlasAsset": {
"__uuid__": "5788586f-1aff-4185-b6cc-808408c509f4"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "5epMs1vchM25OnvkscQl16"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 115
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
},
"fileId": "fcHw9SaDpAK7zwmxUDrLPs",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "ske",
"_objFlags": 0,
"_parent": {
"__id__": 115
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 120
}
],
"_prefab": {
"__id__": 121
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1508,
"height": 2331.53
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-2095.446,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "2aYVNFi5tK85nNC+WX+BQB"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 119
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "a80e649d-a03b-4765-982c-56931d635a44#30147f0f-a97b-4f52-9f51-33aa613ada59",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "a80e649d-a03b-4765-982c-56931d635a44"
},
"_N$dragonAtlasAsset": {
"__uuid__": "30147f0f-a97b-4f52-9f51-33aa613ada59"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "adGwB9ugpHtZgseTsqBtp5"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 115
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
},
"fileId": "5c1hp2rfRESZM5fPSRCCMq",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "block",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
93
"__id__":
115
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
95
"__id__":
123
}
}
],
],
"_prefab": {
"_prefab": {
"__id__":
96
"__id__":
124
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -4751,8 +5887,8 @@
...
@@ -4751,8 +5887,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 0,
"width":
10000
0,
"height": 0
"height":
10000
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -4786,129 +5922,57 @@
...
@@ -4786,129 +5922,57 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
fdajUFyC9Hj6rFDy6msb6Q
"
"_id": "
66mBnuSuRBsLqj9PfCnqDL
"
},
},
{
{
"__type__": "cc.
ParticleSystem
",
"__type__": "cc.
BlockInputEvents
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
94
"__id__":
122
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_id": "614Ol/VeZKyIbzJ5WMNHfT"
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 768,
"_dstBlendFactor": 1,
"_custom": true,
"_file": {
"__uuid__": "a1f705a9-e753-4699-8894-4363b038f2da"
},
"_spriteFrame": {
"__uuid__": "247bd8f7-6c0e-46a1-afda-c5eb7e9cc284"
},
"_texture": null,
"_stopped": true,
"playOnLoad": true,
"autoRemoveOnFinish": false,
"totalParticles": 191,
"duration": 0.22,
"emissionRate": 406.3829787234043,
"life": 0.3,
"lifeVar": 0,
"_startColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 0,
"a": 226
},
"_startColorVar": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 0
},
"_endColor": {
"__type__": "cc.Color",
"r": 219,
"g": 211,
"b": 0,
"a": 255
},
"_endColorVar": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 0
},
"angle": 17,
"angleVar": 180,
"startSize": 10,
"startSizeVar": 20,
"endSize": -1,
"endSizeVar": 0,
"startSpin": 0,
"startSpinVar": 0,
"endSpin": 0,
"endSpinVar": 0,
"sourcePos": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"posVar": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_positionType": 1,
"positionType": 1,
"emitterMode": 0,
"gravity": {
"__type__": "cc.Vec2",
"x": -20,
"y": 420
},
"speed": 450,
"speedVar": 20,
"tangentialAccel": -700,
"tangentialAccelVar": 0,
"radialAccel": 0,
"radialAccelVar": 0,
"rotationIsDir": false,
"startRadius": 0,
"startRadiusVar": 0,
"endRadius": 0,
"endRadiusVar": 0,
"rotatePerS": 0,
"rotatePerSVar": 0,
"_N$preview": true,
"_id": "1bHE1AHJ5DBLw+Bz6zdPIl"
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
93
"__id__":
115
},
},
"asset": {
"asset": {
"__uuid__": "
d09bc553-5bcd-4ca6-a1f3-ac3c614315d2
"
"__uuid__": "
baf374f1-c8c5-4e57-a484-1fd6b41fb37b
"
},
},
"fileId": "
fcv3QB7CFM+q6n1fsvkn0z
",
"fileId": "
c6mVnUkE5JaYueomXGzBNp
",
"sync": false
"sync": false
},
},
{
"__type__": "0e6618sCSxBeYB00pouLhfn",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 115
},
"_enabled": true,
"startPosition": {
"__type__": "cc.Vec2",
"x": 0,
"y": -2095.446
},
"voice": {
"__uuid__": "3fa7aab4-b81d-40e6-9691-73935a1d92da"
},
"voice2": {
"__uuid__": "b3d3e0e6-a546-402f-9f78-36dca911638b"
},
"_id": "8cjC9fH29DXrtrLsF41i7+"
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
93
"__id__":
115
},
},
"asset": {
"asset": {
"__uuid__": "
d09bc553-5bcd-4ca6-a1f3-ac3c614315d2
"
"__uuid__": "
baf374f1-c8c5-4e57-a484-1fd6b41fb37b
"
},
},
"fileId": "",
"fileId": "",
"sync": false
"sync": false
...
@@ -4922,20 +5986,26 @@
...
@@ -4922,20 +5986,26 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
99
"__id__":
128
},
},
{
{
"__id__": 102
"__id__": 131
},
{
"__id__": 134
},
{
"__id__": 138
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
05
"__id__": 1
46
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
06
"__id__": 1
47
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -4966,9 +6036,9 @@
...
@@ -4966,9 +6036,9 @@
0,
0,
0,
0,
1,
1,
0.1
1
,
0.1
3
,
0.1
1
,
0.1
3
,
0.1
1
1
]
]
},
},
"_eulerAngles": {
"_eulerAngles": {
...
@@ -4982,24 +6052,24 @@
...
@@ -4982,24 +6052,24 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
d9ZP0y2TFI1bcMu5SJeDwt
"
"_id": "
6bq8Mtdl9CAaO9QPAzOHWP
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "s
ke
",
"_name": "s
hadow
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
98
"__id__":
127
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
00
"__id__": 1
29
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
01
"__id__": 1
30
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5011,8 +6081,8 @@
...
@@ -5011,8 +6081,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
1559
,
"width":
282
,
"height": 1
857
"height": 1
18
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -5023,15 +6093,15 @@
...
@@ -5023,15 +6093,15 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
4825.941
,
3765.85
,
-2
215.831
,
-2
473.627
,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
1
,
5
,
1
,
5
,
1
1
]
]
},
},
...
@@ -5046,14 +6116,14 @@
...
@@ -5046,14 +6116,14 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
76EYHx/ylCkoikkafUDLk2
"
"_id": "
3awaDe5nVKcq8JIkjMA5b+
"
},
},
{
{
"__type__": "
dragonBones.ArmatureDisplay
",
"__type__": "
cc.Sprite
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
99
"__id__":
128
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5061,60 +6131,52 @@
...
@@ -5061,60 +6131,52 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
}
],
],
"_armatureName": "Armature",
"_srcBlendFactor": 770,
"_animationName": "normal",
"_dstBlendFactor": 771,
"_preCacheMode": 0,
"_spriteFrame": {
"_cacheMode": 0,
"__uuid__": "6049e9b1-b6da-4323-8d37-33a677eccd56"
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "12a07322-1e68-4bc7-a4f7-7f90cc762303#04a8dfaa-9baf-4407-af0a-2d3a9e89dbd8",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "12a07322-1e68-4bc7-a4f7-7f90cc762303"
},
},
"_N$dragonAtlasAsset": {
"_type": 0,
"__uuid__": "04a8dfaa-9baf-4407-af0a-2d3a9e89dbd8"
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
},
"_N$_defaultArmatureIndex": 0,
"_fillStart": 0,
"_N$_animationIndex": 1,
"_fillRange": 0,
"_N$_defaultCacheMode": 0,
"_isTrimmedMode": true,
"_N$timeScale": 1,
"_atlas": null,
"_N$debugBones": false,
"_id": "0a1lJeEu5OGYnj8PJ9BC01"
"_N$enableBatch": false,
"_id": "30w+nwKvhGuIgpR+dkMH7B"
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
98
"__id__":
127
},
},
"asset": {
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
},
"fileId": "
bcXAodm85FgJvr6dZD9yGf
",
"fileId": "
ecpREk57VFhaAUZMWKAQ4x
",
"sync": false
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
block
",
"_name": "
ske
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
98
"__id__":
127
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
03
"__id__": 1
32
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
04
"__id__": 1
33
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5126,8 +6188,8 @@
...
@@ -5126,8 +6188,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
00000
,
"width": 1
559
,
"height": 1
00000
"height": 1
857
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -5138,8 +6200,8 @@
...
@@ -5138,8 +6200,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0
,
3969.692
,
0
,
-1621.584
,
0,
0,
0,
0,
0,
0,
...
@@ -5161,89 +6223,80 @@
...
@@ -5161,89 +6223,80 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "1dhIg/vMFI2I45AficO/g2"
"_id": "00q8F09bxCjIR4kJjhunzb"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
},
"_enabled": true,
"_id": "0efpWUJrZGxq5KGX62q1NU"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 98
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
"fileId": "efp877hUFLz4dHY4gxxXKw",
"sync": false
},
},
{
{
"__type__": "
219b1yegNJPW4jalMImtj4z
",
"__type__": "
dragonBones.ArmatureDisplay
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
98
"__id__":
131
},
},
"_enabled": true,
"_enabled": true,
"startPosition": {
"_materials": [
"__type__": "cc.Vec2",
{
"x": 14000,
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"y": -2215
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "12a07322-1e68-4bc7-a4f7-7f90cc762303#04a8dfaa-9baf-4407-af0a-2d3a9e89dbd8",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "12a07322-1e68-4bc7-a4f7-7f90cc762303"
},
},
"targetPosition": {
"_N$dragonAtlasAsset": {
"__type__": "cc.Vec2",
"__uuid__": "04a8dfaa-9baf-4407-af0a-2d3a9e89dbd8"
"x": 4825.941,
"y": -2215
},
},
"moveInTime": 2,
"_N$_defaultArmatureIndex": 0,
"_id": "ff+xuUJFlN072SmV8Aa92K"
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "ebfIUGTqRJ6rFu0z3hqQ94"
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__":
98
"__id__":
127
},
},
"asset": {
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
},
"fileId": "",
"fileId": "
bcXAodm85FgJvr6dZD9yGf
",
"sync": false
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
mouse_end
",
"_name": "
block
",
"_objFlags":
0
,
"_objFlags":
512
,
"_parent": {
"_parent": {
"__id__":
2
"__id__":
127
},
},
"_children": [
"_children": [],
{
"_active": true,
"__id__": 108
"_components": [
},
{
{
"__id__": 1
11
"__id__": 1
35
},
},
{
{
"__id__": 114
"__id__": 136
}
],
"_active": false,
"_components": [
{
"__id__": 117
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
18
"__id__": 1
37
},
},
"_opacity":
255
,
"_opacity":
100
,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
...
@@ -5253,8 +6306,8 @@
...
@@ -5253,8 +6306,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 0,
"width":
10000
0,
"height": 0
"height":
10000
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -5272,8 +6325,8 @@
...
@@ -5272,8 +6325,8 @@
0,
0,
0,
0,
1,
1,
0.1
1,
1,
0.1
1,
1,
1
1
]
]
},
},
...
@@ -5288,24 +6341,80 @@
...
@@ -5288,24 +6341,80 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "34dizlNXdOrZB7Iy3y9Yy5"
"_id": "c3gdGctVFFMr/dnquuMBmt"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
},
"_enabled": true,
"_id": "9e5NQLsFlN9YT5gPreIgpl"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 134
},
"_enabled": false,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e9IaK6Vy1CLq+JDuHmHaWU"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 127
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
"fileId": "efp877hUFLz4dHY4gxxXKw",
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
ske_candy
",
"_name": "
audio
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
0
7
"__id__": 1
2
7
},
},
"_children": [],
"_children": [
"_active": true,
"_components": [
{
{
"__id__": 109
"__id__": 139
},
{
"__id__": 142
}
}
],
],
"_active": true,
"_components": [],
"_prefab": {
"_prefab": {
"__id__": 1
10
"__id__": 1
45
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5317,8 +6426,8 @@
...
@@ -5317,8 +6426,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
1668
,
"width":
0
,
"height":
938
"height":
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -5330,14 +6439,14 @@
...
@@ -5330,14 +6439,14 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
0,
-432.512
,
0
,
0,
0,
0,
0,
0,
0,
0,
0,
1,
1,
8
,
1
,
8
,
1
,
1
1
]
]
},
},
...
@@ -5352,75 +6461,24 @@
...
@@ -5352,75 +6461,24 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "e0YilqUmJJ1JWzJEQo/xb0"
"_id": "6bhXh2DtdEvoe3sF0CZLwx"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 108
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "e6ec02b6-ebbf-4d17-acaf-4945d7fb877f#5788586f-1aff-4185-b6cc-808408c509f4",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e6ec02b6-ebbf-4d17-acaf-4945d7fb877f"
},
"_N$dragonAtlasAsset": {
"__uuid__": "5788586f-1aff-4185-b6cc-808408c509f4"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "5epMs1vchM25OnvkscQl16"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 107
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
},
"fileId": "fcHw9SaDpAK7zwmxUDrLPs",
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
ske
",
"_name": "
enter
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
07
"__id__": 1
38
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
12
"__id__": 1
40
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
13
"__id__": 1
41
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5432,8 +6490,8 @@
...
@@ -5432,8 +6490,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
1508
,
"width":
0
,
"height":
2331.53
"height":
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -5445,7 +6503,7 @@
...
@@ -5445,7 +6503,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
0,
-2095.446
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -5467,75 +6525,54 @@
...
@@ -5467,75 +6525,54 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
2aYVNFi5tK85nNC+WX+BQB
"
"_id": "
85SYs4r5RH8ImHt4/cMPV2
"
},
},
{
{
"__type__": "
dragonBones.ArmatureDisplay
",
"__type__": "
cc.AudioSource
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
11
"__id__": 1
39
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_clip": {
{
"__uuid__": "bce3261e-7314-4067-9337-459533b97896"
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "a80e649d-a03b-4765-982c-56931d635a44#30147f0f-a97b-4f52-9f51-33aa613ada59",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "a80e649d-a03b-4765-982c-56931d635a44"
},
"_N$dragonAtlasAsset": {
"__uuid__": "30147f0f-a97b-4f52-9f51-33aa613ada59"
},
},
"_
N$_defaultArmatureIndex": 0
,
"_
volume": 1
,
"_
N$_animationIndex": 1
,
"_
mute": false
,
"_
N$_defaultCacheMode": 0
,
"_
loop": false
,
"_
N$timeScale": 1
,
"_
firstlyEnabled": true
,
"
_N$debugBones
": false,
"
playOnLoad
": false,
"
_N$enableBatch
": false,
"
preload
": false,
"_id": "
adGwB9ugpHtZgseTsqBtp5
"
"_id": "
b5RY66UJdAIo+OiQnSmeES
"
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 1
0
7
"__id__": 1
2
7
},
},
"asset": {
"asset": {
"__uuid__": "
baf374f1-c8c5-4e57-a484-1fd6b41fb37b
"
"__uuid__": "
57753175-db68-4aab-a973-8abce1f1664a
"
},
},
"fileId": "
5c1hp2rfRESZM5fPSRCCMq
",
"fileId": "
6dXSctH45Kj5MbzEKNyUGl
",
"sync": false
"sync": false
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
block
",
"_name": "
leave
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
07
"__id__": 1
38
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
15
"__id__": 1
43
}
}
],
],
"_prefab": {
"_prefab": {
"__id__": 1
16
"__id__": 1
44
},
},
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
...
@@ -5547,8 +6584,8 @@
...
@@ -5547,8 +6584,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
10000
0,
"width": 0,
"height":
10000
0
"height": 0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -5582,57 +6619,77 @@
...
@@ -5582,57 +6619,77 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
66mBnuSuRBsLqj9PfCnqDL
"
"_id": "
b8d6DLYKpEMpsVo0BsnHuf
"
},
},
{
{
"__type__": "cc.
BlockInputEvents
",
"__type__": "cc.
AudioSource
",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
14
"__id__": 1
42
},
},
"_enabled": true,
"_enabled": true,
"_id": "614Ol/VeZKyIbzJ5WMNHfT"
"_clip": {
"__uuid__": "3fa7aab4-b81d-40e6-9691-73935a1d92da"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "92d8s7s7NLOJoIqUDHSTk4"
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 1
0
7
"__id__": 1
2
7
},
},
"asset": {
"asset": {
"__uuid__": "
baf374f1-c8c5-4e57-a484-1fd6b41fb37b
"
"__uuid__": "
57753175-db68-4aab-a973-8abce1f1664a
"
},
},
"fileId": "
c6mVnUkE5JaYueomXGzBNp
",
"fileId": "
3dER2Qz/ZEyI6vLH55eksI
",
"sync": false
"sync": false
},
},
{
{
"__type__": "0e6618sCSxBeYB00pouLhfn",
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 127
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
"fileId": "04Mh2bmZRDIaNa8D8xWN8l",
"sync": false
},
{
"__type__": "219b1yegNJPW4jalMImtj4z",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
0
7
"__id__": 1
2
7
},
},
"_enabled": true,
"_enabled": true,
"startPosition": {
"startPosition": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
"x": 0,
"x": 6969.692,
"y": -2095.446
"y": -1600
},
"voice": {
"__uuid__": "3fa7aab4-b81d-40e6-9691-73935a1d92da"
},
},
"voice2": {
"targetPosition": {
"__uuid__": "b3d3e0e6-a546-402f-9f78-36dca911638b"
"__type__": "cc.Vec2",
"x": 3969.692,
"y": -1600
},
},
"_id": "8cjC9fH29DXrtrLsF41i7+"
"moveInTime": 1,
"_id": "38u9Og0VVH17Sceciyh4dy"
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 1
0
7
"__id__": 1
2
7
},
},
"asset": {
"asset": {
"__uuid__": "
baf374f1-c8c5-4e57-a484-1fd6b41fb37b
"
"__uuid__": "
57753175-db68-4aab-a973-8abce1f1664a
"
},
},
"fileId": "",
"fileId": "",
"sync": false
"sync": false
...
@@ -5690,22 +6747,22 @@
...
@@ -5690,22 +6747,22 @@
},
},
"_enabled": true,
"_enabled": true,
"ani_flower": {
"ani_flower": {
"__id__": 9
3
"__id__": 9
6
},
},
"layout_card": {
"layout_card": {
"__id__": 3
2
"__id__": 3
5
},
},
"layout_card_result": {
"layout_card_result": {
"__id__": 3
3
"__id__": 3
6
},
},
"node_card": {
"node_card": {
"__id__":
38
"__id__":
41
},
},
"bg_card": {
"bg_card": {
"__id__": 5
5
"__id__": 5
8
},
},
"layout_lollipop": {
"layout_lollipop": {
"__id__": 7
0
"__id__": 7
3
},
},
"_id": "eaTVUpqahPfZeO9+sUI7RP"
"_id": "eaTVUpqahPfZeO9+sUI7RP"
}
}
...
...
assets/MRBR02/scene/MRBR02.ts
View file @
b321010c
import
{
asyncDelay
,
onHomeworkFinish
}
from
"
../script/util
"
;
import
{
asyncDelay
,
exchangeNodePos
,
getSprNode
,
onHomeworkFinish
,
playAudio
}
from
"
../script/util
"
;
import
{
MyCocosSceneComponent
}
from
"
../script/MyCocosSceneComponent
"
;
import
{
MyCocosSceneComponent
}
from
"
../script/MyCocosSceneComponent
"
;
import
Game
,
{
Item
,
Option
}
from
"
./Game
"
;
import
Game
,
{
Item
,
Option
}
from
"
./Game
"
;
import
pg
from
"
./pg
"
;
import
pg
from
"
./pg
"
;
...
@@ -51,7 +51,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -51,7 +51,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
Game
.
getIns
().
init
(
this
.
data
);
Game
.
getIns
().
init
(
this
.
data
);
}
}
initView
()
{
initView
()
{
pg
.
view
.
find
(
this
,
"
mouse_start
"
).
getComponent
(
"
mstart
"
).
play
(
);
pg
.
event
.
emit
(
"
mouse_start_play
"
,
{
voice
:
Game
.
getIns
().
aniEnter
.
audioUrl
,
time
:
Game
.
getIns
().
aniEnter
.
time
}
);
}
}
initEvent
()
{
initEvent
()
{
pg
.
view
.
touchOn
(
pg
.
view
.
find
(
this
,
'
bg/bg_card/btn_check
'
),
this
.
onTouchCheck
,
this
);
pg
.
view
.
touchOn
(
pg
.
view
.
find
(
this
,
'
bg/bg_card/btn_check
'
),
this
.
onTouchCheck
,
this
);
...
@@ -61,10 +61,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -61,10 +61,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg
.
event
.
on
(
"
gameOver
"
,
()
=>
{
this
.
gameOver
()
})
pg
.
event
.
on
(
"
gameOver
"
,
()
=>
{
this
.
gameOver
()
})
}
}
private
currentCards
:
cc
.
Node
[];
private
currentCards
:
cc
.
Node
[];
//开始游戏
//开始游戏
startGame
()
{
startGame
()
{
Game
.
getIns
().
reset
();
Game
.
getIns
().
reset
();
pg
.
event
.
emit
(
"
mouse_num
"
,
Game
.
getIns
().
getTotalPageNum
());
this
.
nextPage
();
this
.
nextPage
();
}
}
nextPage
()
{
nextPage
()
{
...
@@ -211,6 +216,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -211,6 +216,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
})
})
if
(
!
itemBg
||
this
.
currentCards
[
itemBg
.
data
.
count
])
{
if
(
!
itemBg
||
this
.
currentCards
[
itemBg
.
data
.
count
])
{
//回退
//回退
this
.
playLocalAudio
(
"
error
"
);
target
.
setPosition
(
this
.
getPostionById
(
data
.
count
))
target
.
setPosition
(
this
.
getPostionById
(
data
.
count
))
for
(
let
i
=
0
;
i
<
this
.
currentCards
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
currentCards
.
length
;
i
++
)
{
let
cd
=
this
.
currentCards
[
i
];
let
cd
=
this
.
currentCards
[
i
];
...
@@ -226,6 +232,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -226,6 +232,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
target
.
setPosition
(
pos
);
target
.
setPosition
(
pos
);
this
.
currentCards
[
itemBg
.
data
.
count
]
=
target
;
this
.
currentCards
[
itemBg
.
data
.
count
]
=
target
;
this
.
playLocalAudio
(
"
right
"
);
let
ani_flower
=
cc
.
instantiate
(
this
.
ani_flower
);
let
ani_flower
=
cc
.
instantiate
(
this
.
ani_flower
);
ani_flower
.
active
=
true
;
ani_flower
.
active
=
true
;
target
.
addChild
(
ani_flower
);
target
.
addChild
(
ani_flower
);
...
@@ -251,6 +258,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -251,6 +258,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
if
(
this
.
onTouchCheckCantouch
)
return
;
if
(
this
.
onTouchCheckCantouch
)
return
;
let
isSuccess
=
Game
.
getIns
().
checkSuccess
(
this
.
currentCards
.
map
(
cd
=>
cd
.
data
));
let
isSuccess
=
Game
.
getIns
().
checkSuccess
(
this
.
currentCards
.
map
(
cd
=>
cd
.
data
));
if
(
!
isSuccess
)
{
if
(
!
isSuccess
)
{
this
.
playLocalAudio
(
"
error
"
);
this
.
currentCards
.
forEach
(
card
=>
{
this
.
currentCards
.
forEach
(
card
=>
{
cc
.
tween
(
card
).
to
(
0.3
,
{
x
:
this
.
getPostionById
(
card
.
data
.
count
).
x
,
y
:
this
.
getPostionById
(
card
.
data
.
count
).
y
}).
start
();
cc
.
tween
(
card
).
to
(
0.3
,
{
x
:
this
.
getPostionById
(
card
.
data
.
count
).
x
,
y
:
this
.
getPostionById
(
card
.
data
.
count
).
y
}).
start
();
})
})
...
@@ -259,30 +267,22 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -259,30 +267,22 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
}
this
.
onTouchCheckCantouch
=
true
;
this
.
onTouchCheckCantouch
=
true
;
pg
.
event
.
emit
(
"
mouse_add
"
);
pg
.
event
.
emit
(
"
mouse_add
"
);
this
.
updateCardResult
().
then
(
this
.
updateLollipop
.
bind
(
this
)).
then
(()
=>
{
setTimeout
(()
=>
{
Game
.
getIns
().
addPage
();
this
.
updateCardResult
();
if
(
Game
.
getIns
().
isOver
)
{
this
.
updateLollipop
().
then
(()
=>
{
pg
.
event
.
emit
(
"
gameOver
"
)
Game
.
getIns
().
addPage
();
}
else
{
if
(
Game
.
getIns
().
isOver
)
{
pg
.
event
.
emit
(
"
nextPage
"
)
pg
.
event
.
emit
(
"
gameOver
"
)
}
}
else
{
this
.
onTouchCheckCantouch
=
false
;
pg
.
event
.
emit
(
"
nextPage
"
)
})
}
this
.
onTouchCheckCantouch
=
false
;
})
},
500
);
}
}
updateCardResult
()
{
updateCardResult
()
{
return
new
Promise
((
res
,
rej
)
=>
{
return
new
Promise
((
res
,
rej
)
=>
{
let
page
=
Game
.
getIns
().
getCurrentPage
();
let
page
=
Game
.
getIns
().
getCurrentPage
();
//显示小老鼠
if
(
page
.
audio
)
{
pg
.
view
.
find
(
this
,
"
mouse_start
"
).
getComponent
(
"
mstart
"
).
play
(
page
.
audio
).
then
(()
=>
{
res
(
true
);
});
}
else
{
setTimeout
(()
=>
{
res
(
true
);
},
1000
);
}
if
(
!!
page
.
image
)
{
if
(
!!
page
.
image
)
{
this
.
layout_card
.
active
=
false
;
this
.
layout_card
.
active
=
false
;
this
.
layout_card_result
.
active
=
true
;
this
.
layout_card_result
.
active
=
true
;
...
@@ -290,6 +290,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -290,6 +290,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
let
img
=
pg
.
view
.
find
(
this
.
layout_card_result
,
"
img
"
);
let
img
=
pg
.
view
.
find
(
this
.
layout_card_result
,
"
img
"
);
pg
.
view
.
setNetImg
(
img
,
page
.
image
,
{
w
:
340
,
h
:
150
})
pg
.
view
.
setNetImg
(
img
,
page
.
image
,
{
w
:
340
,
h
:
150
})
}
}
//显示小老鼠
if
(
page
.
voice
)
{
pg
.
event
.
on
(
"
mouse_start_play_success
"
,
()
=>
{
res
(
true
);
})
pg
.
event
.
emit
(
"
mouse_start_play
"
,
{
voice
:
page
.
voice
,
time
:
page
.
time
});
//
}
else
{
setTimeout
(()
=>
{
res
(
true
);
},
1000
);
}
})
})
}
}
updateLollipop
()
{
updateLollipop
()
{
...
@@ -328,7 +335,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -328,7 +335,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
let
sprite
=
progressbar_red
.
getComponent
(
cc
.
Sprite
);
let
sprite
=
progressbar_red
.
getComponent
(
cc
.
Sprite
);
sprite
.
fillRange
=
1
;
sprite
.
fillRange
=
1
;
let
i2
=
setInterval
(()
=>
{
let
i2
=
setInterval
(()
=>
{
sprite
.
fillRange
-=
0.00
5
;
sprite
.
fillRange
-=
0.00
9
;
},
30
)
},
30
)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
...
assets/MRBR02/script/defaultData.ts
View file @
b321010c
export
const
defaultData
=
{
export
const
defaultData
=
{
"
aniEnter
"
:
{
"
skeJsonData
"
:
{},
"
texJsonData
"
:
{},
"
texPngData
"
:
{},
"
audioUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/fe2520ea0b12ad8c482595f6dddf8019.mp3
"
,
"
time
"
:
"
2
"
},
"
item
"
:
{
"
questionList
"
:
[{
"
audio
"
:
""
,
"
image
"
:
""
,
"
optionList
"
:
[{
"
type
"
:
"
text
"
,
"
text
"
:
"
a
"
,
"
image
"
:
""
,
"
optionAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/116fb7accb5428361836fbc46287f769.mp3
"
},
{
"
type
"
:
"
text
"
,
"
text
"
:
"
b
"
,
"
image
"
:
""
,
"
optionAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/526624b47ba5e46f698add9e152a4b4e.mp3
"
},
{
"
type
"
:
"
text
"
,
"
text
"
:
""
,
"
image
"
:
""
,
"
optionAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/fe2520ea0b12ad8c482595f6dddf8019.mp3
"
}],
"
voice
"
:
"
http://staging-teach.cdn.ireadabc.com/7fe846cbce9c853eb000e567eee5e4f6.mp3
"
,
"
time
"
:
"
2
"
},
{
"
audio
"
:
""
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/a5b6943a004bc48b07220f832853bd46.png
"
,
"
optionList
"
:
[{
"
type
"
:
"
picText
"
,
"
text
"
:
"
as
"
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/418486dc95e98b7d3f88f652c4716bbc.png
"
,
"
optionAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/116fb7accb5428361836fbc46287f769.mp3
"
},
{
"
type
"
:
"
picText
"
,
"
text
"
:
"
bs
"
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/476305ab6763e6821b34f66f1b6a59ed.png
"
,
"
optionAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/f7fb9f71ab7d460ac2f78c85efba7610.mp3
"
},
{
"
type
"
:
"
picText
"
,
"
text
"
:
"
cd
"
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/cda87159d3d022b6469b186e325c2bb6.png
"
,
"
optionAudio
"
:
""
},
{
"
type
"
:
"
picText
"
,
"
text
"
:
"
dd
"
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/bb4244d166b6d077617ff089f7fd46c4.png
"
,
"
optionAudio
"
:
""
},
{
"
type
"
:
"
picText
"
,
"
text
"
:
"
ed
"
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/be64edcdfed05f4a61690207570f39d7.png
"
,
"
optionAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/9df3f14bc88bcffc49b6717c40428ed8.mp3
"
}],
"
voice
"
:
"
http://staging-teach.cdn.ireadabc.com/9df3f14bc88bcffc49b6717c40428ed8.mp3
"
,
"
time
"
:
"
5
"
}]
}
}
"
aniEnter
"
:
{
\ No newline at end of file
"
skeJsonData
"
:
{},
"
texJsonData
"
:
{},
"
texPngData
"
:
{},
"
audioUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/7fe846cbce9c853eb000e567eee5e4f6.mp3
"
,
"
time
"
:
"
2
"
},
"
item
"
:
{
"
questionList
"
:
[
{
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/116fb7accb5428361836fbc46287f769.mp3
"
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/a5b6943a004bc48b07220f832853bd46.png
"
,
"
optionList
"
:
[
{
"
type
"
:
"
picText
"
,
"
text
"
:
"
as
"
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/418486dc95e98b7d3f88f652c4716bbc.png
"
,
"
optionAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/116fb7accb5428361836fbc46287f769.mp3
"
},
{
"
type
"
:
"
picText
"
,
"
text
"
:
"
bs
"
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/476305ab6763e6821b34f66f1b6a59ed.png
"
,
"
optionAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/f7fb9f71ab7d460ac2f78c85efba7610.mp3
"
},
]
},
{
"
audio
"
:
""
,
"
image
"
:
""
,
"
optionList
"
:
[{
"
type
"
:
"
text
"
,
"
text
"
:
"
a
"
,
"
image
"
:
""
,
"
optionAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/116fb7accb5428361836fbc46287f769.mp3
"
},
{
"
type
"
:
"
text
"
,
"
text
"
:
"
b
"
,
"
image
"
:
""
,
"
optionAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/526624b47ba5e46f698add9e152a4b4e.mp3
"
},
{
"
type
"
:
"
text
"
,
"
text
"
:
""
,
"
image
"
:
""
,
"
optionAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/fe2520ea0b12ad8c482595f6dddf8019.mp3
"
}]
}
]
}
}
\ No newline at end of file
creator.d.ts
View file @
b321010c
...
@@ -3571,6 +3571,8 @@ declare namespace cc {
...
@@ -3571,6 +3571,8 @@ declare namespace cc {
!#zh 获取节点正前方(z 轴)面对的方向,返回值为世界坐标系下的归一化向量 */
!#zh 获取节点正前方(z 轴)面对的方向,返回值为世界坐标系下的归一化向量 */
forward
:
Vec3
;
forward
:
Vec3
;
data
:
any
;
data
:
any
;
star
:
Node
;
starBig
:
Node
;
/**
/**
@param name name
@param name name
form/src/app/form/form.component.html
View file @
b321010c
...
@@ -43,6 +43,15 @@
...
@@ -43,6 +43,15 @@
<div
*
ngFor=
"let question of item.questionList; let i = index"
class=
"card-item clearfix"
<div
*
ngFor=
"let question of item.questionList; let i = index"
class=
"card-item clearfix"
style=
"padding: 0.5vw; width: 100%; "
>
style=
"padding: 0.5vw; width: 100%; "
>
<div
class=
"card-item-content border"
>
<div
class=
"card-item-content border"
>
<div>
<div
style=
"height: 30px; font-size: 18px;"
>
动画提示音频:
</div>
<app-audio-recorder
[
audioUrl
]="
question
.
voice
"
(
audioUploaded
)="
onVioceUploadSuccess
($
event
,
i
)"
>
</app-audio-recorder>
</div>
<div>
动画停留时间:
<input
type=
"text"
nz-input
[(
ngModel
)]="
question
.
time
"
(
ngModelChange
)="
this
.
onTxtChangeAniEnter
($
event
,
i
)"
>
</div>
<div>
<div>
<span
style=
"height: 30px; font-size: 18px;"
>
完整单词:
</span>
<span
style=
"height: 30px; font-size: 18px;"
>
完整单词:
</span>
<span
style=
"height: 30px; font-size: 18px;"
>
{{getQuestionText(question)}}
</span>
<span
style=
"height: 30px; font-size: 18px;"
>
{{getQuestionText(question)}}
</span>
...
...
form/src/app/form/form.component.ts
View file @
b321010c
...
@@ -35,7 +35,9 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
...
@@ -35,7 +35,9 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
"
type
"
:
0
,
"
type
"
:
0
,
"
text
"
:
""
,
"
text
"
:
""
,
"
image
"
:
""
,
"
image
"
:
""
,
"
optionAudio
"
:
""
"
optionAudio
"
:
""
,
"
time
"
:
''
,
'
voice
'
:
''
,
}]
}]
}
}
);
);
...
@@ -58,7 +60,9 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
...
@@ -58,7 +60,9 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
"
type
"
:
0
,
"
type
"
:
0
,
"
text
"
:
""
,
"
text
"
:
""
,
"
image
"
:
""
,
"
image
"
:
""
,
"
optionAudio
"
:
""
"
optionAudio
"
:
""
,
"
time
"
:
''
,
'
voice
'
:
''
,
});
});
this
.
save
();
this
.
save
();
}
}
...
@@ -85,7 +89,9 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
...
@@ -85,7 +89,9 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
"
type
"
:
0
,
"
type
"
:
0
,
"
text
"
:
""
,
"
text
"
:
""
,
"
image
"
:
""
,
"
image
"
:
""
,
"
optionAudio
"
:
""
"
optionAudio
"
:
""
,
"
time
"
:
''
,
'
voice
'
:
''
,
}]
}]
}]
}]
};
};
...
@@ -119,6 +125,10 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
...
@@ -119,6 +125,10 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
init
()
{
init
()
{
}
onVioceUploadSuccess
(
e
,
questionIdx
)
{
this
.
item
.
questionList
[
questionIdx
].
voice
=
e
.
url
;
this
.
save
();
}
}
onAudioUploadSuccess
(
e
,
questionIdx
)
{
onAudioUploadSuccess
(
e
,
questionIdx
)
{
this
.
item
.
questionList
[
questionIdx
].
audio
=
e
.
url
;
this
.
item
.
questionList
[
questionIdx
].
audio
=
e
.
url
;
...
...
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