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
ea31e67e
Commit
ea31e67e
authored
Oct 25, 2021
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
还差取消线段功能
parent
98732f78
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1038 additions
and
20 deletions
+1038
-20
LatticeBlockadeDescView.prefab
...mes/latticeBlockade/prefab/LatticeBlockadeDescView.prefab
+534
-0
LatticeBlockadeDescView.prefab.meta
...atticeBlockade/prefab/LatticeBlockadeDescView.prefab.meta
+13
-0
LatticeBlockade_1.scene
...undle/games/latticeBlockade/scene/LatticeBlockade_1.scene
+444
-19
LatticeBlockadeCtr.ts
...Bundle/games/latticeBlockade/script/LatticeBlockadeCtr.ts
+1
-1
LatticeBlockadeDescView.ts
...e/games/latticeBlockade/script/LatticeBlockadeDescView.ts
+29
-0
LatticeBlockadeDescView.ts.meta
...es/latticeBlockade/script/LatticeBlockadeDescView.ts.meta
+9
-0
ViewDef.ts
assets/startFolder/script/common/ViewDef.ts
+8
-0
No files found.
assets/sceneBundle/games/latticeBlockade/prefab/LatticeBlockadeDescView.prefab
0 → 100644
View file @
ea31e67e
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false
},
{
"__type__": "cc.Node",
"_name": "LatticeBlockadeDescView",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 13
}
],
"_active": true,
"_components": [
{
"__id__": 19
},
{
"__id__": 21
},
{
"__id__": 23
}
],
"_prefab": {
"__id__": 25
},
"_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": ""
},
{
"__type__": "cc.Node",
"_name": "bgSpr",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_prefab": {
"__id__": 12
},
"_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": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1334,
"height": 750
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "55pCbtzR5GbojKMArZkfim"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 200
},
"_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": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "20UGQn4U9GUoln0NJQTkbG"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_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": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "422rUzM7BCd7xTyoYh1P+Y"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"clickEvents": [
{
"__id__": 11
}
],
"_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": {
"__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "27lmdojSlNCKQH66IMM96f"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "2a197eL7q5IE7O0Jz3cWCa5",
"handler": "onClose",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "19bAJaTvBL7rtRNa8JwkE8"
},
{
"__type__": "cc.Node",
"_name": "descLab",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
},
{
"__id__": 16
}
],
"_prefab": {
"__id__": 18
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 198.954,
"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": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
},
"_enabled": true,
"__prefab": {
"__id__": 15
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1200,
"height": 263
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 1
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "玩法说明\n从绿色的点出发,使数字周围出现对应数量线段后回到起点则成功。\n注意:从绿色和黄色的点开始画出的线段为不透明线段,计入有效路径。从白色的点开始画出的线段为半透明线段,不计入有效路径。\n出现红色线段表示数字周围的有效线段过多。",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 50,
"_overflow": 3,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2frm37uaJHQr0AEEaYyM82"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "05wKXcEKBNNqOBLO1zf9cJ"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 20
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1334,
"height": 750
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ceaniOortPxKhZnYSYOQf/"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 22
},
"_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": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7eQ/JyBiNF2orig2EYYJ9j"
},
{
"__type__": "01d82fBG8dCJaUdZ+uRG18Z",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 24
},
"descLab": {
"__id__": 16
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a0+hdwS9JKgYSxOVnH4gV1"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "16TRbfTzdBe6/EGlGrornR"
}
]
\ No newline at end of file
assets/sceneBundle/games/latticeBlockade/prefab/LatticeBlockadeDescView.prefab.meta
0 → 100644
View file @
ea31e67e
{
"ver": "1.1.27",
"importer": "prefab",
"imported": true,
"uuid": "282993da-91ef-4f92-8658-56ca6e10c516",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "LatticeBlockadeDescView"
}
}
assets/sceneBundle/games/latticeBlockade/scene/LatticeBlockade_1.scene
View file @
ea31e67e
...
...
@@ -10,7 +10,7 @@
},
{
"__type__": "cc.Scene",
"_name": "LatticeBlockade",
"_name": "LatticeBlockade
_1
",
"_objFlags": 0,
"_parent": null,
"_children": [
...
...
@@ -24,7 +24,7 @@
"__id__": 7
},
{
"__id__":
67
"__id__":
85
}
],
"_active": true,
...
...
@@ -32,7 +32,7 @@
"_prefab": null,
"autoReleaseAssets": false,
"_globals": {
"__id__":
70
"__id__":
88
},
"_id": "845f6d9b-e827-48a1-b683-47d3cebc3d1b"
},
...
...
@@ -213,21 +213,24 @@
},
{
"__id__": 37
},
{
"__id__": 60
}
],
"_active": true,
"_components": [
{
"__id__":
60
"__id__":
78
},
{
"__id__":
62
"__id__":
80
},
{
"__id__":
64
"__id__":
82
},
{
"__id__":
66
"__id__":
84
}
],
"_prefab": null,
...
...
@@ -1664,17 +1667,439 @@
"_lockFlags": 0,
"_id": "dcJ0VqQqJAcrWllxwQ6k7S"
},
{
"__type__": "cc.Node",
"_name": "gameDescBtn",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 61
},
{
"__id__": 66
}
],
"_active": true,
"_components": [
{
"__id__": 71
},
{
"__id__": 73
},
{
"__id__": 75
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 527.627,
"y": 211.904,
"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": "75RIQYaktECIZSlpEn5R5/"
},
{
"__type__": "cc.Node",
"_name": "bgSpr",
"_objFlags": 0,
"_parent": {
"__id__": 60
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 62
},
{
"__id__": 64
}
],
"_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": "57hG9g3B9BBJ5A2kglKBZ4"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
7
"__id__":
61
},
"_enabled": true,
"__prefab": {
"__id__": 63
},
"_contentSize": {
"__type__": "cc.Size",
"width": 160,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "fdlXSJGg9KSIUN+MG6ts39"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "55pCbtzR5GbojKMArZkfim"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"__prefab": {
"__id__": 65
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 120
},
"_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": "74QoxEHGBIdbwhNFQtK2bz"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "20UGQn4U9GUoln0NJQTkbG"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 60
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 67
},
{
"__id__": 69
}
],
"_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": "46nFac0yxCSJu/L5WF9JGZ"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
},
"_enabled": true,
"__prefab": {
"__id__": 68
},
"_contentSize": {
"__type__": "cc.Size",
"width": 128,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "abhcX0h35LYr+3YHaByUBa"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
},
"_enabled": true,
"__prefab": {
"__id__": 70
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "玩法说明",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 32,
"_fontSize": 32,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_id": "15UQGH8d9FF48G4XXyVdgm"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2frm37uaJHQr0AEEaYyM82"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": {
"__id__": 72
},
"_contentSize": {
"__type__": "cc.Size",
"width": 160,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "bcwdVVfUpKEJtSgBbcWBoe"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "30AFpV6rhJLKJMbjqrvDLm"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": {
"__id__": 74
},
"_alignFlags": 33,
"_target": null,
"_left": 0,
"_right": 59.37300000000005,
"_top": 133.096,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "81KjEBCxNIOrm3kifFf3J8"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ebKiXA481GJaVCm3yUMRB/"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": {
"__id__": 76
},
"clickEvents": [
{
"__id__": 77
}
],
"_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,
"_id": "0d3itAobtNOZxJUPh9r+jd"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fasaRsl0VPiqKt+O6/ppa2"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 7
},
"component": "",
"_componentId": "1b7b5dE3PpCc717Chwms56+",
"handler": "showGameDescView",
"customEventData": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_enabled": true,
"__prefab": {
"__id__": 79
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1334,
...
...
@@ -1700,7 +2125,7 @@
},
"_enabled": true,
"__prefab": {
"__id__":
63
"__id__":
81
},
"_cameraComponent": {
"__id__": 9
...
...
@@ -1721,7 +2146,7 @@
},
"_enabled": true,
"__prefab": {
"__id__":
65
"__id__":
83
},
"_alignFlags": 45,
"_target": null,
...
...
@@ -1793,10 +2218,10 @@
"_active": true,
"_components": [
{
"__id__":
68
"__id__":
86
},
{
"__id__":
69
"__id__":
87
}
],
"_prefab": null,
...
...
@@ -1833,7 +2258,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
67
"__id__":
85
},
"_enabled": true,
"__prefab": null,
...
...
@@ -1848,28 +2273,28 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
67
"__id__":
85
},
"_enabled": true,
"__prefab": null,
"audioSource": {
"__id__":
68
"__id__":
86
},
"_id": "29vfhfPvVIw7m83TMzy3Tp"
},
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__":
71
"__id__":
89
},
"shadows": {
"__id__":
72
"__id__":
90
},
"_skybox": {
"__id__":
73
"__id__":
91
},
"fog": {
"__id__":
74
"__id__":
92
}
},
{
...
...
assets/sceneBundle/games/latticeBlockade/script/LatticeBlockadeCtr.ts
View file @
ea31e67e
...
...
@@ -99,7 +99,7 @@ export class LatticeBlockadeCtr extends Component {
showGameDescView
()
{
this
.
isShowGameDescViewOnce
=
true
;
viewMgr
.
openView
(
VIEW_DEF
.
NumMat
DescView
);
viewMgr
.
openView
(
VIEW_DEF
.
LatticeBlockade
DescView
);
}
onCloseGameDescView
()
{
...
...
assets/sceneBundle/games/latticeBlockade/script/LatticeBlockadeDescView.ts
0 → 100644
View file @
ea31e67e
import
{
_decorator
,
Component
,
Node
,
director
}
from
'cc'
;
import
{
VIEW_DEF
}
from
'../../../../startFolder/script/common/ViewDef'
;
import
{
viewMgr
}
from
'../../../../startFolder/script/common/ViewMgr'
;
import
{
GameDescView
}
from
'../../commonView/script/GameDescView'
;
const
{
ccclass
,
property
}
=
_decorator
;
@
ccclass
(
'LatticeBlockadeDescView'
)
export
class
LatticeBlockadeDescView
extends
GameDescView
{
// [1]
// dummy = '';
// [2]
// @property
// serializableDummy = 0;
start
()
{
// [3]
}
onClose
()
{
director
.
emit
(
"game_desc_close"
);
viewMgr
.
closeView
(
VIEW_DEF
.
LatticeBlockadeDescView
);
}
// update (deltaTime: number) {
// // [4]
// }
}
assets/sceneBundle/games/latticeBlockade/script/LatticeBlockadeDescView.ts.meta
0 → 100644
View file @
ea31e67e
{
"ver": "4.0.22",
"importer": "typescript",
"imported": true,
"uuid": "01d827c1-1bc7-4225-a51d-67eb911b5f19",
"files": [],
"subMetas": {},
"userData": {}
}
assets/startFolder/script/common/ViewDef.ts
View file @
ea31e67e
...
...
@@ -66,6 +66,8 @@ interface ViewPathItf {
SudokuLevelView
:
ViewPathUnitItf
,
//数字矩阵游戏弹窗
NumMatDescView
:
ViewPathUnitItf
,
//点阵封锁游戏说明弹窗
LatticeBlockadeDescView
:
ViewPathUnitItf
,
//测试弹窗
TestView_1
:
ViewPathUnitItf
}
...
...
@@ -191,4 +193,9 @@ export const VIEW_DEF: ViewPathItf = {
bundleName
:
"sceneBundle"
,
path
:
"games/numMatReason/prefab/NumMatDescView"
,
},
//点阵封锁游戏说明弹窗
LatticeBlockadeDescView
:
{
bundleName
:
"sceneBundle"
,
path
:
"games/latticeBlockade/prefab/LatticeBlockadeDescView"
,
},
}
\ No newline at end of file
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