Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
interactiveGames_Level
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
xuxing@jiuaoedu.com
interactiveGames_Level
Commits
7851970a
Commit
7851970a
authored
Feb 10, 2022
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
锯齿数独改好了
parent
3ab4dced
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
898 additions
and
331 deletions
+898
-331
Sudoku_1.scene
assets/sceneBundle/games/sudoku/scene/Sudoku_1.scene
+886
-329
SudokuCtr.ts
assets/sceneBundle/games/sudoku/script/SudokuCtr.ts
+12
-2
No files found.
assets/sceneBundle/games/sudoku/scene/Sudoku_1.scene
View file @
7851970a
...
@@ -27,11 +27,11 @@
...
@@ -27,11 +27,11 @@
"_active": true,
"_active": true,
"_components": [],
"_components": [],
"_prefab": {
"_prefab": {
"__id__": 1
5
6
"__id__": 1
7
6
},
},
"autoReleaseAssets": false,
"autoReleaseAssets": false,
"_globals": {
"_globals": {
"__id__": 1
5
7
"__id__": 1
7
7
},
},
"_id": "2fa5cb6f-32a4-47a2-afd9-b6c3532d1301"
"_id": "2fa5cb6f-32a4-47a2-afd9-b6c3532d1301"
},
},
...
@@ -211,25 +211,25 @@
...
@@ -211,25 +211,25 @@
"__id__": 16
"__id__": 16
},
},
{
{
"__id__": 1
0
8
"__id__": 1
2
8
},
},
{
{
"__id__": 1
3
1
"__id__": 1
5
1
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
4
9
"__id__": 1
6
9
},
},
{
{
"__id__": 1
5
1
"__id__": 1
7
1
},
},
{
{
"__id__": 1
5
3
"__id__": 1
7
3
},
},
{
{
"__id__": 1
5
5
"__id__": 1
7
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -317,7 +317,7 @@
...
@@ -317,7 +317,7 @@
"_priority": 1073741824,
"_priority": 1073741824,
"_fov": 45,
"_fov": 45,
"_fovAxis": 0,
"_fovAxis": 0,
"_orthoHeight": 375,
"_orthoHeight": 375
.00000000000006
,
"_near": 1,
"_near": 1,
"_far": 2000,
"_far": 2000,
"_color": {
"_color": {
...
@@ -510,19 +510,19 @@
...
@@ -510,19 +510,19 @@
"__id__": 22
"__id__": 22
},
},
{
{
"__id__":
4
9
"__id__":
6
9
},
},
{
{
"__id__":
9
1
"__id__":
11
1
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
0
6
"__id__": 1
2
6
},
},
{
{
"__id__": 1
0
7
"__id__": 1
2
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -681,24 +681,27 @@
...
@@ -681,24 +681,27 @@
"_children": [
"_children": [
{
{
"__id__": 23
"__id__": 23
},
{
"__id__": 44
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
4
4
"__id__":
6
4
},
},
{
{
"__id__":
4
6
"__id__":
6
6
},
},
{
{
"__id__":
4
8
"__id__":
6
8
}
}
],
],
"_prefab": null,
"_prefab": null,
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x":
4
0,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
...
@@ -754,7 +757,7 @@
...
@@ -754,7 +757,7 @@
"_prefab": null,
"_prefab": null,
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x":
-4
0,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
...
@@ -1286,170 +1289,37 @@
...
@@ -1286,170 +1289,37 @@
"handler": "onFillNumClick",
"handler": "onFillNumClick",
"customEventData": ""
"customEventData": ""
},
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 45
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "2fJXOKv4lLM7koO98qlpNW"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "71F9vsVsZH7ZFd+PpN0azA"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 47
},
"_resizeMode": 1,
"_layoutType": 1,
"_cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_startAxis": 0,
"_paddingLeft": 0,
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX": 20,
"_spacingY": 0,
"_verticalDirection": 1,
"_horizontalDirection": 0,
"_constraint": 0,
"_constraintNum": 2,
"_affectedByScale": false,
"_isAlign": false,
"_id": "7bQU8Lg5lL1pT1L2aMgjy8"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "eaGEkmlCpANK+GS6CImtZa"
},
{
"__type__": "cc.ToggleContainer",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": null,
"_allowSwitchOff": false,
"checkEvents": [],
"_id": "4f+bOA+qFMCKommrFtbBHa"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
stationeryOptsNode
",
"_name": "
hideTog
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
16
"__id__":
22
},
},
"_children": [
"_children": [
{
{
"__id__": 50
"__id__": 45
},
{
"__id__": 69
}
],
"_active": true,
"_components": [
{
"__id__": 88
},
{
"__id__": 89
},
{
"__id__": 90
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -100,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "33qzcIdkpB3ruGdzsSWYPE"
},
{
"__type__": "cc.Node",
"_name": "pencilTog",
"_objFlags": 0,
"_parent": {
"__id__": 49
},
},
"_children": [
{
{
"__id__": 51
"__id__": 51
},
},
{
{
"__id__": 56
"__id__": 57
},
{
"__id__": 61
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 6
6
"__id__": 6
2
},
},
{
{
"__id__": 6
7
"__id__": 6
3
}
}
],
],
"_prefab": null,
"_prefab": null,
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x":
-55
,
"x":
40
,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
...
@@ -1466,30 +1336,33 @@
...
@@ -1466,30 +1336,33 @@
"y": 1,
"y": 1,
"z": 1
"z": 1
},
},
"_layer":
33554432
,
"_layer":
1073741824
,
"_euler": {
"_euler": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x": 0,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
"_id": "
91J+TLDCRKg5DGfciLKCKF
"
"_id": "
3atK0bKZZGNqbZYqYyyvsA
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "bottomSpr",
"_name": "bottomSpr",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
50
"__id__":
44
},
},
"_children": [],
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__":
52
"__id__":
46
},
},
{
{
"__id__": 54
"__id__": 48
},
{
"__id__": 50
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1512,37 +1385,37 @@
...
@@ -1512,37 +1385,37 @@
"y": 1,
"y": 1,
"z": 1
"z": 1
},
},
"_layer":
33554432
,
"_layer":
1073741824
,
"_euler": {
"_euler": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x": 0,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
"_id": "
09Sa1S0klPsKzuVcKoHw2o
"
"_id": "
38e9LY9tJH95spnOl0up6y
"
},
},
{
{
"__type__": "cc.UITransform",
"__type__": "cc.UITransform",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
51
"__id__":
45
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
53
"__id__":
47
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
8
0,
"width":
6
0,
"height":
8
0
"height":
6
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
"x": 0.5,
"x": 0.5,
"y": 0.5
"y": 0.5
},
},
"_id": "
9a8aQjvNJMN62Ztq8s2t7s
"
"_id": "
11wRfW1j9Fj4PnpV8dXJy+
"
},
},
{
{
"__type__": "cc.CompPrefabInfo",
"__type__": "cc.CompPrefabInfo",
...
@@ -1553,11 +1426,11 @@
...
@@ -1553,11 +1426,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
51
"__id__":
45
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
55
"__id__":
49
},
},
"_visFlags": 0,
"_visFlags": 0,
"_customMaterial": null,
"_customMaterial": null,
...
@@ -1587,27 +1460,59 @@
...
@@ -1587,27 +1460,59 @@
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_useGrayscale": false,
"_atlas": null,
"_atlas": null,
"_id": "
17at29lgJAd6r1+Q9/TL6S
"
"_id": "
7a9IkOF/1NBrhXu30+KX1e
"
},
},
{
{
"__type__": "cc.CompPrefabInfo",
"__type__": "cc.CompPrefabInfo",
"fileId": "20UGQn4U9GUoln0NJQTkbG"
"fileId": "20UGQn4U9GUoln0NJQTkbG"
},
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "3cj+44rYNK8LED7WDmvPr7"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "topSpr",
"_name": "topSpr",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
50
"__id__":
44
},
},
"_children": [],
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__": 5
7
"__id__": 5
2
},
},
{
{
"__id__": 59
"__id__": 54
},
{
"__id__": 56
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1630,37 +1535,37 @@
...
@@ -1630,37 +1535,37 @@
"y": 1,
"y": 1,
"z": 1
"z": 1
},
},
"_layer":
33554432
,
"_layer":
1073741824
,
"_euler": {
"_euler": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x": 0,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
"_id": "
07gqafwgZK+aQ2W8VeTwCv
"
"_id": "
6fMrfncjZOtIfCqyIcC+SP
"
},
},
{
{
"__type__": "cc.UITransform",
"__type__": "cc.UITransform",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 5
6
"__id__": 5
1
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 5
8
"__id__": 5
3
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
8
0,
"width":
6
0,
"height":
8
0
"height":
6
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
"x": 0.5,
"x": 0.5,
"y": 0.5
"y": 0.5
},
},
"_id": "
94khH11/xJariyYBmEyIrH
"
"_id": "
395KZduj1CapohRtINNyiJ
"
},
},
{
{
"__type__": "cc.CompPrefabInfo",
"__type__": "cc.CompPrefabInfo",
...
@@ -1671,11 +1576,657 @@
...
@@ -1671,11 +1576,657 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 56
"__id__": 51
},
"_enabled": true,
"__prefab": {
"__id__": 55
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 214,
"b": 102,
"a": 255
},
"_spriteFrame": {
"__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "730dEQdzpJ7oNIJJBnoKu7"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "20UGQn4U9GUoln0NJQTkbG"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "08OmLNkdRE6YgSkUq98F7L"
},
{
"__type__": "cc.Node",
"_name": "numLab",
"_objFlags": 0,
"_parent": {
"__id__": 44
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 58
},
{
"__id__": 60
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "83oqc0bnRMnbyT0bT1LW75"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
},
"_enabled": true,
"__prefab": {
"__id__": 59
},
"_contentSize": {
"__type__": "cc.Size",
"width": 22.25,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "94LcCXe3RJ4ba/tl1A0v50"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
},
"_enabled": true,
"__prefab": {
"__id__": 61
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "1",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_id": "e9v/6qUQFGyJuKvNx1NJQP"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2frm37uaJHQr0AEEaYyM82"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "17dGfJ4tpHyqs82Iv+r7Yi"
},
{
"__type__": "cc.Toggle",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
},
"_enabled": true,
"__prefab": null,
"clickEvents": [],
"_interactable": true,
"_transition": 0,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": null,
"checkEvents": [],
"_isChecked": false,
"_checkMark": {
"__id__": 54
},
"_id": "9fHXwI9+FEjLGNm8lyzQlS"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 65
},
"_contentSize": {
"__type__": "cc.Size",
"width": 140,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "2fJXOKv4lLM7koO98qlpNW"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "71F9vsVsZH7ZFd+PpN0azA"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 67
},
"_resizeMode": 1,
"_layoutType": 1,
"_cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_startAxis": 0,
"_paddingLeft": 0,
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX": 20,
"_spacingY": 0,
"_verticalDirection": 1,
"_horizontalDirection": 0,
"_constraint": 0,
"_constraintNum": 2,
"_affectedByScale": false,
"_isAlign": false,
"_id": "7bQU8Lg5lL1pT1L2aMgjy8"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "eaGEkmlCpANK+GS6CImtZa"
},
{
"__type__": "cc.ToggleContainer",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": null,
"_allowSwitchOff": false,
"checkEvents": [],
"_id": "4f+bOA+qFMCKommrFtbBHa"
},
{
"__type__": "cc.Node",
"_name": "stationeryOptsNode",
"_objFlags": 0,
"_parent": {
"__id__": 16
},
"_children": [
{
"__id__": 70
},
{
"__id__": 89
}
],
"_active": true,
"_components": [
{
"__id__": 108
},
{
"__id__": 109
},
{
"__id__": 110
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -100,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "33qzcIdkpB3ruGdzsSWYPE"
},
{
"__type__": "cc.Node",
"_name": "pencilTog",
"_objFlags": 0,
"_parent": {
"__id__": 69
},
"_children": [
{
"__id__": 71
},
{
"__id__": 76
},
{
"__id__": 81
}
],
"_active": false,
"_components": [
{
"__id__": 86
},
{
"__id__": 87
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": -55,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "91J+TLDCRKg5DGfciLKCKF"
},
{
"__type__": "cc.Node",
"_name": "bottomSpr",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 72
},
{
"__id__": 74
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "09Sa1S0klPsKzuVcKoHw2o"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 60
"__id__": 73
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "9a8aQjvNJMN62Ztq8s2t7s"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "55pCbtzR5GbojKMArZkfim"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
},
"_enabled": true,
"__prefab": {
"__id__": 75
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 30,
"g": 37,
"b": 51,
"a": 255
},
"_spriteFrame": {
"__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "17at29lgJAd6r1+Q9/TL6S"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "20UGQn4U9GUoln0NJQTkbG"
},
{
"__type__": "cc.Node",
"_name": "topSpr",
"_objFlags": 0,
"_parent": {
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 77
},
{
"__id__": 79
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "07gqafwgZK+aQ2W8VeTwCv"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
},
"_enabled": true,
"__prefab": {
"__id__": 78
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "94khH11/xJariyYBmEyIrH"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "55pCbtzR5GbojKMArZkfim"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
},
"_enabled": true,
"__prefab": {
"__id__": 80
},
},
"_visFlags": 0,
"_visFlags": 0,
"_customMaterial": null,
"_customMaterial": null,
...
@@ -1716,16 +2267,16 @@
...
@@ -1716,16 +2267,16 @@
"_name": "图标_铅笔",
"_name": "图标_铅笔",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
5
0
"__id__":
7
0
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
6
2
"__id__":
8
2
},
},
{
{
"__id__":
6
4
"__id__":
8
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1762,11 +2313,11 @@
...
@@ -1762,11 +2313,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
6
1
"__id__":
8
1
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
6
3
"__id__":
8
3
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -1789,11 +2340,11 @@
...
@@ -1789,11 +2340,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
6
1
"__id__":
8
1
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
6
5
"__id__":
8
5
},
},
"_visFlags": 0,
"_visFlags": 0,
"_customMaterial": null,
"_customMaterial": null,
...
@@ -1834,7 +2385,7 @@
...
@@ -1834,7 +2385,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
5
0
"__id__":
7
0
},
},
"_enabled": true,
"_enabled": true,
"__prefab": null,
"__prefab": null,
...
@@ -1855,13 +2406,13 @@
...
@@ -1855,13 +2406,13 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
5
0
"__id__":
7
0
},
},
"_enabled": true,
"_enabled": true,
"__prefab": null,
"__prefab": null,
"clickEvents": [
"clickEvents": [
{
{
"__id__":
6
8
"__id__":
8
8
}
}
],
],
"_interactable": true,
"_interactable": true,
...
@@ -1904,7 +2455,7 @@
...
@@ -1904,7 +2455,7 @@
"checkEvents": [],
"checkEvents": [],
"_isChecked": true,
"_isChecked": true,
"_checkMark": {
"_checkMark": {
"__id__":
5
9
"__id__":
7
9
},
},
"_id": "2bXxKct5dNYaELLek1Ohlc"
"_id": "2bXxKct5dNYaELLek1Ohlc"
},
},
...
@@ -1923,32 +2474,32 @@
...
@@ -1923,32 +2474,32 @@
"_name": "eraserTog",
"_name": "eraserTog",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
4
9
"__id__":
6
9
},
},
"_children": [
"_children": [
{
{
"__id__":
7
0
"__id__":
9
0
},
},
{
{
"__id__":
7
5
"__id__":
9
5
},
},
{
{
"__id__":
8
0
"__id__":
10
0
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
8
5
"__id__":
10
5
},
},
{
{
"__id__":
8
6
"__id__":
10
6
}
}
],
],
"_prefab": null,
"_prefab": null,
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x":
55
,
"x":
0
,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
...
@@ -1979,16 +2530,16 @@
...
@@ -1979,16 +2530,16 @@
"_name": "bottomSpr",
"_name": "bottomSpr",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
6
9
"__id__":
8
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
7
1
"__id__":
9
1
},
},
{
{
"__id__":
7
3
"__id__":
9
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2025,11 +2576,11 @@
...
@@ -2025,11 +2576,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
7
0
"__id__":
9
0
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
7
2
"__id__":
9
2
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -2052,11 +2603,11 @@
...
@@ -2052,11 +2603,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
7
0
"__id__":
9
0
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
7
4
"__id__":
9
4
},
},
"_visFlags": 0,
"_visFlags": 0,
"_customMaterial": null,
"_customMaterial": null,
...
@@ -2097,16 +2648,16 @@
...
@@ -2097,16 +2648,16 @@
"_name": "topSpr",
"_name": "topSpr",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
6
9
"__id__":
8
9
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
7
6
"__id__":
9
6
},
},
{
{
"__id__":
7
8
"__id__":
9
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2143,11 +2694,11 @@
...
@@ -2143,11 +2694,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
7
5
"__id__":
9
5
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
7
7
"__id__":
9
7
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -2170,11 +2721,11 @@
...
@@ -2170,11 +2721,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
7
5
"__id__":
9
5
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
7
9
"__id__":
9
9
},
},
"_visFlags": 0,
"_visFlags": 0,
"_customMaterial": null,
"_customMaterial": null,
...
@@ -2215,16 +2766,16 @@
...
@@ -2215,16 +2766,16 @@
"_name": "图标_橡皮",
"_name": "图标_橡皮",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
6
9
"__id__":
8
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
8
1
"__id__":
10
1
},
},
{
{
"__id__":
8
3
"__id__":
10
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2261,11 +2812,11 @@
...
@@ -2261,11 +2812,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
8
0
"__id__":
10
0
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
8
2
"__id__":
10
2
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -2288,11 +2839,11 @@
...
@@ -2288,11 +2839,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
8
0
"__id__":
10
0
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
8
4
"__id__":
10
4
},
},
"_visFlags": 0,
"_visFlags": 0,
"_customMaterial": null,
"_customMaterial": null,
...
@@ -2333,7 +2884,7 @@
...
@@ -2333,7 +2884,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
6
9
"__id__":
8
9
},
},
"_enabled": true,
"_enabled": true,
"__prefab": null,
"__prefab": null,
...
@@ -2354,13 +2905,13 @@
...
@@ -2354,13 +2905,13 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
6
9
"__id__":
8
9
},
},
"_enabled": true,
"_enabled": true,
"__prefab": null,
"__prefab": null,
"clickEvents": [
"clickEvents": [
{
{
"__id__":
8
7
"__id__":
10
7
}
}
],
],
"_interactable": true,
"_interactable": true,
...
@@ -2403,7 +2954,7 @@
...
@@ -2403,7 +2954,7 @@
"checkEvents": [],
"checkEvents": [],
"_isChecked": false,
"_isChecked": false,
"_checkMark": {
"_checkMark": {
"__id__":
7
8
"__id__":
9
8
},
},
"_id": "dc9N39Rv1DEq46TRlLo8uT"
"_id": "dc9N39Rv1DEq46TRlLo8uT"
},
},
...
@@ -2422,13 +2973,13 @@
...
@@ -2422,13 +2973,13 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
4
9
"__id__":
6
9
},
},
"_enabled": true,
"_enabled": true,
"__prefab": null,
"__prefab": null,
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
19
0,
"width":
8
0,
"height": 80
"height": 80
},
},
"_anchorPoint": {
"_anchorPoint": {
...
@@ -2443,7 +2994,7 @@
...
@@ -2443,7 +2994,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
4
9
"__id__":
6
9
},
},
"_enabled": true,
"_enabled": true,
"__prefab": null,
"__prefab": null,
...
@@ -2474,9 +3025,9 @@
...
@@ -2474,9 +3025,9 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
4
9
"__id__":
6
9
},
},
"_enabled":
tru
e,
"_enabled":
fals
e,
"__prefab": null,
"__prefab": null,
"_allowSwitchOff": false,
"_allowSwitchOff": false,
"checkEvents": [],
"checkEvents": [],
...
@@ -2491,19 +3042,19 @@
...
@@ -2491,19 +3042,19 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
9
2
"__id__":
11
2
},
},
{
{
"__id__":
9
7
"__id__":
11
7
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
0
2
"__id__": 1
2
2
},
},
{
{
"__id__": 1
0
4
"__id__": 1
2
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2540,16 +3091,16 @@
...
@@ -2540,16 +3091,16 @@
"_name": "bgSpr",
"_name": "bgSpr",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
9
1
"__id__":
11
1
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
9
3
"__id__":
11
3
},
},
{
{
"__id__":
9
5
"__id__":
11
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2586,11 +3137,11 @@
...
@@ -2586,11 +3137,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
9
2
"__id__":
11
2
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
9
4
"__id__":
11
4
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -2613,11 +3164,11 @@
...
@@ -2613,11 +3164,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
9
2
"__id__":
11
2
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
9
6
"__id__":
11
6
},
},
"_visFlags": 0,
"_visFlags": 0,
"_customMaterial": null,
"_customMaterial": null,
...
@@ -2658,16 +3209,16 @@
...
@@ -2658,16 +3209,16 @@
"_name": "Label",
"_name": "Label",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
9
1
"__id__":
11
1
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
9
8
"__id__":
11
8
},
},
{
{
"__id__": 1
0
0
"__id__": 1
2
0
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2704,11 +3255,11 @@
...
@@ -2704,11 +3255,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
9
7
"__id__":
11
7
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__":
9
9
"__id__":
11
9
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -2731,11 +3282,11 @@
...
@@ -2731,11 +3282,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
9
7
"__id__":
11
7
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
0
1
"__id__": 1
2
1
},
},
"_visFlags": 0,
"_visFlags": 0,
"_customMaterial": null,
"_customMaterial": null,
...
@@ -2775,11 +3326,11 @@
...
@@ -2775,11 +3326,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
9
1
"__id__":
11
1
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
0
3
"__id__": 1
2
3
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -2802,13 +3353,13 @@
...
@@ -2802,13 +3353,13 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
9
1
"__id__":
11
1
},
},
"_enabled": true,
"_enabled": true,
"__prefab": null,
"__prefab": null,
"clickEvents": [
"clickEvents": [
{
{
"__id__": 1
0
5
"__id__": 1
2
5
}
}
],
],
"_interactable": true,
"_interactable": true,
...
@@ -2919,22 +3470,22 @@
...
@@ -2919,22 +3470,22 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 1
0
9
"__id__": 1
2
9
},
},
{
{
"__id__": 1
1
5
"__id__": 1
3
5
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
2
6
"__id__": 1
4
6
},
},
{
{
"__id__": 1
2
8
"__id__": 1
4
8
},
},
{
{
"__id__": 1
3
0
"__id__": 1
5
0
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2971,19 +3522,19 @@
...
@@ -2971,19 +3522,19 @@
"_name": "名称框",
"_name": "名称框",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
0
8
"__id__": 1
2
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
1
0
"__id__": 1
3
0
},
},
{
{
"__id__": 1
1
2
"__id__": 1
3
2
},
},
{
{
"__id__": 1
1
4
"__id__": 1
3
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3020,11 +3571,11 @@
...
@@ -3020,11 +3571,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
0
9
"__id__": 1
2
9
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
1
1
"__id__": 1
3
1
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -3047,11 +3598,11 @@
...
@@ -3047,11 +3598,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
0
9
"__id__": 1
2
9
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
1
3
"__id__": 1
3
3
},
},
"_visFlags": 0,
"_visFlags": 0,
"_customMaterial": null,
"_customMaterial": null,
...
@@ -3092,7 +3643,7 @@
...
@@ -3092,7 +3643,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
0
9
"__id__": 1
2
9
},
},
"_enabled": true,
"_enabled": true,
"__prefab": null,
"__prefab": null,
...
@@ -3121,23 +3672,23 @@
...
@@ -3121,23 +3672,23 @@
"_name": "时间框",
"_name": "时间框",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
0
8
"__id__": 1
2
8
},
},
"_children": [
"_children": [
{
{
"__id__": 1
1
6
"__id__": 1
3
6
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
2
1
"__id__": 1
4
1
},
},
{
{
"__id__": 1
2
3
"__id__": 1
4
3
},
},
{
{
"__id__": 1
2
5
"__id__": 1
4
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3174,16 +3725,16 @@
...
@@ -3174,16 +3725,16 @@
"_name": "timeLab",
"_name": "timeLab",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
1
5
"__id__": 1
3
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
1
7
"__id__": 1
3
7
},
},
{
{
"__id__": 1
1
9
"__id__": 1
3
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3220,11 +3771,11 @@
...
@@ -3220,11 +3771,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
1
6
"__id__": 1
3
6
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
1
8
"__id__": 1
3
8
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -3247,11 +3798,11 @@
...
@@ -3247,11 +3798,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
1
6
"__id__": 1
3
6
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
2
0
"__id__": 1
4
0
},
},
"_visFlags": 0,
"_visFlags": 0,
"_customMaterial": null,
"_customMaterial": null,
...
@@ -3291,11 +3842,11 @@
...
@@ -3291,11 +3842,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
1
5
"__id__": 1
3
5
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
2
2
"__id__": 1
4
2
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -3318,11 +3869,11 @@
...
@@ -3318,11 +3869,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
1
5
"__id__": 1
3
5
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
2
4
"__id__": 1
4
4
},
},
"_visFlags": 0,
"_visFlags": 0,
"_customMaterial": null,
"_customMaterial": null,
...
@@ -3363,7 +3914,7 @@
...
@@ -3363,7 +3914,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
1
5
"__id__": 1
3
5
},
},
"_enabled": true,
"_enabled": true,
"__prefab": null,
"__prefab": null,
...
@@ -3392,11 +3943,11 @@
...
@@ -3392,11 +3943,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
0
8
"__id__": 1
2
8
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
2
7
"__id__": 1
4
7
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -3419,11 +3970,11 @@
...
@@ -3419,11 +3970,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
0
8
"__id__": 1
2
8
},
},
"_enabled": false,
"_enabled": false,
"__prefab": {
"__prefab": {
"__id__": 1
2
9
"__id__": 1
4
9
},
},
"_resizeMode": 1,
"_resizeMode": 1,
"_layoutType": 1,
"_layoutType": 1,
...
@@ -3456,7 +4007,7 @@
...
@@ -3456,7 +4007,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
0
8
"__id__": 1
2
8
},
},
"_enabled": true,
"_enabled": true,
"__prefab": null,
"__prefab": null,
...
@@ -3489,28 +4040,28 @@
...
@@ -3489,28 +4040,28 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 1
3
2
"__id__": 1
5
2
},
},
{
{
"__id__": 1
3
7
"__id__": 1
5
7
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
4
2
"__id__": 1
6
2
},
},
{
{
"__id__": 1
4
4
"__id__": 1
6
4
},
},
{
{
"__id__": 1
4
6
"__id__": 1
6
6
}
}
],
],
"_prefab": null,
"_prefab": null,
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 4
82
.278,
"x": 4
56
.278,
"y": 211.904,
"y": 211.904,
"z": 0
"z": 0
},
},
...
@@ -3541,16 +4092,16 @@
...
@@ -3541,16 +4092,16 @@
"_name": "bgSpr",
"_name": "bgSpr",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
3
1
"__id__": 1
5
1
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
3
3
"__id__": 1
5
3
},
},
{
{
"__id__": 1
3
5
"__id__": 1
5
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3587,11 +4138,11 @@
...
@@ -3587,11 +4138,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
3
2
"__id__": 1
5
2
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
3
4
"__id__": 1
5
4
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -3614,11 +4165,11 @@
...
@@ -3614,11 +4165,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
3
2
"__id__": 1
5
2
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
3
6
"__id__": 1
5
6
},
},
"_visFlags": 0,
"_visFlags": 0,
"_customMaterial": null,
"_customMaterial": null,
...
@@ -3659,16 +4210,16 @@
...
@@ -3659,16 +4210,16 @@
"_name": "Label",
"_name": "Label",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
3
1
"__id__": 1
5
1
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
3
8
"__id__": 1
5
8
},
},
{
{
"__id__": 1
4
0
"__id__": 1
6
0
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3705,11 +4256,11 @@
...
@@ -3705,11 +4256,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
3
7
"__id__": 1
5
7
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
3
9
"__id__": 1
5
9
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -3732,11 +4283,11 @@
...
@@ -3732,11 +4283,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
3
7
"__id__": 1
5
7
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
4
1
"__id__": 1
6
1
},
},
"_visFlags": 0,
"_visFlags": 0,
"_customMaterial": null,
"_customMaterial": null,
...
@@ -3776,11 +4327,11 @@
...
@@ -3776,11 +4327,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
3
1
"__id__": 1
5
1
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
4
3
"__id__": 1
6
3
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -3803,16 +4354,16 @@
...
@@ -3803,16 +4354,16 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
3
1
"__id__": 1
5
1
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
4
5
"__id__": 1
6
5
},
},
"_alignFlags": 33,
"_alignFlags": 33,
"_target": null,
"_target": null,
"_left": 0,
"_left": 0,
"_right": 1
04
.72199999999998,
"_right": 1
30
.72199999999998,
"_top": 133.096,
"_top": 133.096,
"_bottom": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
...
@@ -3838,15 +4389,15 @@
...
@@ -3838,15 +4389,15 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
3
1
"__id__": 1
5
1
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
4
7
"__id__": 1
6
7
},
},
"clickEvents": [
"clickEvents": [
{
{
"__id__": 1
4
8
"__id__": 1
6
8
}
}
],
],
"_interactable": true,
"_interactable": true,
...
@@ -3911,7 +4462,7 @@
...
@@ -3911,7 +4462,7 @@
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
5
0
"__id__": 1
7
0
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
...
@@ -3938,7 +4489,7 @@
...
@@ -3938,7 +4489,7 @@
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
5
2
"__id__": 1
7
2
},
},
"_cameraComponent": {
"_cameraComponent": {
"__id__": 9
"__id__": 9
...
@@ -3959,7 +4510,7 @@
...
@@ -3959,7 +4510,7 @@
},
},
"_enabled": true,
"_enabled": true,
"__prefab": {
"__prefab": {
"__id__": 1
5
4
"__id__": 1
7
4
},
},
"_alignFlags": 45,
"_alignFlags": 45,
"_target": null,
"_target": null,
...
@@ -3998,12 +4549,18 @@
...
@@ -3998,12 +4549,18 @@
"__id__": 22
"__id__": 22
},
},
"countdownLab": {
"countdownLab": {
"__id__": 1
1
9
"__id__": 1
3
9
},
},
"remainLab": {
"remainLab": {
"__id__": 20
"__id__": 20
},
},
"totalTime": 100,
"totalTime": 100,
"hideTog": {
"__id__": 63
},
"eraserTog": {
"__id__": 106
},
"_id": "dbxV4XT8pIYbgLw0VIxwni"
"_id": "dbxV4XT8pIYbgLw0VIxwni"
},
},
{
{
...
@@ -4014,16 +4571,16 @@
...
@@ -4014,16 +4571,16 @@
{
{
"__type__": "cc.SceneGlobals",
"__type__": "cc.SceneGlobals",
"ambient": {
"ambient": {
"__id__": 1
5
8
"__id__": 1
7
8
},
},
"shadows": {
"shadows": {
"__id__": 1
5
9
"__id__": 1
7
9
},
},
"_skybox": {
"_skybox": {
"__id__": 1
6
0
"__id__": 1
8
0
},
},
"fog": {
"fog": {
"__id__": 1
6
1
"__id__": 1
8
1
}
}
},
},
{
{
...
...
assets/sceneBundle/games/sudoku/script/SudokuCtr.ts
View file @
7851970a
import
{
_decorator
,
Component
,
Node
,
instantiate
,
Button
,
Toggle
,
Label
,
director
,
CCFloat
}
from
'cc'
;
import
{
_decorator
,
Component
,
Node
,
instantiate
,
Button
,
Toggle
,
Label
,
director
,
CCFloat
,
find
}
from
'cc'
;
import
{
countdownMus
,
failMus
,
succMus
}
from
'../../../../startFolder/script/common/AudioDef'
;
import
{
countdownMus
,
failMus
,
succMus
}
from
'../../../../startFolder/script/common/AudioDef'
;
import
{
AudioMgr
}
from
'../../../../startFolder/script/common/AudioMgr'
;
import
{
AudioMgr
}
from
'../../../../startFolder/script/common/AudioMgr'
;
import
{
Utils
}
from
'../../../../startFolder/script/common/Utils'
;
import
{
Utils
}
from
'../../../../startFolder/script/common/Utils'
;
...
@@ -37,6 +37,12 @@ export class SudokuCtr extends Component {
...
@@ -37,6 +37,12 @@ export class SudokuCtr extends Component {
@
property
(
CCFloat
)
@
property
(
CCFloat
)
totalTime
:
number
=
0
;
totalTime
:
number
=
0
;
@
property
(
Toggle
)
hideTog
:
Toggle
=
null
!
;
@
property
(
Toggle
)
eraserTog
:
Toggle
=
null
!
;
private
gameState
=
GAME_STATE
.
READY
;
private
gameState
=
GAME_STATE
.
READY
;
private
fillNum
=
1
;
private
fillNum
=
1
;
private
sqr
=
5
;
private
sqr
=
5
;
...
@@ -142,6 +148,7 @@ export class SudokuCtr extends Component {
...
@@ -142,6 +148,7 @@ export class SudokuCtr extends Component {
}
}
setNumTogs
()
{
setNumTogs
()
{
this
.
hideTog
.
node
.
parent
=
find
(
"Canvas"
);
while
(
this
.
numOptsNode
.
children
.
length
<
this
.
sqr
)
{
while
(
this
.
numOptsNode
.
children
.
length
<
this
.
sqr
)
{
this
.
numOptsNode
.
addChild
(
instantiate
(
this
.
numOptsNode
.
children
[
0
]));
this
.
numOptsNode
.
addChild
(
instantiate
(
this
.
numOptsNode
.
children
[
0
]));
}
}
...
@@ -151,6 +158,7 @@ export class SudokuCtr extends Component {
...
@@ -151,6 +158,7 @@ export class SudokuCtr extends Component {
this
.
numOptsNode
.
children
[
i
].
getComponentInChildren
(
Label
)
!
.
string
=
(
i
+
1
)
+
""
;
this
.
numOptsNode
.
children
[
i
].
getComponentInChildren
(
Label
)
!
.
string
=
(
i
+
1
)
+
""
;
}
}
this
.
numOptsNode
.
children
[
0
].
getComponent
(
Toggle
)
!
.
isChecked
=
true
;
this
.
numOptsNode
.
children
[
0
].
getComponent
(
Toggle
)
!
.
isChecked
=
true
;
this
.
hideTog
.
node
.
parent
=
this
.
numOptsNode
;
}
}
gameEnd
(
isWin
:
boolean
)
{
gameEnd
(
isWin
:
boolean
)
{
...
@@ -194,7 +202,8 @@ export class SudokuCtr extends Component {
...
@@ -194,7 +202,8 @@ export class SudokuCtr extends Component {
onFillNumClick
(
err
:
any
,
numStr
:
string
)
{
onFillNumClick
(
err
:
any
,
numStr
:
string
)
{
this
.
fillNum
=
Number
(
numStr
);
this
.
fillNum
=
Number
(
numStr
);
this
.
onPencilClick
();
this
.
eraserTog
.
isChecked
=
false
;
}
}
onPencilClick
()
{
onPencilClick
()
{
...
@@ -205,6 +214,7 @@ export class SudokuCtr extends Component {
...
@@ -205,6 +214,7 @@ export class SudokuCtr extends Component {
onEraserClick
()
{
onEraserClick
()
{
if
(
this
.
gameState
!=
GAME_STATE
.
FILL
)
return
;
if
(
this
.
gameState
!=
GAME_STATE
.
FILL
)
return
;
this
.
gameState
=
GAME_STATE
.
ERASE
;
this
.
gameState
=
GAME_STATE
.
ERASE
;
this
.
hideTog
.
isChecked
=
true
;
}
}
getLevelCfg
(
level
:
number
)
{
getLevelCfg
(
level
:
number
)
{
...
...
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