Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tx_find_match
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
tx_find_match
Commits
ee678ce8
Commit
ee678ce8
authored
Mar 10, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
006a312e
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
584 additions
and
234 deletions
+584
-234
light.meta
assets/tx_find_match/anim/light.meta
+1
-1
light_ske.json
assets/tx_find_match/anim/light/light_ske.json
+1
-0
light_ske.json.meta
assets/tx_find_match/anim/light/light_ske.json.meta
+5
-0
light_tex.json
assets/tx_find_match/anim/light/light_tex.json
+1
-0
light_tex.json.meta
assets/tx_find_match/anim/light/light_tex.json.meta
+5
-0
light_tex.png
assets/tx_find_match/anim/light/light_tex.png
+0
-0
light_tex.png.meta
assets/tx_find_match/anim/light/light_tex.png.meta
+12
-12
icon_right_ske.json
assets/tx_find_match/anim/rightIcon/icon_right_ske.json
+0
-1
icon_right_ske.json.meta
assets/tx_find_match/anim/rightIcon/icon_right_ske.json.meta
+0
-5
icon_right_tex.json
assets/tx_find_match/anim/rightIcon/icon_right_tex.json
+0
-1
icon_right_tex.png
assets/tx_find_match/anim/rightIcon/icon_right_tex.png
+0
-0
wrongIcon.meta
assets/tx_find_match/anim/wrongIcon.meta
+0
-12
icon_wrong_ske.json
assets/tx_find_match/anim/wrongIcon/icon_wrong_ske.json
+0
-1
icon_wrong_tex.json
assets/tx_find_match/anim/wrongIcon/icon_wrong_tex.json
+0
-1
icon_wrong_tex.json.meta
assets/tx_find_match/anim/wrongIcon/icon_wrong_tex.json.meta
+0
-5
icon_wrong_tex.png
assets/tx_find_match/anim/wrongIcon/icon_wrong_tex.png
+0
-0
icon_wrong_tex.png.meta
assets/tx_find_match/anim/wrongIcon/icon_wrong_tex.png.meta
+0
-36
tx_find_match.fire
assets/tx_find_match/scene/tx_find_match.fire
+428
-140
tx_find_match.js
assets/tx_find_match/scene/tx_find_match.js
+131
-19
No files found.
assets/tx_find_match/anim/
rightIcon
.meta
→
assets/tx_find_match/anim/
light
.meta
View file @
ee678ce8
{
{
"ver": "1.1.2",
"ver": "1.1.2",
"uuid": "
463795c7-6f6e-4d27-8bcf-27b2876e4575
",
"uuid": "
d5bf0364-b19a-4b66-afa8-f564d13eb46c
",
"isBundle": false,
"isBundle": false,
"bundleName": "",
"bundleName": "",
"priority": 1,
"priority": 1,
...
...
assets/tx_find_match/anim/light/light_ske.json
0 → 100644
View file @
ee678ce8
{
"frameRate"
:
24
,
"name"
:
"light"
,
"version"
:
"5.5"
,
"compatibleVersion"
:
"5.5"
,
"armature"
:[{
"type"
:
"Armature"
,
"frameRate"
:
24
,
"name"
:
"light"
,
"aabb"
:{
"x"
:
-730.22
,
"y"
:
-554.31
,
"width"
:
1479
,
"height"
:
805.5
},
"bone"
:[{
"name"
:
"root"
,
"transform"
:{
"x"
:
-6.7051
,
"y"
:
-84.9317
}},{
"name"
:
"light2"
,
"parent"
:
"root"
,
"transform"
:{
"x"
:
2.7633
,
"y"
:
-111.7
}},{
"name"
:
"light1"
,
"parent"
:
"root"
,
"transform"
:{
"x"
:
1.0725
,
"y"
:
-103.2
}},{
"name"
:
"star"
,
"parent"
:
"root"
,
"transform"
:{
"x"
:
229.2949
,
"y"
:
-81.1148
}},{
"name"
:
"star1"
,
"parent"
:
"root"
,
"transform"
:{
"x"
:
243.9637
,
"y"
:
-132.7511
,
"scX"
:
0.6
,
"scY"
:
0.6
}},{
"name"
:
"star11"
,
"parent"
:
"root"
,
"transform"
:{
"x"
:
171.9631
,
"y"
:
-140.2735
,
"scX"
:
1.2
,
"scY"
:
1.2
}},{
"name"
:
"star111"
,
"parent"
:
"root"
,
"transform"
:{
"x"
:
-154.6585
,
"y"
:
-140.2735
,
"scX"
:
1.2
,
"scY"
:
1.2
}},{
"name"
:
"star2"
,
"parent"
:
"root"
,
"transform"
:{
"x"
:
-112.6119
,
"y"
:
-81.1148
}},{
"name"
:
"star12"
,
"parent"
:
"root"
,
"transform"
:{
"x"
:
-225.2377
,
"y"
:
-132.7511
,
"scX"
:
0.6
,
"scY"
:
0.6
}}],
"slot"
:[{
"blendMode"
:
"add"
,
"name"
:
"light1"
,
"parent"
:
"light1"
},{
"name"
:
"light2"
,
"parent"
:
"light2"
},{
"blendMode"
:
"add"
,
"name"
:
"star"
,
"parent"
:
"star"
},{
"name"
:
"star1"
,
"parent"
:
"star1"
},{
"name"
:
"star11"
,
"parent"
:
"star11"
},{
"name"
:
"star111"
,
"parent"
:
"star111"
},{
"name"
:
"star2"
,
"parent"
:
"star2"
},{
"blendMode"
:
"add"
,
"name"
:
"star12"
,
"parent"
:
"star12"
}],
"skin"
:[{
"slot"
:[{
"name"
:
"star2"
,
"display"
:[{
"name"
:
"star"
,
"transform"
:{
"x"
:
1.89
,
"y"
:
5.19
}}]},{
"name"
:
"star12"
,
"display"
:[{
"name"
:
"star"
,
"transform"
:{
"x"
:
1.89
,
"y"
:
5.19
}}]},{
"name"
:
"light1"
,
"display"
:[{
"name"
:
"light1"
,
"transform"
:{
"x"
:
14.91
,
"y"
:
42.83
}}]},{
"name"
:
"light2"
,
"display"
:[{
"name"
:
"light2"
,
"transform"
:{
"x"
:
11.16
,
"y"
:
38.83
}}]},{
"name"
:
"star"
,
"display"
:[{
"name"
:
"star"
,
"transform"
:{
"x"
:
34.28
,
"y"
:
5.19
}}]},{
"name"
:
"star1"
,
"display"
:[{
"name"
:
"star"
,
"transform"
:{
"x"
:
1.89
,
"y"
:
5.19
}}]},{
"name"
:
"star11"
,
"display"
:[{
"name"
:
"star"
,
"transform"
:{
"x"
:
1.89
,
"y"
:
5.19
}}]},{
"name"
:
"star111"
,
"display"
:[{
"name"
:
"star"
,
"transform"
:{
"x"
:
1.89
,
"y"
:
5.19
}}]}]}],
"animation"
:[{
"duration"
:
24
,
"playTimes"
:
0
,
"name"
:
"newAnimation"
,
"frame"
:[{
"duration"
:
8
},{
"duration"
:
0
,
"events"
:[{
"strings"
:[
"divide"
],
"name"
:
"divide"
,
"bone"
:
"root"
}]}],
"bone"
:[{
"name"
:
"light2"
,
"translateFrame"
:[{
"duration"
:
8
,
"curve"
:[
0.5
,
0
,
0.5
,
1
],
"x"
:
2036.33
},{
"duration"
:
16
}]},{
"name"
:
"light1"
,
"translateFrame"
:[{
"duration"
:
8
,
"curve"
:[
0.5
,
0
,
0.5
,
1
],
"x"
:
-2040.72
},{
"duration"
:
16
}]}],
"slot"
:[{
"name"
:
"light1"
,
"colorFrame"
:[{
"duration"
:
7
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
37
}},{
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
66
}},{
"duration"
:
7
,
"tweenEasing"
:
0
},{
"duration"
:
9
,
"tweenEasing"
:
0
},{
"duration"
:
0
,
"value"
:{
"aM"
:
0
}}]},{
"name"
:
"light2"
,
"colorFrame"
:[{
"duration"
:
7
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
35
}},{
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
65
}},{
"duration"
:
7
,
"tweenEasing"
:
0
},{
"duration"
:
9
,
"tweenEasing"
:
0
},{
"duration"
:
0
,
"value"
:{
"aM"
:
0
}}]},{
"name"
:
"star"
,
"colorFrame"
:[{
"duration"
:
7
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
9
,
"tweenEasing"
:
0
},{
"duration"
:
7
,
"value"
:{
"aM"
:
0
}}]},{
"name"
:
"star1"
,
"colorFrame"
:[{
"duration"
:
7
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
8
,
"tweenEasing"
:
0
},{
"duration"
:
8
,
"value"
:{
"aM"
:
0
}}]},{
"name"
:
"star11"
,
"colorFrame"
:[{
"duration"
:
7
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
5
,
"tweenEasing"
:
0
},{
"duration"
:
5
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
69
}},{
"duration"
:
0
,
"value"
:{
"aM"
:
0
}}]},{
"name"
:
"star111"
,
"colorFrame"
:[{
"duration"
:
7
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
5
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
5
,
"value"
:{
"aM"
:
0
}}]},{
"name"
:
"star2"
,
"colorFrame"
:[{
"duration"
:
7
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
2
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
9
,
"tweenEasing"
:
0
},{
"duration"
:
0
,
"value"
:{
"aM"
:
0
}}]},{
"name"
:
"star12"
,
"colorFrame"
:[{
"duration"
:
7
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
2
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
4
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
5
,
"tweenEasing"
:
0
},{
"duration"
:
0
,
"value"
:{
"aM"
:
0
}}]}]}],
"defaultActions"
:[{
"gotoAndPlay"
:
"newAnimation"
}],
"canvas"
:{
"width"
:
1920
,
"height"
:
1080
}}]}
\ No newline at end of file
assets/tx_find_match/anim/
wrongIcon/icon_wrong
_ske.json.meta
→
assets/tx_find_match/anim/
light/light
_ske.json.meta
View file @
ee678ce8
{
{
"ver": "1.0.1",
"ver": "1.0.1",
"uuid": "
e3166c62-c5bb-4b20-aba5-c58b54b7c4bc
",
"uuid": "
2a0815df-0139-4db9-bbac-532307bdb1b5
",
"subMetas": {}
"subMetas": {}
}
}
\ No newline at end of file
assets/tx_find_match/anim/light/light_tex.json
0 → 100644
View file @
ee678ce8
{
"name"
:
"light"
,
"height"
:
2048
,
"SubTexture"
:[{
"name"
:
"light1"
,
"x"
:
1
,
"height"
:
793
,
"y"
:
1
,
"width"
:
1479
},{
"name"
:
"light2"
,
"x"
:
1
,
"height"
:
793
,
"y"
:
796
,
"width"
:
1456
},{
"name"
:
"star"
,
"x"
:
1459
,
"height"
:
58
,
"y"
:
796
,
"width"
:
58
}],
"imagePath"
:
"light_tex.png"
,
"width"
:
2048
}
\ No newline at end of file
assets/tx_find_match/anim/
rightIcon/icon_r
ight_tex.json.meta
→
assets/tx_find_match/anim/
light/l
ight_tex.json.meta
View file @
ee678ce8
{
{
"ver": "1.0.1",
"ver": "1.0.1",
"uuid": "e
277ebcc-5165-4965-a81f-b9a19d78c759
",
"uuid": "e
d296292-282e-48cf-bdfa-e1c99e0d03ee
",
"subMetas": {}
"subMetas": {}
}
}
\ No newline at end of file
assets/tx_find_match/anim/light/light_tex.png
0 → 100644
View file @
ee678ce8
612 KB
assets/tx_find_match/anim/
rightIcon/icon_r
ight_tex.png.meta
→
assets/tx_find_match/anim/
light/l
ight_tex.png.meta
View file @
ee678ce8
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
8db7ec89-fee4-4bde-aa32-c8f042b9de8a
",
"uuid": "
b77db0cd-56d3-4490-9adc-3c4f64d55a4b
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"premultiplyAlpha": false,
"genMipmaps": false,
"genMipmaps": false,
"packable": true,
"packable": true,
"width":
64
,
"width":
2048
,
"height":
64
,
"height":
2048
,
"platformSettings": {},
"platformSettings": {},
"subMetas": {
"subMetas": {
"
icon_r
ight_tex": {
"
l
ight_tex": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
7486305c-e40b-4260-91ca-c42c4bae18a7
",
"uuid": "
2b24af6a-d427-40be-88f6-2b9e31f77640
",
"rawTextureUuid": "
8db7ec89-fee4-4bde-aa32-c8f042b9de8a
",
"rawTextureUuid": "
b77db0cd-56d3-4490-9adc-3c4f64d55a4b
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
"offsetX": -
7.
5,
"offsetX": -
26
5,
"offsetY":
11
,
"offsetY":
229
,
"trimX": 1,
"trimX": 1,
"trimY": 1,
"trimY": 1,
"width":
47
,
"width":
1516
,
"height":
40
,
"height":
1588
,
"rawWidth":
64
,
"rawWidth":
2048
,
"rawHeight":
64
,
"rawHeight":
2048
,
"borderTop": 0,
"borderTop": 0,
"borderBottom": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderLeft": 0,
...
...
assets/tx_find_match/anim/rightIcon/icon_right_ske.json
deleted
100644 → 0
View file @
006a312e
{
"frameRate"
:
24
,
"name"
:
"icon_right"
,
"version"
:
"5.5"
,
"compatibleVersion"
:
"5.5"
,
"armature"
:[{
"type"
:
"Armature"
,
"frameRate"
:
24
,
"name"
:
"armatureName"
,
"aabb"
:{
"x"
:
-23
,
"y"
:
-51
,
"width"
:
47
,
"height"
:
40
},
"bone"
:[{
"name"
:
"root"
},{
"length"
:
29
,
"name"
:
"心"
,
"parent"
:
"root"
,
"transform"
:{
"y"
:
-31
}}],
"slot"
:[{
"name"
:
"心"
,
"parent"
:
"心"
}],
"skin"
:[{
"slot"
:[{
"name"
:
"心"
,
"display"
:[{
"name"
:
"心"
,
"transform"
:{
"x"
:
0.5
}}]}]}],
"animation"
:[{
"duration"
:
30
,
"playTimes"
:
0
,
"name"
:
"newAnimation"
,
"bone"
:[{
"name"
:
"心"
,
"scaleFrame"
:[{
"duration"
:
30
,
"tweenEasing"
:
0
,
"x"
:
0.01
,
"y"
:
0.01
},{
"duration"
:
0
}]}],
"slot"
:[{
"name"
:
"心"
,
"colorFrame"
:[{
"duration"
:
20
,
"tweenEasing"
:
0
},{
"duration"
:
10
,
"tweenEasing"
:
0
},{
"duration"
:
0
,
"value"
:{
"aM"
:
0
}}]}]}],
"defaultActions"
:[{
"gotoAndPlay"
:
"newAnimation"
}]}]}
\ No newline at end of file
assets/tx_find_match/anim/rightIcon/icon_right_ske.json.meta
deleted
100644 → 0
View file @
006a312e
{
"ver": "1.0.1",
"uuid": "b1e60dd4-e8be-4e07-90be-75457ef88ccd",
"subMetas": {}
}
\ No newline at end of file
assets/tx_find_match/anim/rightIcon/icon_right_tex.json
deleted
100644 → 0
View file @
006a312e
{
"name"
:
"icon_right"
,
"height"
:
64
,
"SubTexture"
:[{
"name"
:
"心"
,
"x"
:
1
,
"height"
:
40
,
"y"
:
1
,
"width"
:
47
}],
"imagePath"
:
"icon_right_tex.png"
,
"width"
:
64
}
\ No newline at end of file
assets/tx_find_match/anim/rightIcon/icon_right_tex.png
deleted
100644 → 0
View file @
006a312e
1.05 KB
assets/tx_find_match/anim/wrongIcon.meta
deleted
100644 → 0
View file @
006a312e
{
"ver": "1.1.2",
"uuid": "1e605600-36b0-430a-b7f9-6d6d1328bb4a",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
assets/tx_find_match/anim/wrongIcon/icon_wrong_ske.json
deleted
100644 → 0
View file @
006a312e
{
"frameRate"
:
24
,
"name"
:
"icon_wrong"
,
"version"
:
"5.5"
,
"compatibleVersion"
:
"5.5"
,
"armature"
:[{
"type"
:
"Armature"
,
"frameRate"
:
24
,
"name"
:
"armatureName"
,
"aabb"
:{
"x"
:
-29
,
"y"
:
-56
,
"width"
:
59
,
"height"
:
52
},
"bone"
:[{
"name"
:
"root"
},{
"length"
:
21
,
"name"
:
"乌云"
,
"parent"
:
"root"
,
"transform"
:{
"y"
:
-38.5
,
"skX"
:
2.6507
,
"skY"
:
2.6507
}},{
"length"
:
7
,
"name"
:
"雨滴2"
,
"parent"
:
"root"
,
"transform"
:{
"x"
:
-7.95
,
"y"
:
-20.9
,
"skX"
:
-90
,
"skY"
:
-90
}},{
"length"
:
7
,
"name"
:
"雨滴4"
,
"parent"
:
"root"
,
"transform"
:{
"x"
:
8.3
,
"y"
:
-17.25
,
"skX"
:
-90
,
"skY"
:
-90
}},{
"length"
:
8
,
"name"
:
"雨滴3"
,
"parent"
:
"root"
,
"transform"
:{
"x"
:
22.25
,
"y"
:
-9.65
,
"skX"
:
-87.5853
,
"skY"
:
-87.5853
}},{
"length"
:
7
,
"name"
:
"雨滴1"
,
"parent"
:
"root"
,
"transform"
:{
"x"
:
-21.2
,
"y"
:
-8.95
,
"skX"
:
-90
,
"skY"
:
-90
}}],
"slot"
:[{
"name"
:
"乌云"
,
"parent"
:
"乌云"
},{
"name"
:
"雨滴1"
,
"parent"
:
"雨滴1"
},{
"name"
:
"雨滴2"
,
"parent"
:
"雨滴2"
},{
"name"
:
"雨滴3"
,
"parent"
:
"雨滴3"
},{
"name"
:
"雨滴4"
,
"parent"
:
"雨滴4"
}],
"skin"
:[{
"slot"
:[{
"name"
:
"雨滴4"
,
"display"
:[{
"name"
:
"雨滴4"
,
"transform"
:{
"x"
:
2.25
,
"y"
:
0.2
,
"skX"
:
90
,
"skY"
:
90
}}]},{
"name"
:
"雨滴3"
,
"display"
:[{
"name"
:
"雨滴3"
,
"transform"
:{
"x"
:
1.86
,
"y"
:
0.17
,
"skX"
:
87.59
,
"skY"
:
87.59
}}]},{
"name"
:
"乌云"
,
"display"
:[{
"name"
:
"乌云"
,
"transform"
:{
"x"
:
0.36
,
"y"
:
-3.02
,
"skX"
:
-2.65
,
"skY"
:
-2.65
}}]},{
"name"
:
"雨滴1"
,
"display"
:[{
"name"
:
"雨滴1"
,
"transform"
:{
"x"
:
1.55
,
"y"
:
0.7
,
"skX"
:
90
,
"skY"
:
90
}}]},{
"name"
:
"雨滴2"
,
"display"
:[{
"name"
:
"雨滴2"
,
"transform"
:{
"x"
:
2.6
,
"y"
:
-0.55
,
"skX"
:
90
,
"skY"
:
90
}}]}]}],
"animation"
:[{
"duration"
:
24
,
"playTimes"
:
0
,
"name"
:
"newAnimation"
,
"bone"
:[{
"name"
:
"雨滴2"
,
"translateFrame"
:[{
"duration"
:
8
,
"tweenEasing"
:
0
,
"y"
:
-13.29
},{
"tweenEasing"
:
0
,
"y"
:
13.14
},{
"tweenEasing"
:
0
,
"y"
:
-13.29
},{
"duration"
:
8
,
"tweenEasing"
:
0
,
"y"
:
-13.29
},{
"tweenEasing"
:
0
,
"y"
:
13.14
},{
"duration"
:
5
,
"y"
:
-13.29
}]},{
"name"
:
"雨滴4"
,
"translateFrame"
:[{
"duration"
:
3
,
"tweenEasing"
:
0
,
"y"
:
-17.52
},{
"duration"
:
7
,
"tweenEasing"
:
0
,
"y"
:
-17.52
},{
"tweenEasing"
:
0
,
"y"
:
7.22
},{
"tweenEasing"
:
0
,
"y"
:
10.76
},{
"tweenEasing"
:
0
,
"y"
:
-17.52
},{
"duration"
:
8
,
"tweenEasing"
:
0
,
"y"
:
-17.52
},{
"tweenEasing"
:
0
,
"y"
:
10.76
},{
"duration"
:
2
,
"y"
:
-17.52
}]},{
"name"
:
"雨滴3"
,
"translateFrame"
:[{
"duration"
:
2
,
"tweenEasing"
:
0
,
"x"
:
-0.92
,
"y"
:
-4.86
},{
"tweenEasing"
:
0
,
"x"
:
-0.92
,
"y"
:
1.21
},{
"duration"
:
5
,
"tweenEasing"
:
0
,
"x"
:
-0.92
,
"y"
:
-23.04
},{
"duration"
:
2
,
"tweenEasing"
:
0
,
"x"
:
-0.92
,
"y"
:
-23.04
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"x"
:
-0.92
,
"y"
:
-16.98
},{
"tweenEasing"
:
0
,
"x"
:
-0.92
,
"y"
:
1.21
},{
"tweenEasing"
:
0
,
"x"
:
-0.92
,
"y"
:
-23.04
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"x"
:
-0.92
,
"y"
:
-23.04
},{
"duration"
:
0
,
"x"
:
-0.92
,
"y"
:
-4.86
}]},{
"name"
:
"雨滴1"
,
"translateFrame"
:[{
"tweenEasing"
:
0
,
"y"
:
-0.44
},{
"tweenEasing"
:
0
,
"y"
:
3.03
},{
"duration"
:
5
,
"tweenEasing"
:
0
,
"y"
:
-23.48
},{
"duration"
:
3
,
"tweenEasing"
:
0
,
"y"
:
-23.48
},{
"duration"
:
5
,
"tweenEasing"
:
0
,
"y"
:
-14.35
},{
"tweenEasing"
:
0
,
"y"
:
3.03
},{
"tweenEasing"
:
0
,
"y"
:
-23.48
},{
"duration"
:
7
,
"tweenEasing"
:
0
,
"y"
:
-23.48
},{
"duration"
:
0
,
"y"
:
-0.44
}]}]}],
"defaultActions"
:[{
"gotoAndPlay"
:
"newAnimation"
}]}]}
\ No newline at end of file
assets/tx_find_match/anim/wrongIcon/icon_wrong_tex.json
deleted
100644 → 0
View file @
006a312e
{
"name"
:
"icon_wrong"
,
"imagePath"
:
"icon_wrong_tex.png"
,
"SubTexture"
:[{
"name"
:
"乌云"
,
"x"
:
1
,
"height"
:
29
,
"y"
:
1
,
"width"
:
59
},{
"name"
:
"雨滴1"
,
"x"
:
10
,
"height"
:
13
,
"y"
:
47
,
"width"
:
7
},{
"name"
:
"雨滴2"
,
"x"
:
10
,
"height"
:
13
,
"y"
:
32
,
"width"
:
7
},{
"name"
:
"雨滴3"
,
"x"
:
1
,
"height"
:
13
,
"y"
:
47
,
"width"
:
7
},{
"name"
:
"雨滴4"
,
"x"
:
1
,
"height"
:
13
,
"y"
:
32
,
"width"
:
7
}],
"height"
:
64
,
"width"
:
64
}
\ No newline at end of file
assets/tx_find_match/anim/wrongIcon/icon_wrong_tex.json.meta
deleted
100644 → 0
View file @
006a312e
{
"ver": "1.0.1",
"uuid": "89d6efdf-ad83-4177-872a-8a1ae5be47d1",
"subMetas": {}
}
\ No newline at end of file
assets/tx_find_match/anim/wrongIcon/icon_wrong_tex.png
deleted
100644 → 0
View file @
006a312e
1.22 KB
assets/tx_find_match/anim/wrongIcon/icon_wrong_tex.png.meta
deleted
100644 → 0
View file @
006a312e
{
"ver": "2.3.5",
"uuid": "5990fb4d-9fee-4010-8ba6-f63d79a1c487",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 64,
"height": 64,
"platformSettings": {},
"subMetas": {
"icon_wrong_tex": {
"ver": "1.0.4",
"uuid": "5a5ae385-31fd-40ba-a6d7-6b39c3f9cc8b",
"rawTextureUuid": "5990fb4d-9fee-4010-8ba6-f63d79a1c487",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1.5,
"offsetY": 1.5,
"trimX": 1,
"trimY": 1,
"width": 59,
"height": 59,
"rawWidth": 64,
"rawHeight": 64,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/tx_find_match/scene/tx_find_match.fire
View file @
ee678ce8
...
@@ -17,10 +17,10 @@
...
@@ -17,10 +17,10 @@
"__id__": 2
"__id__": 2
},
},
{
{
"__id__":
58
"__id__":
64
},
},
{
{
"__id__":
79
"__id__":
85
}
}
],
],
"_active": false,
"_active": false,
...
@@ -90,13 +90,13 @@
...
@@ -90,13 +90,13 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
55
"__id__":
61
},
},
{
{
"__id__":
56
"__id__":
62
},
},
{
{
"__id__":
57
"__id__":
63
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -353,7 +353,7 @@
...
@@ -353,7 +353,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
7d4c6dae-4286-4830-8e02-4797402738e3
"
"__uuid__": "
08a7964f-f67b-4206-a299-ba81cb739cd7
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -475,13 +475,13 @@
...
@@ -475,13 +475,13 @@
"__id__": 11
"__id__": 11
},
},
{
{
"__id__": 3
2
"__id__": 3
6
},
},
{
{
"__id__":
37
"__id__":
41
},
},
{
{
"__id__": 5
4
"__id__": 5
8
}
}
],
],
"_active": false,
"_active": false,
...
@@ -571,6 +571,12 @@
...
@@ -571,6 +571,12 @@
},
},
{
{
"__id__": 30
"__id__": 30
},
{
"__id__": 32
},
{
"__id__": 34
}
}
],
],
"_active": true,
"_active": true,
...
@@ -625,7 +631,7 @@
...
@@ -625,7 +631,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
wrong
",
"_name": "
bg_star
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 11
"__id__": 11
...
@@ -646,6 +652,186 @@
...
@@ -646,6 +652,186 @@
"b": 255,
"b": 255,
"a": 255
"a": 255
},
},
"_contentSize": {
"__type__": "cc.Size",
"width": 461,
"height": 466
},
"_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": "aa0fYwUZlK65LQollqaUGd"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f0055607-24ff-45a8-8a21-98b77f81fb3e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "30zRJJDb9OzKbf75LoEf3G"
},
{
"__type__": "cc.Node",
"_name": "bg_2",
"_objFlags": 0,
"_parent": {
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_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": "20nJD7Ux9JOqD0ltnapM2u"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "08a7964f-f67b-4206-a299-ba81cb739cd7"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "41K7Re6u1LoYPQ8KwET5d1"
},
{
"__type__": "cc.Node",
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 209,
"width": 209,
...
@@ -690,7 +876,7 @@
...
@@ -690,7 +876,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
2
"__id__": 1
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -724,7 +910,7 @@
...
@@ -724,7 +910,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
5
"__id__": 1
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -780,7 +966,7 @@
...
@@ -780,7 +966,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
4
"__id__": 1
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -814,7 +1000,7 @@
...
@@ -814,7 +1000,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
17
"__id__":
21
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -870,7 +1056,7 @@
...
@@ -870,7 +1056,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
16
"__id__":
20
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -904,7 +1090,7 @@
...
@@ -904,7 +1090,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
19
"__id__":
23
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -960,7 +1146,7 @@
...
@@ -960,7 +1146,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
18
"__id__":
22
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -998,7 +1184,7 @@
...
@@ -998,7 +1184,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
1
"__id__": 2
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1054,7 +1240,7 @@
...
@@ -1054,7 +1240,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
0
"__id__": 2
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1092,7 +1278,7 @@
...
@@ -1092,7 +1278,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
3
"__id__": 2
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1148,7 +1334,7 @@
...
@@ -1148,7 +1334,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
2
"__id__": 2
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1186,7 +1372,7 @@
...
@@ -1186,7 +1372,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
5
"__id__": 2
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1242,7 +1428,7 @@
...
@@ -1242,7 +1428,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
4
"__id__": 2
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1280,7 +1466,7 @@
...
@@ -1280,7 +1466,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
27
"__id__":
31
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1336,7 +1522,7 @@
...
@@ -1336,7 +1522,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
26
"__id__":
30
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1374,7 +1560,7 @@
...
@@ -1374,7 +1560,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
29
"__id__":
33
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1430,7 +1616,7 @@
...
@@ -1430,7 +1616,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
28
"__id__":
32
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1468,7 +1654,7 @@
...
@@ -1468,7 +1654,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
1
"__id__": 3
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1524,7 +1710,7 @@
...
@@ -1524,7 +1710,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
0
"__id__": 3
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -1556,10 +1742,10 @@
...
@@ -1556,10 +1742,10 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 3
3
"__id__": 3
7
},
},
{
{
"__id__": 3
5
"__id__": 3
9
}
}
],
],
"_active": true,
"_active": true,
...
@@ -1617,13 +1803,13 @@
...
@@ -1617,13 +1803,13 @@
"_name": "BiaoZhunShouxieTi",
"_name": "BiaoZhunShouxieTi",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
2
"__id__": 3
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
4
"__id__": 3
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1679,7 +1865,7 @@
...
@@ -1679,7 +1865,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
3
"__id__": 3
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1714,13 +1900,13 @@
...
@@ -1714,13 +1900,13 @@
"_name": "MMTB",
"_name": "MMTB",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
2
"__id__": 3
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
36
"__id__":
40
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1776,7 +1962,7 @@
...
@@ -1776,7 +1962,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
5
"__id__": 3
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [],
"_materials": [],
...
@@ -1810,12 +1996,6 @@
...
@@ -1810,12 +1996,6 @@
"__id__": 10
"__id__": 10
},
},
"_children": [
"_children": [
{
"__id__": 38
},
{
"__id__": 40
},
{
{
"__id__": 42
"__id__": 42
},
},
...
@@ -1833,6 +2013,12 @@
...
@@ -1833,6 +2013,12 @@
},
},
{
{
"__id__": 52
"__id__": 52
},
{
"__id__": 54
},
{
"__id__": 56
}
}
],
],
"_active": true,
"_active": true,
...
@@ -1890,13 +2076,13 @@
...
@@ -1890,13 +2076,13 @@
"_name": "begin_tip",
"_name": "begin_tip",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
37
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
39
"__id__":
43
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1952,7 +2138,7 @@
...
@@ -1952,7 +2138,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
38
"__id__":
42
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -1971,13 +2157,13 @@
...
@@ -1971,13 +2157,13 @@
"_name": "btn",
"_name": "btn",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
37
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
1
"__id__": 4
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2033,7 +2219,7 @@
...
@@ -2033,7 +2219,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
0
"__id__": 4
4
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -2052,13 +2238,13 @@
...
@@ -2052,13 +2238,13 @@
"_name": "select",
"_name": "select",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
37
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
3
"__id__": 4
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2114,7 +2300,7 @@
...
@@ -2114,7 +2300,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
2
"__id__": 4
6
},
},
"_enabled": true,
"_enabled": true,
"_clip": null,
"_clip": null,
...
@@ -2131,13 +2317,13 @@
...
@@ -2131,13 +2317,13 @@
"_name": "star_count",
"_name": "star_count",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
37
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
5
"__id__": 4
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2193,7 +2379,7 @@
...
@@ -2193,7 +2379,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
4
"__id__": 4
8
},
},
"_enabled": true,
"_enabled": true,
"_clip": null,
"_clip": null,
...
@@ -2210,13 +2396,13 @@
...
@@ -2210,13 +2396,13 @@
"_name": "finish",
"_name": "finish",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
37
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
47
"__id__":
51
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2272,7 +2458,7 @@
...
@@ -2272,7 +2458,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
46
"__id__":
50
},
},
"_enabled": true,
"_enabled": true,
"_clip": null,
"_clip": null,
...
@@ -2289,13 +2475,13 @@
...
@@ -2289,13 +2475,13 @@
"_name": "big_star",
"_name": "big_star",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
37
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
49
"__id__":
53
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2351,7 +2537,7 @@
...
@@ -2351,7 +2537,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
48
"__id__":
52
},
},
"_enabled": true,
"_enabled": true,
"_clip": null,
"_clip": null,
...
@@ -2368,13 +2554,13 @@
...
@@ -2368,13 +2554,13 @@
"_name": "wrong",
"_name": "wrong",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
37
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
1
"__id__": 5
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2430,7 +2616,7 @@
...
@@ -2430,7 +2616,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
0
"__id__": 5
4
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -2449,13 +2635,13 @@
...
@@ -2449,13 +2635,13 @@
"_name": "right",
"_name": "right",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
37
"__id__":
41
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
3
"__id__": 5
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2511,7 +2697,7 @@
...
@@ -2511,7 +2697,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
2
"__id__": 5
6
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -2532,7 +2718,11 @@
...
@@ -2532,7 +2718,11 @@
"_parent": {
"_parent": {
"__id__": 10
"__id__": 10
},
},
"_children": [],
"_children": [
{
"__id__": 59
}
],
"_active": true,
"_active": true,
"_components": [],
"_components": [],
"_prefab": null,
"_prefab": null,
...
@@ -2583,6 +2773,104 @@
...
@@ -2583,6 +2773,104 @@
"groupIndex": 0,
"groupIndex": 0,
"_id": "9f7b/MRIBNGoktNEBcoCil"
"_id": "9f7b/MRIBNGoktNEBcoCil"
},
},
{
"__type__": "cc.Node",
"_name": "light",
"_objFlags": 0,
"_parent": {
"__id__": 58
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 60
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1479,
"height": 805.5
},
"_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": "642xlLgHlAH7Ln+y/DDTE+"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
},
"_enabled": true,
"_materials": [],
"_armatureName": "light",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "2a0815df-0139-4db9-bbac-532307bdb1b5#ed296292-282e-48cf-bdfa-e1c99e0d03ee",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "2a0815df-0139-4db9-bbac-532307bdb1b5"
},
"_N$dragonAtlasAsset": {
"__uuid__": "ed296292-282e-48cf-bdfa-e1c99e0d03ee"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "b70BVS6dxJVJcKZ+ULLig6"
},
{
{
"__type__": "cc.Canvas",
"__type__": "cc.Canvas",
"_name": "",
"_name": "",
...
@@ -2648,19 +2936,19 @@
...
@@ -2648,19 +2936,19 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
59
"__id__":
65
},
},
{
{
"__id__": 6
3
"__id__": 6
9
},
},
{
{
"__id__":
67
"__id__":
73
},
},
{
{
"__id__": 7
1
"__id__": 7
7
},
},
{
{
"__id__":
75
"__id__":
81
}
}
],
],
"_active": false,
"_active": false,
...
@@ -2718,11 +3006,11 @@
...
@@ -2718,11 +3006,11 @@
"_name": "quadBase",
"_name": "quadBase",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
58
"__id__":
64
},
},
"_children": [
"_children": [
{
{
"__id__": 6
0
"__id__": 6
6
}
}
],
],
"_active": true,
"_active": true,
...
@@ -2780,11 +3068,11 @@
...
@@ -2780,11 +3068,11 @@
"_name": "quad",
"_name": "quad",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
59
"__id__":
65
},
},
"_children": [
"_children": [
{
{
"__id__": 6
1
"__id__": 6
7
}
}
],
],
"_active": true,
"_active": true,
...
@@ -2842,13 +3130,13 @@
...
@@ -2842,13 +3130,13 @@
"_name": "paper",
"_name": "paper",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
0
"__id__": 6
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
2
"__id__": 6
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2904,7 +3192,7 @@
...
@@ -2904,7 +3192,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
1
"__id__": 6
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2934,11 +3222,11 @@
...
@@ -2934,11 +3222,11 @@
"_name": "quadBase",
"_name": "quadBase",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
58
"__id__":
64
},
},
"_children": [
"_children": [
{
{
"__id__":
64
"__id__":
70
}
}
],
],
"_active": true,
"_active": true,
...
@@ -2996,11 +3284,11 @@
...
@@ -2996,11 +3284,11 @@
"_name": "quad",
"_name": "quad",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
3
"__id__": 6
9
},
},
"_children": [
"_children": [
{
{
"__id__":
65
"__id__":
71
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3058,13 +3346,13 @@
...
@@ -3058,13 +3346,13 @@
"_name": "paper",
"_name": "paper",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
64
"__id__":
70
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
66
"__id__":
72
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3120,7 +3408,7 @@
...
@@ -3120,7 +3408,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
65
"__id__":
71
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3150,11 +3438,11 @@
...
@@ -3150,11 +3438,11 @@
"_name": "quadBase",
"_name": "quadBase",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
58
"__id__":
64
},
},
"_children": [
"_children": [
{
{
"__id__":
68
"__id__":
74
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3212,11 +3500,11 @@
...
@@ -3212,11 +3500,11 @@
"_name": "quad",
"_name": "quad",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
67
"__id__":
73
},
},
"_children": [
"_children": [
{
{
"__id__":
69
"__id__":
75
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3274,13 +3562,13 @@
...
@@ -3274,13 +3562,13 @@
"_name": "paper",
"_name": "paper",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
68
"__id__":
74
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
0
"__id__": 7
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3336,7 +3624,7 @@
...
@@ -3336,7 +3624,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
69
"__id__":
75
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3366,11 +3654,11 @@
...
@@ -3366,11 +3654,11 @@
"_name": "quadBase",
"_name": "quadBase",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
58
"__id__":
64
},
},
"_children": [
"_children": [
{
{
"__id__": 7
2
"__id__": 7
8
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3428,11 +3716,11 @@
...
@@ -3428,11 +3716,11 @@
"_name": "quad",
"_name": "quad",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
1
"__id__": 7
7
},
},
"_children": [
"_children": [
{
{
"__id__": 7
3
"__id__": 7
9
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3490,13 +3778,13 @@
...
@@ -3490,13 +3778,13 @@
"_name": "paper",
"_name": "paper",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
2
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
74
"__id__":
80
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3552,7 +3840,7 @@
...
@@ -3552,7 +3840,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
3
"__id__": 7
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3582,11 +3870,11 @@
...
@@ -3582,11 +3870,11 @@
"_name": "quadBase",
"_name": "quadBase",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
58
"__id__":
64
},
},
"_children": [
"_children": [
{
{
"__id__":
76
"__id__":
82
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3644,11 +3932,11 @@
...
@@ -3644,11 +3932,11 @@
"_name": "quad",
"_name": "quad",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
75
"__id__":
81
},
},
"_children": [
"_children": [
{
{
"__id__":
77
"__id__":
83
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3706,13 +3994,13 @@
...
@@ -3706,13 +3994,13 @@
"_name": "paper",
"_name": "paper",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
76
"__id__":
82
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
78
"__id__":
84
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3768,7 +4056,7 @@
...
@@ -3768,7 +4056,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
77
"__id__":
83
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3802,28 +4090,28 @@
...
@@ -3802,28 +4090,28 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 8
0
"__id__": 8
6
},
},
{
{
"__id__": 8
2
"__id__": 8
8
},
},
{
{
"__id__":
84
"__id__":
90
},
},
{
{
"__id__":
86
"__id__":
92
},
},
{
{
"__id__":
88
"__id__":
94
},
},
{
{
"__id__": 9
0
"__id__": 9
6
},
},
{
{
"__id__": 9
2
"__id__": 9
8
},
},
{
{
"__id__":
94
"__id__":
100
}
}
],
],
"_active": false,
"_active": false,
...
@@ -3881,13 +4169,13 @@
...
@@ -3881,13 +4169,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
79
"__id__":
85
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
1
"__id__": 8
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3943,7 +4231,7 @@
...
@@ -3943,7 +4231,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
0
"__id__": 8
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3973,13 +4261,13 @@
...
@@ -3973,13 +4261,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
79
"__id__":
85
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 8
3
"__id__": 8
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4035,7 +4323,7 @@
...
@@ -4035,7 +4323,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
2
"__id__": 8
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4065,13 +4353,13 @@
...
@@ -4065,13 +4353,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
79
"__id__":
85
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
85
"__id__":
91
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4127,7 +4415,7 @@
...
@@ -4127,7 +4415,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
84
"__id__":
90
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4157,13 +4445,13 @@
...
@@ -4157,13 +4445,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
79
"__id__":
85
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
87
"__id__":
93
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4219,7 +4507,7 @@
...
@@ -4219,7 +4507,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
86
"__id__":
92
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4249,13 +4537,13 @@
...
@@ -4249,13 +4537,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
79
"__id__":
85
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
89
"__id__":
95
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4311,7 +4599,7 @@
...
@@ -4311,7 +4599,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
88
"__id__":
94
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4341,13 +4629,13 @@
...
@@ -4341,13 +4629,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
79
"__id__":
85
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
1
"__id__": 9
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4403,7 +4691,7 @@
...
@@ -4403,7 +4691,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
0
"__id__": 9
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4433,13 +4721,13 @@
...
@@ -4433,13 +4721,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
79
"__id__":
85
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
3
"__id__": 9
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4495,7 +4783,7 @@
...
@@ -4495,7 +4783,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
2
"__id__": 9
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4525,13 +4813,13 @@
...
@@ -4525,13 +4813,13 @@
"_name": "bg_sahua",
"_name": "bg_sahua",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
79
"__id__":
85
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
95
"__id__":
101
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4587,7 +4875,7 @@
...
@@ -4587,7 +4875,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
94
"__id__":
100
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
...
assets/tx_find_match/scene/tx_find_match.js
View file @
ee678ce8
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
// import { getSprNode } from "./util";
// import { getSprNode } from "./util";
import
{
getSprNode
,
playAudioByUrl
,
showBtnAnima
,
getScaleRateBy2Node
,
localPosTolocalPos
,
randomSortByArr
,
loadDragonBones
,
playAudio
,
showTrebleFirework
,
getSprNodeByUrl
,
setSprNodeMaxLen
,
delayCall
,
asyncDelay
,
RandomInt
,
exchangeNodePos
,
onHomeworkFinish
,
callNetworkApi
,
loopLog
}
from
"
../script/tx_find_match_util
"
;
import
{
getSprNode
,
playAudioByUrl
,
showBtnAnima
,
getScaleRateBy2Node
,
localPosTolocalPos
,
randomSortByArr
,
getAngleByPos
,
playAudio
,
showTrebleFirework
,
getSprNodeByUrl
,
setSprNodeMaxLen
,
delayCall
,
asyncDelay
,
RandomInt
,
exchangeNodePos
,
onHomeworkFinish
,
callNetworkApi
,
loopLog
,
getPosByAngle
}
from
"
../script/tx_find_match_util
"
;
cc
.
Class
({
cc
.
Class
({
extends
:
cc
.
Component
,
extends
:
cc
.
Component
,
...
@@ -981,6 +981,8 @@ cc.Class({
...
@@ -981,6 +981,8 @@ cc.Class({
initData
()
{
initData
()
{
console
.
log
(
'
in initData
'
);
console
.
log
(
'
in initData
'
);
this
.
starPoolArr
=
[];
this
.
CHECK_TYPE_LINE
=
'
LINE
'
;
this
.
CHECK_TYPE_LINE
=
'
LINE
'
;
this
.
CHECK_TYPE_WRITE
=
'
WRITE
'
;
this
.
CHECK_TYPE_WRITE
=
'
WRITE
'
;
...
@@ -1286,9 +1288,7 @@ cc.Class({
...
@@ -1286,9 +1288,7 @@ cc.Class({
playAudio
(
this
.
btnClip
,
()
=>
{
})
},
},
...
@@ -1307,6 +1307,11 @@ cc.Class({
...
@@ -1307,6 +1307,11 @@ cc.Class({
cc
.
tween
(
quesBg
)
cc
.
tween
(
quesBg
)
.
by
(
time
/
8
,
{
y
:
-
30
},
{
easing
:
"
sineInOut
"
})
.
by
(
time
/
8
,
{
y
:
-
30
},
{
easing
:
"
sineInOut
"
})
.
call
(()
=>
{
playAudio
(
this
.
btnClip
,
()
=>
{
})
})
.
to
(
time
/
3
,
{
y
:
targetY
},
{
easing
:
"
sineInOut
"
})
.
to
(
time
/
3
,
{
y
:
targetY
},
{
easing
:
"
sineInOut
"
})
// .to(time / 8, {y: targetY + 10}, {easing:"sineInOut"})
// .to(time / 8, {y: targetY + 10}, {easing:"sineInOut"})
...
@@ -1363,6 +1368,93 @@ cc.Class({
...
@@ -1363,6 +1368,93 @@ cc.Class({
},
},
showBgStar
()
{
this
.
particleLayer
=
new
cc
.
Node
();
this
.
canvas
.
addChild
(
this
.
particleLayer
);
this
.
playOneStar
();
},
getStarParticle
()
{
let
star
if
(
this
.
starPoolArr
.
length
==
0
)
{
star
=
getSprNode
(
"
bg_star
"
);
this
.
particleLayer
.
addChild
(
star
);
}
else
{
star
=
this
.
starPoolArr
.
pop
();
}
return
star
;
},
playOneStar
()
{
const
star
=
this
.
getStarParticle
();
const
pos
=
this
.
getParticlePos
();
const
scale
=
this
.
getParticleScale
();
const
rSpeed
=
this
.
getParticleRSpeed
();
const
angle
=
this
.
getPatticleAngle
();
star
.
scale
=
scale
;
star
.
angle
=
angle
;
const
len
=
Math
.
max
(
star
.
width
,
star
.
height
);
star
.
x
=
pos
.
x
-
len
/
2
*
star
.
scale
;
star
.
y
=
pos
.
y
;
const
edgeLen
=
Math
.
max
(
this
.
canvas
.
width
,
this
.
canvas
.
height
);
const
targetAngle
=
getAngleByPos
(
0
,
0
,
this
.
canvas
.
width
,
-
this
.
canvas
.
height
);
const
targetPos
=
getPosByAngle
(
targetAngle
,
edgeLen
*
2
);
star
.
opacity
=
255
;
const
time
=
60
;
cc
.
tween
(
star
)
.
by
(
time
,
{
x
:
targetPos
.
x
,
y
:
targetPos
.
y
,
rotation
:
rSpeed
*
edgeLen
})
.
call
(()
=>
{
this
.
starPoolArr
.
push
(
star
);
star
.
opacity
=
0
;
})
.
start
();
delayCall
(
5
,
()
=>
{
this
.
playOneStar
();
})
},
getPatticleAngle
()
{
return
Math
.
random
()
*
360
;
},
getParticleRSpeed
()
{
return
0.1
+
Math
.
random
()
*
0.3
;
},
getParticleScale
()
{
return
0.3
+
Math
.
random
()
*
0.7
;
},
getParticlePos
()
{
let
x
=
-
this
.
canvas
.
width
/
2
;
let
y
;
if
(
this
.
lastPY
!=
null
)
{
if
(
this
.
lastPY
<
-
this
.
canvas
.
height
/
2
)
{
y
=
this
.
canvas
.
height
/
2
-
Math
.
random
()
*
this
.
canvas
.
height
;
}
else
{
y
=
-
this
.
canvas
.
height
/
2
-
Math
.
random
()
*
this
.
canvas
.
height
;
}
}
else
{
y
=
this
.
canvas
.
height
/
2
-
Math
.
random
()
*
this
.
canvas
.
height
*
2
;
}
this
.
lastPY
=
y
;
return
{
x
,
y
};
},
initBg
()
{
initBg
()
{
...
@@ -1378,11 +1470,13 @@ cc.Class({
...
@@ -1378,11 +1470,13 @@ cc.Class({
const
bg
=
cc
.
find
(
"
Canvas/bg
"
);
const
bg
=
cc
.
find
(
"
Canvas/bg
"
);
bg
.
scale
=
this
.
_mapScaleMax
;
bg
.
scale
=
this
.
_mapScaleMax
;
this
.
showBgStar
();
const
quesBg
=
cc
.
find
(
"
Canvas/ques_bg
"
);
const
quesBg
=
cc
.
find
(
"
Canvas/ques_bg
"
);
quesBg
.
y
=
this
.
canvas
.
height
/
2
;
quesBg
.
y
=
this
.
canvas
.
height
/
2
;
quesBg
.
baseY
=
quesBg
.
y
;
quesBg
.
baseY
=
quesBg
.
y
;
this
.
quesBg
=
quesBg
;
this
.
quesBg
=
quesBg
;
quesBg
.
zIndex
=
5
;
if
(
this
.
isVertical
)
{
if
(
this
.
isVertical
)
{
quesBg
.
scale
*=
1.5
;
quesBg
.
scale
*=
1.5
;
...
@@ -1396,6 +1490,7 @@ cc.Class({
...
@@ -1396,6 +1490,7 @@ cc.Class({
labelNode
.
color
=
cc
.
Color
.
fromHEX
(
new
cc
.
Color
(),
'
#2e4190
'
)
labelNode
.
color
=
cc
.
Color
.
fromHEX
(
new
cc
.
Color
(),
'
#2e4190
'
)
labelNode
.
y
=
-
quesBg
.
height
*
quesBg
.
anchorY
+
250
;
labelNode
.
y
=
-
quesBg
.
height
*
quesBg
.
anchorY
+
250
;
this
.
quesLabel
=
labelNode
.
getComponent
(
cc
.
Label
);
this
.
quesLabel
=
labelNode
.
getComponent
(
cc
.
Label
);
labelNode
.
zIndex
=
5
;
quesBg
.
addChild
(
labelNode
);
quesBg
.
addChild
(
labelNode
);
...
@@ -1706,18 +1801,28 @@ cc.Class({
...
@@ -1706,18 +1801,28 @@ cc.Class({
})
})
},
},
initRightIcon
()
{
initRightAnim
()
{
const
rightIcon
=
getSprNode
(
"
right
"
);
// const rightIcon = getSprNode("right");
this
.
canvas
.
addChild
(
rightIcon
,
5
);
// this.canvas.addChild(rightIcon, 5);
// const pos = exchangeNodePos(this.canvas, this.quesLabel.node);
// rightIcon.x = pos.x;
// rightIcon.y = pos.y - 20;
// this.rightIcon = rightIcon;
const
rightAnimNode
=
cc
.
instantiate
(
cc
.
find
(
"
Canvas/res/anim/light
"
)
);
const
pos
=
exchangeNodePos
(
this
.
canvas
,
this
.
quesLabel
.
node
);
const
pos
=
exchangeNodePos
(
this
.
canvas
,
this
.
quesLabel
.
node
);
rightIcon
.
x
=
pos
.
x
;
const
rightAnim
=
rightAnimNode
.
getComponent
(
dragonBones
.
ArmatureDisplay
);
rightIcon
.
y
=
pos
.
y
-
20
;
rightAnimNode
.
x
=
pos
.
x
;
this
.
rightIcon
=
rightIcon
;
rightAnimNode
.
y
=
pos
.
y
-
220
;
this
.
canvas
.
addChild
(
rightAnimNode
,
5
);
this
.
rightAnim
=
rightAnim
;
},
},
showRight
(
optionItem
)
{
showRight
(
optionItem
)
{
console
.
log
(
'
show right
'
);
console
.
log
(
'
show right
'
);
if
(
!
this
.
right
Icon
)
{
if
(
!
this
.
right
Anim
)
{
this
.
initRight
Icon
();
this
.
initRight
Anim
();
}
}
// this.disappearAnim(optionItem)
// this.disappearAnim(optionItem)
...
@@ -1729,13 +1834,15 @@ cc.Class({
...
@@ -1729,13 +1834,15 @@ cc.Class({
optionItem
.
active
=
false
;
optionItem
.
active
=
false
;
})
})
this
.
rightIcon
.
active
=
true
;
// this.rightIcon.active = true;
this
.
rightAnim
.
playAnimation
(
'
newAnimation
'
,
1
);
this
.
appearAnim
(
this
.
rightIcon
,
0.3
);
delayCall
(
0.7
,
()
=>
{
// this.appearAnim(this.rightIcon, 0.3);
this
.
disappearAnim
(
this
.
rightIcon
,
0.3
);
})
// delayCall(0.7, () => {
// this.disappearAnim(this.rightIcon, 0.3);
// })
this
.
addScore
()
this
.
addScore
()
...
@@ -1763,9 +1870,13 @@ cc.Class({
...
@@ -1763,9 +1870,13 @@ cc.Class({
this
.
scoreNumSpr
.
active
=
true
;
this
.
scoreNumSpr
.
active
=
true
;
this
.
scoreNumSpr
.
opacity
=
0
;
this
.
scoreNumSpr
.
opacity
=
0
;
// this.scoreNumSpr.opacity = 255;
this
.
scoreNumSpr
.
x
=
this
.
rightAnim
.
node
.
x
;
this
.
scoreNumSpr
.
y
=
this
.
rightAnim
.
node
.
y
+
195
;
// return;
this
.
scoreNumSpr
.
x
=
this
.
rightIcon
.
x
;
this
.
scoreNumSpr
.
y
=
this
.
rightIcon
.
y
+
25
;
cc
.
tween
(
this
.
scoreNumSpr
)
cc
.
tween
(
this
.
scoreNumSpr
)
.
to
(
0.3
,
{
opacity
:
255
},
{
easing
:
"
cubicIn
"
})
.
to
(
0.3
,
{
opacity
:
255
},
{
easing
:
"
cubicIn
"
})
...
@@ -1829,6 +1940,7 @@ cc.Class({
...
@@ -1829,6 +1940,7 @@ cc.Class({
this
.
hideCurQues
(()
=>
{
this
.
hideCurQues
(()
=>
{
this
.
showCurQues
();
this
.
showCurQues
();
});
});
},
},
...
...
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