Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MRBR05
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
MRBR05
Commits
71353c0b
Commit
71353c0b
authored
May 22, 2022
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
5.22调整
parent
fd39dca4
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
160 additions
and
151 deletions
+160
-151
mrbr05_layout_mouse.ts
assets/MRBR05/mouse/small/mrbr05_layout_mouse.ts
+3
-0
MRBR05.fire
assets/MRBR05/scene/MRBR05.fire
+143
-143
MRBR05.ts
assets/MRBR05/scene/MRBR05.ts
+3
-1
OptionItem.ts
assets/MRBR05/scene/OptionItem.ts
+1
-1
defaultData.ts
assets/MRBR05/script/defaultData.ts
+8
-6
creator.d.ts
creator.d.ts
+2
-0
No files found.
assets/MRBR05/mouse/small/mrbr05_layout_mouse.ts
View file @
71353c0b
...
@@ -52,8 +52,11 @@ export default class NewClass extends cc.Component {
...
@@ -52,8 +52,11 @@ export default class NewClass extends cc.Component {
this
.
cleanStar
();
this
.
cleanStar
();
this
.
bigStarArr
=
[];
this
.
bigStarArr
=
[];
let
size
=
cc
.
view
.
getCanvasSize
();
let
scale
=
(
size
.
width
/
size
.
height
)
/
(
1280
/
720
);
let
baseX
=
this
.
position
.
x
;
let
baseX
=
this
.
position
.
x
;
if
(
scale
>
1
)
baseX
=
baseX
*
(
Math
.
floor
(
scale
*
100
)
/
100
);
let
baseY
=
this
.
position
.
y
;
let
baseY
=
this
.
position
.
y
;
let
disW
=
80
;
// * this._mapScaleMin
let
disW
=
80
;
// * this._mapScaleMin
// let disH = 80 * this._mapScaleMin;
// let disH = 80 * this._mapScaleMin;
...
...
assets/MRBR05/scene/MRBR05.fire
View file @
71353c0b
...
@@ -87,13 +87,13 @@
...
@@ -87,13 +87,13 @@
"__id__": 17
"__id__": 17
},
},
{
{
"__id__":
23
"__id__":
18
},
},
{
{
"__id__":
37
"__id__":
24
},
},
{
{
"__id__":
5
8
"__id__":
3
8
},
},
{
{
"__id__": 59
"__id__": 59
...
@@ -759,6 +759,64 @@
...
@@ -759,6 +759,64 @@
"_originalHeight": 720,
"_originalHeight": 720,
"_id": "56RNdTwRJFjLH5FSKtay12"
"_id": "56RNdTwRJFjLH5FSKtay12"
},
},
{
"__type__": "cc.Node",
"_name": "layout",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_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": "993yCys49KoZWz8uKUUDXI"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "top",
"_name": "top",
...
@@ -768,16 +826,16 @@
...
@@ -768,16 +826,16 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 1
8
"__id__": 1
9
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
1
"__id__": 2
2
},
},
{
{
"__id__": 2
2
"__id__": 2
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -833,16 +891,16 @@
...
@@ -833,16 +891,16 @@
"_name": "label",
"_name": "label",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
7
"__id__": 1
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
19
"__id__":
20
},
},
{
{
"__id__": 2
0
"__id__": 2
1
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -898,7 +956,7 @@
...
@@ -898,7 +956,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
8
"__id__": 1
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -933,7 +991,7 @@
...
@@ -933,7 +991,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
8
"__id__": 1
9
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -951,7 +1009,7 @@
...
@@ -951,7 +1009,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
7
"__id__": 1
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -983,7 +1041,7 @@
...
@@ -983,7 +1041,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
7
"__id__": 1
8
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1014,31 +1072,31 @@
...
@@ -1014,31 +1072,31 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 2
4
"__id__": 2
5
},
},
{
{
"__id__": 2
6
"__id__": 2
7
},
},
{
{
"__id__": 2
8
"__id__": 2
9
},
},
{
{
"__id__": 3
0
"__id__": 3
1
},
},
{
{
"__id__": 3
2
"__id__": 3
3
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
"__id__": 34
},
{
{
"__id__": 35
"__id__": 35
},
},
{
{
"__id__": 36
"__id__": 36
},
{
"__id__": 37
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1094,13 +1152,13 @@
...
@@ -1094,13 +1152,13 @@
"_name": "btn_laba_off",
"_name": "btn_laba_off",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
3
"__id__": 2
4
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 2
5
"__id__": 2
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1156,7 +1214,7 @@
...
@@ -1156,7 +1214,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
4
"__id__": 2
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1188,13 +1246,13 @@
...
@@ -1188,13 +1246,13 @@
"_name": "btn_laba_on",
"_name": "btn_laba_on",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
3
"__id__": 2
4
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 2
7
"__id__": 2
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1250,7 +1308,7 @@
...
@@ -1250,7 +1308,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
6
"__id__": 2
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1282,13 +1340,13 @@
...
@@ -1282,13 +1340,13 @@
"_name": "img_1",
"_name": "img_1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
3
"__id__": 2
4
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
29
"__id__":
30
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1344,7 +1402,7 @@
...
@@ -1344,7 +1402,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
8
"__id__": 2
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1376,13 +1434,13 @@
...
@@ -1376,13 +1434,13 @@
"_name": "img_2",
"_name": "img_2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
3
"__id__": 2
4
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
1
"__id__": 3
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1438,7 +1496,7 @@
...
@@ -1438,7 +1496,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
0
"__id__": 3
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1470,13 +1528,13 @@
...
@@ -1470,13 +1528,13 @@
"_name": "img_3",
"_name": "img_3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 2
3
"__id__": 2
4
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
3
"__id__": 3
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1532,7 +1590,7 @@
...
@@ -1532,7 +1590,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
2
"__id__": 3
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1564,7 +1622,7 @@
...
@@ -1564,7 +1622,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
3
"__id__": 2
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1596,7 +1654,7 @@
...
@@ -1596,7 +1654,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
3
"__id__": 2
4
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -1623,7 +1681,7 @@
...
@@ -1623,7 +1681,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 2
3
"__id__": 2
4
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -1695,25 +1753,25 @@
...
@@ -1695,25 +1753,25 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 3
8
"__id__": 3
9
},
},
{
{
"__id__": 4
0
"__id__": 4
1
},
},
{
{
"__id__": 4
2
"__id__": 4
3
},
},
{
{
"__id__": 4
6
"__id__": 4
7
},
},
{
{
"__id__": 5
4
"__id__": 5
5
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
7
"__id__": 5
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1769,13 +1827,13 @@
...
@@ -1769,13 +1827,13 @@
"_name": "Background",
"_name": "Background",
"_objFlags": 512,
"_objFlags": 512,
"_parent": {
"_parent": {
"__id__": 3
7
"__id__": 3
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
39
"__id__":
40
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1831,7 +1889,7 @@
...
@@ -1831,7 +1889,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
8
"__id__": 3
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1863,13 +1921,13 @@
...
@@ -1863,13 +1921,13 @@
"_name": "checkmark",
"_name": "checkmark",
"_objFlags": 512,
"_objFlags": 512,
"_parent": {
"_parent": {
"__id__": 3
7
"__id__": 3
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 4
1
"__id__": 4
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1925,7 +1983,7 @@
...
@@ -1925,7 +1983,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
0
"__id__": 4
1
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1957,17 +2015,17 @@
...
@@ -1957,17 +2015,17 @@
"_name": "g_img",
"_name": "g_img",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
7
"__id__": 3
8
},
},
"_children": [
"_children": [
{
{
"__id__": 4
3
"__id__": 4
4
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 4
5
"__id__": 4
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2023,13 +2081,13 @@
...
@@ -2023,13 +2081,13 @@
"_name": "head",
"_name": "head",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
2
"__id__": 4
3
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
4
"__id__": 4
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2085,7 +2143,7 @@
...
@@ -2085,7 +2143,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
3
"__id__": 4
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2117,7 +2175,7 @@
...
@@ -2117,7 +2175,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
2
"__id__": 4
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2149,17 +2207,17 @@
...
@@ -2149,17 +2207,17 @@
"_name": "g_imgText",
"_name": "g_imgText",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
7
"__id__": 3
8
},
},
"_children": [
"_children": [
{
{
"__id__": 4
7
"__id__": 4
8
},
},
{
{
"__id__":
49
"__id__":
50
},
},
{
{
"__id__": 5
1
"__id__": 5
2
}
}
],
],
"_active": false,
"_active": false,
...
@@ -2217,13 +2275,13 @@
...
@@ -2217,13 +2275,13 @@
"_name": "New Sprite",
"_name": "New Sprite",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
6
"__id__": 4
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
8
"__id__": 4
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2279,7 +2337,7 @@
...
@@ -2279,7 +2337,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
7
"__id__": 4
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2311,13 +2369,13 @@
...
@@ -2311,13 +2369,13 @@
"_name": "head",
"_name": "head",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
6
"__id__": 4
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
0
"__id__": 5
1
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2373,7 +2431,7 @@
...
@@ -2373,7 +2431,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
49
"__id__":
50
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2405,16 +2463,16 @@
...
@@ -2405,16 +2463,16 @@
"_name": "Label",
"_name": "Label",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
6
"__id__": 4
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 5
2
"__id__": 5
3
},
},
{
{
"__id__": 5
3
"__id__": 5
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2470,7 +2528,7 @@
...
@@ -2470,7 +2528,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
1
"__id__": 5
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2482,8 +2540,8 @@
...
@@ -2482,8 +2540,8 @@
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_string": "Orange",
"_string": "Orange",
"_N$string": "Orange",
"_N$string": "Orange",
"_fontSize":
5
0,
"_fontSize":
6
0,
"_lineHeight":
5
0,
"_lineHeight":
6
0,
"_enableWrapText": true,
"_enableWrapText": true,
"_N$file": {
"_N$file": {
"__uuid__": "6803f51f-9cdb-4610-bf64-0e423061bfd1"
"__uuid__": "6803f51f-9cdb-4610-bf64-0e423061bfd1"
...
@@ -2505,7 +2563,7 @@
...
@@ -2505,7 +2563,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
1
"__id__": 5
2
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -2523,16 +2581,16 @@
...
@@ -2523,16 +2581,16 @@
"_name": "g_label",
"_name": "g_label",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 3
7
"__id__": 3
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 5
5
"__id__": 5
6
},
},
{
{
"__id__": 5
6
"__id__": 5
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2547,7 +2605,7 @@
...
@@ -2547,7 +2605,7 @@
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 300,
"width": 300,
"height":
6
9
"height":
87.
9
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -2588,7 +2646,7 @@
...
@@ -2588,7 +2646,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
4
"__id__": 5
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2600,8 +2658,8 @@
...
@@ -2600,8 +2658,8 @@
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_string": "",
"_string": "",
"_N$string": "",
"_N$string": "",
"_fontSize":
5
0,
"_fontSize":
8
0,
"_lineHeight":
5
0,
"_lineHeight":
8
0,
"_enableWrapText": true,
"_enableWrapText": true,
"_N$file": {
"_N$file": {
"__uuid__": "6803f51f-9cdb-4610-bf64-0e423061bfd1"
"__uuid__": "6803f51f-9cdb-4610-bf64-0e423061bfd1"
...
@@ -2623,7 +2681,7 @@
...
@@ -2623,7 +2681,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
4
"__id__": 5
5
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -2641,7 +2699,7 @@
...
@@ -2641,7 +2699,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
7
"__id__": 3
8
},
},
"_enabled": true,
"_enabled": true,
"errorClip": {
"errorClip": {
...
@@ -2655,64 +2713,6 @@
...
@@ -2655,64 +2713,6 @@
},
},
"_id": "0fzNKIi75ER5v+Pm25SnqN"
"_id": "0fzNKIi75ER5v+Pm25SnqN"
},
},
{
"__type__": "cc.Node",
"_name": "layout",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_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": "993yCys49KoZWz8uKUUDXI"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "mouse_end",
"_name": "mouse_end",
...
@@ -4228,7 +4228,7 @@
...
@@ -4228,7 +4228,7 @@
},
},
"_enabled": true,
"_enabled": true,
"item": {
"item": {
"__id__": 3
7
"__id__": 3
8
},
},
"_id": "eaTVUpqahPfZeO9+sUI7RP"
"_id": "eaTVUpqahPfZeO9+sUI7RP"
}
}
...
...
assets/MRBR05/scene/MRBR05.ts
View file @
71353c0b
...
@@ -57,11 +57,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -57,11 +57,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg
.
event
.
on
(
"
mrbr05_click_right
"
,
()
=>
{
pg
.
event
.
on
(
"
mrbr05_click_right
"
,
()
=>
{
this
.
roundIdx
++
;
this
.
roundIdx
++
;
pg
.
event
.
emit
(
"
mouse_add
"
,
()
=>
{
});
pg
.
event
.
emit
(
"
mouse_add
"
,
()
=>
{
});
this
.
showGame
();
})
})
pg
.
event
.
on
(
"
mouse_start_play_success
"
,
()
=>
{
pg
.
event
.
on
(
"
mouse_start_play_success
"
,
()
=>
{
this
.
playLaba
();
this
.
playLaba
();
})
})
pg
.
event
.
on
(
"
mouse_num_game_end
"
,
()
=>
{
this
.
showGame
();
})
this
.
btn_laba
=
cc
.
find
(
"
btn_laba
"
,
this
.
node
);
this
.
btn_laba
=
cc
.
find
(
"
btn_laba
"
,
this
.
node
);
this
.
btn_laba
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
playLaba
,
this
);
this
.
btn_laba
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
playLaba
,
this
);
...
...
assets/MRBR05/scene/OptionItem.ts
View file @
71353c0b
...
@@ -63,7 +63,7 @@ export default class OptionItem extends cc.Component {
...
@@ -63,7 +63,7 @@ export default class OptionItem extends cc.Component {
g_imgText
.
active
=
true
;
g_imgText
.
active
=
true
;
let
head
=
g_imgText
.
getChildByName
(
"
head
"
);
let
head
=
g_imgText
.
getChildByName
(
"
head
"
);
let
Label
=
g_imgText
.
getChildByName
(
"
Label
"
);
let
Label
=
g_imgText
.
getChildByName
(
"
Label
"
);
pg
.
view
.
setNetImg
(
head
,
data
.
pic_url
,
{
w
:
2
45
,
h
:
160
});
pg
.
view
.
setNetImg
(
head
,
data
.
pic_url
,
{
w
:
2
05
,
h
:
135
});
Label
.
getComponent
(
cc
.
Label
).
string
=
data
.
text
;
Label
.
getComponent
(
cc
.
Label
).
string
=
data
.
text
;
}
}
private
itemError
(
item
)
{
private
itemError
(
item
)
{
...
...
assets/MRBR05/script/defaultData.ts
View file @
71353c0b
...
@@ -12,7 +12,7 @@ export const defaultData = {
...
@@ -12,7 +12,7 @@ export const defaultData = {
"
questionType
"
:
"
text
"
,
"
questionType
"
:
"
text
"
,
"
answerType
"
:
"
text
"
,
"
answerType
"
:
"
text
"
,
"
answerArr
"
:
[{
"
answerArr
"
:
[{
"
text
"
:
"
54333
"
,
"
text
"
:
"
gfdd
"
,
"
pic_url
"
:
""
,
"
pic_url
"
:
""
,
"
answerRight
"
:
"
1
"
"
answerRight
"
:
"
1
"
},
{
},
{
...
@@ -50,15 +50,15 @@ export const defaultData = {
...
@@ -50,15 +50,15 @@ export const defaultData = {
"
questionType
"
:
"
text
"
,
"
questionType
"
:
"
text
"
,
"
answerType
"
:
"
picText
"
,
"
answerType
"
:
"
picText
"
,
"
answerArr
"
:
[{
"
answerArr
"
:
[{
"
text
"
:
"
123
"
,
"
text
"
:
"
how
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/7780195055731416480edbc97072fe5b.png
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/7780195055731416480edbc97072fe5b.png
"
,
"
answerRight
"
:
"
0
"
"
answerRight
"
:
"
0
"
},
{
},
{
"
text
"
:
"
5435
"
,
"
text
"
:
"
hell
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/4286c34a3b69bf7baea3847ec04b05b7.png
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/4286c34a3b69bf7baea3847ec04b05b7.png
"
,
"
answerRight
"
:
"
0
"
"
answerRight
"
:
"
0
"
},
{
},
{
"
text
"
:
"
688
"
,
"
text
"
:
"
bbbb
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/2eb2c2a688d66ac6aa9cb6aaa81a0859.png
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/2eb2c2a688d66ac6aa9cb6aaa81a0859.png
"
,
"
answerRight
"
:
"
1
"
"
answerRight
"
:
"
1
"
},
{
},
{
...
@@ -66,7 +66,8 @@ export const defaultData = {
...
@@ -66,7 +66,8 @@ export const defaultData = {
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/4dc62cd150d6cbb06febbb22bc5f6f37.png
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/4dc62cd150d6cbb06febbb22bc5f6f37.png
"
,
"
answerRight
"
:
"
0
"
"
answerRight
"
:
"
0
"
}
}
]
],
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/fb08783926362bf64232e2ec6966011d.mp3
"
}
}
]
]
},
{
},
{
...
@@ -90,7 +91,8 @@ export const defaultData = {
...
@@ -90,7 +91,8 @@ export const defaultData = {
"
pic_url
"
:
""
,
"
pic_url
"
:
""
,
"
answerRight
"
:
"
1
"
"
answerRight
"
:
"
1
"
}
}
]
],
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/fb08783926362bf64232e2ec6966011d.mp3
"
}
}
]
]
}
}
...
...
creator.d.ts
View file @
71353c0b
...
@@ -4589,6 +4589,8 @@ declare namespace cc {
...
@@ -4589,6 +4589,8 @@ declare namespace cc {
!#zh 获取节点正前方(z 轴)面对的方向,返回值为世界坐标系下的归一化向量 */
!#zh 获取节点正前方(z 轴)面对的方向,返回值为世界坐标系下的归一化向量 */
forward
:
Vec3
;
forward
:
Vec3
;
audioClip
:
any
;
audioClip
:
any
;
starBig
:
any
;
star
:
Node
;
/**
/**
@param name name
@param name name
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