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
4d05e251
Commit
4d05e251
authored
Dec 08, 2021
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
可以打包了
parent
2ff707b4
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
4250 additions
and
32 deletions
+4250
-32
other.meta
assets/sceneBundle/games/FaceRecognition/image/other.meta
+12
-0
按钮-游戏说明.png
...sceneBundle/games/FaceRecognition/image/other/按钮-游戏说明.png
+0
-0
按钮-游戏说明.png.meta
...Bundle/games/FaceRecognition/image/other/按钮-游戏说明.png.meta
+74
-0
游戏说明.png
...ts/sceneBundle/games/FaceRecognition/image/other/游戏说明.png
+0
-0
游戏说明.png.meta
...eneBundle/games/FaceRecognition/image/other/游戏说明.png.meta
+74
-0
编组 129.png
.../sceneBundle/games/FaceRecognition/image/other/编组 129.png
+0
-0
编组 129.png.meta
...eBundle/games/FaceRecognition/image/other/编组 129.png.meta
+74
-0
FaceRgAnswerTwoView.prefab
...e/games/FaceRecognition/prefab/FaceRgAnswerTwoView.prefab
+1
-1
FaceRgGameDescView.prefab
...le/games/FaceRecognition/prefab/FaceRgGameDescView.prefab
+553
-0
FaceRgGameDescView.prefab.meta
...mes/FaceRecognition/prefab/FaceRgGameDescView.prefab.meta
+13
-0
FaceRecognitionCtr.ts
...Bundle/games/FaceRecognition/script/FaceRecognitionCtr.ts
+45
-11
FaceRgGameDescView.ts
...Bundle/games/FaceRecognition/script/FaceRgGameDescView.ts
+44
-0
FaceRgGameDescView.ts.meta
...e/games/FaceRecognition/script/FaceRgGameDescView.ts.meta
+9
-0
other.meta
assets/sceneBundle/games/commonView/image/other.meta
+12
-0
弹窗-失败底框.png
assets/sceneBundle/games/commonView/image/other/弹窗-失败底框.png
+0
-0
弹窗-失败底框.png.meta
...sceneBundle/games/commonView/image/other/弹窗-失败底框.png.meta
+74
-0
弹窗-成功底框.png
assets/sceneBundle/games/commonView/image/other/弹窗-成功底框.png
+0
-0
弹窗-成功底框.png.meta
...sceneBundle/games/commonView/image/other/弹窗-成功底框.png.meta
+74
-0
恭喜你闯关成功!.png
assets/sceneBundle/games/commonView/image/other/恭喜你闯关成功!.png
+0
-0
恭喜你闯关成功!.png.meta
...ceneBundle/games/commonView/image/other/恭喜你闯关成功!.png.meta
+74
-0
本次闯关失败!.png
assets/sceneBundle/games/commonView/image/other/本次闯关失败!.png
+0
-0
本次闯关失败!.png.meta
...sceneBundle/games/commonView/image/other/本次闯关失败!.png.meta
+74
-0
ScoreFailView.prefab
.../sceneBundle/games/commonView/prefab/ScoreFailView.prefab
+1278
-0
ScoreFailView.prefab.meta
...eBundle/games/commonView/prefab/ScoreFailView.prefab.meta
+13
-0
ScoreSuccView.prefab
.../sceneBundle/games/commonView/prefab/ScoreSuccView.prefab
+1278
-0
ScoreSuccView.prefab.meta
...eBundle/games/commonView/prefab/ScoreSuccView.prefab.meta
+13
-0
ScoreFailView.ts
assets/sceneBundle/games/commonView/script/ScoreFailView.ts
+33
-0
ScoreFailView.ts.meta
...sceneBundle/games/commonView/script/ScoreFailView.ts.meta
+9
-0
ScoreSuccView.ts
assets/sceneBundle/games/commonView/script/ScoreSuccView.ts
+26
-0
ScoreSuccView.ts.meta
...sceneBundle/games/commonView/script/ScoreSuccView.ts.meta
+9
-0
FaceRecognition_1.scene
assets/startFolder/FaceRecognition_1.scene
+363
-20
ViewDef.ts
assets/startFolder/script/common/ViewDef.ts
+21
-0
No files found.
assets/sceneBundle/games/FaceRecognition/image/other.meta
0 → 100644
View file @
4d05e251
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "6a6cc219-c2f6-4bec-b9b0-0548f4c01d67",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
assets/sceneBundle/games/FaceRecognition/image/other/按钮-游戏说明.png
0 → 100644
View file @
4d05e251
1.44 KB
assets/sceneBundle/games/FaceRecognition/image/other/按钮-游戏说明.png.meta
0 → 100644
View file @
4d05e251
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "c7410db3-2fa3-4da3-a427-95e464338e78",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "c7410db3-2fa3-4da3-a427-95e464338e78@6c48a",
"displayName": "按钮-游戏说明",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "c7410db3-2fa3-4da3-a427-95e464338e78"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "c7410db3-2fa3-4da3-a427-95e464338e78@f9941",
"displayName": "按钮-游戏说明",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 140,
"height": 60,
"rawWidth": 140,
"rawHeight": 60,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "c7410db3-2fa3-4da3-a427-95e464338e78@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "c7410db3-2fa3-4da3-a427-95e464338e78@f9941"
}
}
assets/sceneBundle/games/FaceRecognition/image/other/游戏说明.png
0 → 100644
View file @
4d05e251
57.2 KB
assets/sceneBundle/games/FaceRecognition/image/other/游戏说明.png.meta
0 → 100644
View file @
4d05e251
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "58a10871-3c1a-41f4-bcc2-7697b1145878",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "58a10871-3c1a-41f4-bcc2-7697b1145878@6c48a",
"displayName": "游戏说明",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "58a10871-3c1a-41f4-bcc2-7697b1145878"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "58a10871-3c1a-41f4-bcc2-7697b1145878@f9941",
"displayName": "游戏说明",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "58a10871-3c1a-41f4-bcc2-7697b1145878@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "58a10871-3c1a-41f4-bcc2-7697b1145878@f9941"
}
}
assets/sceneBundle/games/FaceRecognition/image/other/编组 129.png
0 → 100644
View file @
4d05e251
23.8 KB
assets/sceneBundle/games/FaceRecognition/image/other/编组 129.png.meta
0 → 100644
View file @
4d05e251
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "6e606a8a-694f-4408-8e5b-70b9085214f9",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "6e606a8a-694f-4408-8e5b-70b9085214f9@6c48a",
"displayName": "编组 129",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "6e606a8a-694f-4408-8e5b-70b9085214f9"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "6e606a8a-694f-4408-8e5b-70b9085214f9@f9941",
"displayName": "编组 129",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": 0,
"trimX": 31,
"trimY": 43,
"width": 931,
"height": 906,
"rawWidth": 992,
"rawHeight": 992,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "6e606a8a-694f-4408-8e5b-70b9085214f9@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "6e606a8a-694f-4408-8e5b-70b9085214f9@f9941"
}
}
assets/sceneBundle/games/FaceRecognition/prefab/FaceRgAnswerTwoView.prefab
View file @
4d05e251
...
...
@@ -270,7 +270,7 @@
"b": 255,
"a": 255
},
"_string": "这位
员工
的名字叫什么?",
"_string": "这位
同学
的名字叫什么?",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
...
...
assets/sceneBundle/games/FaceRecognition/prefab/FaceRgGameDescView.prefab
0 → 100644
View file @
4d05e251
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false
},
{
"__type__": "cc.Node",
"_name": "FaceRgGameDescView",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 15
}
],
"_active": true,
"_components": [
{
"__id__": 21
},
{
"__id__": 23
},
{
"__id__": 25
}
],
"_prefab": {
"__id__": 27
},
"_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
},
{
"__id__": 11
}
],
"_prefab": {
"__id__": 14
},
"_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": 220
},
"_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": "a9sgCxUBVKdL1ugbepX4px"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "35mSVuncJJEpcMBHm/fFGF"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 12
},
"clickEvents": [
{
"__id__": 13
}
],
"_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": "916TpAX8VE8qeYSlkszeqH"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "feff1xdYgxBjbBcXdxrTH2k",
"handler": "onClose",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "0c7ni8YXtHQ46S4D6UZ9fr"
},
{
"__type__": "cc.Node",
"_name": "游戏说明",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
},
{
"__id__": 18
}
],
"_prefab": {
"__id__": 20
},
"_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__": 15
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1334,
"height": 750
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "58a10871-3c1a-41f4-bcc2-7697b1145878@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "54G4zH4K9B3oIRnbkHdcxH"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 22
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1334,
"height": 750
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3bIa8hov1N2KnSwC9/Z4DC"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 24
},
"_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": "2bGo/w8kBMm7r+nwGqlDRN"
},
{
"__type__": "feff1xdYgxBjbBcXdxrTH2k",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 26
},
"descLab": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "22ZePb0nlNN5vPR/7kS0rx"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "38+BgWAytKNrLzHm3MBMHC"
}
]
\ No newline at end of file
assets/sceneBundle/games/FaceRecognition/prefab/FaceRgGameDescView.prefab.meta
0 → 100644
View file @
4d05e251
{
"ver": "1.1.27",
"importer": "prefab",
"imported": true,
"uuid": "71ce1a39-fb6b-48a4-9d8c-c93024e7d19c",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "FaceRgGameDescView"
}
}
assets/sceneBundle/games/FaceRecognition/script/FaceRecognitionCtr.ts
View file @
4d05e251
...
...
@@ -9,6 +9,8 @@ import { AudioSrc } from '../../commonView/script/AudioSrc';
import
{
BeginCountdownView
}
from
'../../commonView/script/BeginCountdownView'
;
import
{
ChallengeFailView
}
from
'../../commonView/script/ChallengeFailView'
;
import
{
ChallengeSuccView
}
from
'../../commonView/script/ChallengeSuccView'
;
import
{
ScoreFailView
}
from
'../../commonView/script/ScoreFailView'
;
import
{
ScoreSuccView
}
from
'../../commonView/script/ScoreSuccView'
;
import
{
SwitchErrorView
}
from
'../../commonView/script/SwitchErrorView'
;
import
{
SwitchOkView
}
from
'../../commonView/script/SwitchOkView'
;
import
{
FaceRgAnswerOneView
}
from
'./FaceRgAnswerOneView'
;
...
...
@@ -74,15 +76,28 @@ export class FaceRecognitionCtr extends Component {
private
isPlayCountdownMus
=
false
;
private
audioSrc
:
AudioSrc
=
null
!
;
setGameData
(
resData
:
object
){
private
isShowGameDescViewOnce
=
false
;
setGameData
(
resData
:
object
)
{
//@ts-ignore
if
(
resData
.
totalTime
)
{
if
(
resData
.
totalTime
)
{
//@ts-ignore
this
.
totalTime
=
resData
.
totalTime
;
}
}
onCloseGameDescView
()
{
if
(
!
this
.
isShowGameDescViewOnce
)
{
this
.
isShowGameDescViewOnce
=
true
;
this
.
gameState
=
GAME_STATE
.
WATCH
;
}
else
{
}
}
start
()
{
director
.
on
(
"game_desc_close"
,
this
.
onCloseGameDescView
,
this
);
let
outGameTime
=
Utils
.
getValueFromHref
(
"gameTime"
);
if
(
outGameTime
!==
null
)
{
this
.
totalTime
=
<
number
><
any
>
outGameTime
;
...
...
@@ -140,13 +155,23 @@ export class FaceRecognitionCtr extends Component {
});
director
.
on
(
"finish_game"
,
()
=>
{
});
director
.
on
(
"begin_countdown_end"
,
()
=>
{
if
(
this
.
isShowGameDescViewOnce
)
{
this
.
gameState
=
GAME_STATE
.
WATCH
;
}
else
{
this
.
gameState
=
GAME_STATE
.
PAUSE
;
viewMgr
.
openView
(
VIEW_DEF
.
FaceRgGameDescView
);
}
});
this
.
startGame
();
}
onDestroy
(){
onDestroy
()
{
director
.
off
(
"face_rg_anwser"
);
director
.
off
(
"answer_one"
);
director
.
off
(
"answer_two"
);
...
...
@@ -168,9 +193,6 @@ export class FaceRecognitionCtr extends Component {
this
.
curScore
=
0
;
this
.
curScoreLab
.
string
=
"我的"
+
this
.
curScore
+
"分"
;
this
.
succScoreLab
.
string
=
"通关≥"
+
this
.
succScore
+
"分"
;
director
.
on
(
"begin_countdown_end"
,
()
=>
{
this
.
gameState
=
GAME_STATE
.
WATCH
;
});
this
.
startRound
(
false
);
viewMgr
.
openView
(
VIEW_DEF
.
BeginCountdownView
,
(
node
)
=>
{
this
.
gameState
=
GAME_STATE
.
PAUSE
;
...
...
@@ -178,6 +200,10 @@ export class FaceRecognitionCtr extends Component {
},
VIEW_INDEX
.
TOP
);
}
showGameDesc
()
{
viewMgr
.
openView
(
VIEW_DEF
.
FaceRgGameDescView
);
}
startRound
(
isDelay
:
boolean
)
{
this
.
creSixPerson
();
viewMgr
.
openView
(
VIEW_DEF
.
FaceRgWatchView
,
(
node
)
=>
{
...
...
@@ -215,15 +241,23 @@ export class FaceRecognitionCtr extends Component {
this
.
bestScore
=
this
.
curScore
;
}
if
(
this
.
curScore
>=
this
.
succScore
)
{
viewMgr
.
openView
(
VIEW_DEF
.
ChallengeSuccView
,
(
node
)
=>
{
// viewMgr.openView(VIEW_DEF.ChallengeSuccView, (node) => {
// find("Audio")?.getComponent(AudioCtr)?.playOneShot(this.audioSrc.getMus("SCCESS")!);
// node?.getComponent(ChallengeSuccView)?.init();
// }, VIEW_INDEX.TOP);
viewMgr
.
openView
(
VIEW_DEF
.
ScoreSuccView
,
(
node
)
=>
{
find
(
"Audio"
)?.
getComponent
(
AudioCtr
)?.
playOneShot
(
this
.
audioSrc
.
getMus
(
"SCCESS"
)
!
);
node
?.
getComponent
(
ChallengeSuccView
)?.
init
(
);
node
?.
getComponent
(
ScoreSuccView
)?.
setData
(
this
.
costTime
,
this
.
getEvaluation
(
this
.
curScore
)
);
},
VIEW_INDEX
.
TOP
);
}
else
{
viewMgr
.
openView
(
VIEW_DEF
.
ChallengeFailView
,
(
node
)
=>
{
// viewMgr.openView(VIEW_DEF.ScoreFailView, (node) => {
// find("Audio")?.getComponent(AudioCtr)?.playOneShot(this.audioSrc.getMus("FAIL")!);
// node?.getComponent(ChallengeFailView);
// }, VIEW_INDEX.TOP);
viewMgr
.
openView
(
VIEW_DEF
.
ScoreFailView
,
(
node
)
=>
{
find
(
"Audio"
)?.
getComponent
(
AudioCtr
)?.
playOneShot
(
this
.
audioSrc
.
getMus
(
"FAIL"
)
!
);
node
?.
getComponent
(
ChallengeFailView
);
node
?.
getComponent
(
ScoreFailView
)?.
setData
(
this
.
costTime
,
this
.
getEvaluation
(
this
.
curScore
)
);
},
VIEW_INDEX
.
TOP
);
}
}
...
...
assets/sceneBundle/games/FaceRecognition/script/FaceRgGameDescView.ts
0 → 100644
View file @
4d05e251
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
(
'FaceRgGameDescView'
)
export
class
FaceRgGameDescView
extends
GameDescView
{
// [1]
// dummy = '';
// [2]
// @property
// serializableDummy = 0;
start
()
{
// [3]
}
onClose
()
{
director
.
emit
(
"game_desc_close"
);
viewMgr
.
closeView
(
VIEW_DEF
.
FaceRgGameDescView
);
}
setDesc
(
text
:
string
)
{
// this.descLab.string = text;
}
// update (deltaTime: number) {
// // [4]
// }
}
/**
* [1] Class member could be defined like this.
* [2] Use `property` decorator if your want the member to be serializable.
* [3] Your initialization goes here.
* [4] Your update function goes here.
*
* Learn more about scripting: https://docs.cocos.com/creator/3.0/manual/en/scripting/
* Learn more about CCClass: https://docs.cocos.com/creator/3.0/manual/en/scripting/ccclass.html
* Learn more about life-cycle callbacks: https://docs.cocos.com/creator/3.0/manual/en/scripting/life-cycle-callbacks.html
*/
assets/sceneBundle/games/FaceRecognition/script/FaceRgGameDescView.ts.meta
0 → 100644
View file @
4d05e251
{
"ver": "4.0.22",
"importer": "typescript",
"imported": true,
"uuid": "feff1c5d-620c-418d-b05c-5ddc6b4c7da4",
"files": [],
"subMetas": {},
"userData": {}
}
assets/sceneBundle/games/commonView/image/other.meta
0 → 100644
View file @
4d05e251
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "c6460b61-060c-449f-b281-1892560e4ede",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
assets/sceneBundle/games/commonView/image/other/弹窗-失败底框.png
0 → 100644
View file @
4d05e251
1.99 KB
assets/sceneBundle/games/commonView/image/other/弹窗-失败底框.png.meta
0 → 100644
View file @
4d05e251
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "907d3eef-24d2-416a-a2b5-c9e0c6021b89",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "907d3eef-24d2-416a-a2b5-c9e0c6021b89@6c48a",
"displayName": "弹窗-失败底框",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "907d3eef-24d2-416a-a2b5-c9e0c6021b89"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "907d3eef-24d2-416a-a2b5-c9e0c6021b89@f9941",
"displayName": "弹窗-失败底框",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 600,
"height": 460,
"rawWidth": 600,
"rawHeight": 460,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "907d3eef-24d2-416a-a2b5-c9e0c6021b89@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "907d3eef-24d2-416a-a2b5-c9e0c6021b89@f9941"
}
}
assets/sceneBundle/games/commonView/image/other/弹窗-成功底框.png
0 → 100644
View file @
4d05e251
1.98 KB
assets/sceneBundle/games/commonView/image/other/弹窗-成功底框.png.meta
0 → 100644
View file @
4d05e251
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "15867b35-0a2a-405e-88bc-632307c981bf",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "15867b35-0a2a-405e-88bc-632307c981bf@6c48a",
"displayName": "弹窗-成功底框",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "15867b35-0a2a-405e-88bc-632307c981bf"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "15867b35-0a2a-405e-88bc-632307c981bf@f9941",
"displayName": "弹窗-成功底框",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 600,
"height": 460,
"rawWidth": 600,
"rawHeight": 460,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "15867b35-0a2a-405e-88bc-632307c981bf@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "15867b35-0a2a-405e-88bc-632307c981bf@f9941"
}
}
assets/sceneBundle/games/commonView/image/other/恭喜你闯关成功!.png
0 → 100644
View file @
4d05e251
3.82 KB
assets/sceneBundle/games/commonView/image/other/恭喜你闯关成功!.png.meta
0 → 100644
View file @
4d05e251
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "883c6d5c-3d8b-4062-8e80-cf571f4de7ec",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "883c6d5c-3d8b-4062-8e80-cf571f4de7ec@6c48a",
"displayName": "恭喜你闯关成功!",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "883c6d5c-3d8b-4062-8e80-cf571f4de7ec"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "883c6d5c-3d8b-4062-8e80-cf571f4de7ec@f9941",
"displayName": "恭喜你闯关成功!",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 459,
"height": 59,
"rawWidth": 459,
"rawHeight": 59,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "883c6d5c-3d8b-4062-8e80-cf571f4de7ec@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "883c6d5c-3d8b-4062-8e80-cf571f4de7ec@f9941"
}
}
assets/sceneBundle/games/commonView/image/other/本次闯关失败!.png
0 → 100644
View file @
4d05e251
3.51 KB
assets/sceneBundle/games/commonView/image/other/本次闯关失败!.png.meta
0 → 100644
View file @
4d05e251
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "dff27926-3176-4437-a583-d5fb7accc7cb",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "dff27926-3176-4437-a583-d5fb7accc7cb@6c48a",
"displayName": "本次闯关失败!",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "dff27926-3176-4437-a583-d5fb7accc7cb"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "dff27926-3176-4437-a583-d5fb7accc7cb@f9941",
"displayName": "本次闯关失败!",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 396,
"height": 60,
"rawWidth": 396,
"rawHeight": 60,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "dff27926-3176-4437-a583-d5fb7accc7cb@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "dff27926-3176-4437-a583-d5fb7accc7cb@f9941"
}
}
assets/sceneBundle/games/commonView/prefab/ScoreFailView.prefab
0 → 100644
View file @
4d05e251
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false
},
{
"__type__": "cc.Node",
"_name": "ScoreFailView",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 12
},
{
"__id__": 18
},
{
"__id__": 24
},
{
"__id__": 30
},
{
"__id__": 36
},
{
"__id__": 42
},
{
"__id__": 48
}
],
"_active": true,
"_components": [
{
"__id__": 54
},
{
"__id__": 56
},
{
"__id__": 58
}
],
"_prefab": {
"__id__": 60
},
"_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__": 11
},
"_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": 80
},
"_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": "59yGQ7ONBNF7lGrQvrC9Vn"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "250UAsRSNNT6lvXf1k35ZS"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "abmYJmN2RPB5E2/fE4ATzx"
},
{
"__type__": "cc.Node",
"_name": "弹窗-失败底框",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
},
{
"__id__": 15
}
],
"_prefab": {
"__id__": 17
},
"_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__": 12
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_contentSize": {
"__type__": "cc.Size",
"width": 600,
"height": 460
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"__prefab": {
"__id__": 16
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "907d3eef-24d2-416a-a2b5-c9e0c6021b89@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c0p94AVdVI7IFij5Iu91p1"
},
{
"__type__": "cc.Node",
"_name": "本次闯关失败!",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
},
{
"__id__": 21
}
],
"_prefab": {
"__id__": 23
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 134.565,
"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__": 18
},
"_enabled": true,
"__prefab": {
"__id__": 20
},
"_contentSize": {
"__type__": "cc.Size",
"width": 396,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
},
"_enabled": true,
"__prefab": {
"__id__": 22
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "dff27926-3176-4437-a583-d5fb7accc7cb@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d5BEkZAC5CEqoo1/PET4V6"
},
{
"__type__": "cc.Node",
"_name": "default_radio_button_off",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 25
},
{
"__id__": 27
}
],
"_prefab": {
"__id__": 29
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -136.684,
"y": -6.79,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1.5,
"y": 1.5,
"z": 1
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"__prefab": {
"__id__": 26
},
"_contentSize": {
"__type__": "cc.Size",
"width": 26,
"height": 26
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"__prefab": {
"__id__": 28
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 228,
"g": 116,
"b": 73,
"a": 255
},
"_spriteFrame": {
"__uuid__": "f12a23c4-b924-4322-a260-3d982428f1e8@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "2fbBRCzQxLw5g6bdhfgNb0"
},
{
"__type__": "cc.Node",
"_name": "default_radio_button_off-001",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 31
},
{
"__id__": 33
}
],
"_prefab": {
"__id__": 35
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -92.692,
"y": -58.675,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1.5,
"y": 1.5,
"z": 1
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"__prefab": {
"__id__": 32
},
"_contentSize": {
"__type__": "cc.Size",
"width": 26,
"height": 26
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"__prefab": {
"__id__": 34
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 228,
"g": 116,
"b": 73,
"a": 255
},
"_spriteFrame": {
"__uuid__": "f12a23c4-b924-4322-a260-3d982428f1e8@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "fdKRtN7cxCK4PFQgh1FZJ+"
},
{
"__type__": "cc.Node",
"_name": "scoreLab",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 37
},
{
"__id__": 39
}
],
"_prefab": {
"__id__": 41
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -84.105,
"y": -6.79,
"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__": 36
},
"_enabled": true,
"__prefab": {
"__id__": 38
},
"_contentSize": {
"__type__": "cc.Size",
"width": 264.49,
"height": 52.92
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
},
"_enabled": true,
"__prefab": {
"__id__": 40
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_string": "最终成绩:20s",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 42,
"_overflow": 0,
"_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": "bekJ8vMaRDsLnJOxJ5iiDK"
},
{
"__type__": "cc.Node",
"_name": "evaluationLab",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 43
},
{
"__id__": 45
}
],
"_prefab": {
"__id__": 47
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -40.113,
"y": -60.675,
"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__": 42
},
"_enabled": true,
"__prefab": {
"__id__": 44
},
"_contentSize": {
"__type__": "cc.Size",
"width": 146.68,
"height": 52.92
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
},
"_enabled": true,
"__prefab": {
"__id__": 46
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_string": "评价:S",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 42,
"_overflow": 0,
"_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": "4ap5wuZ0ZL8Iv6neAgJbhE"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 49
},
{
"__id__": 51
}
],
"_prefab": {
"__id__": 53
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -183.732,
"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__": 48
},
"_enabled": true,
"__prefab": {
"__id__": 50
},
"_contentSize": {
"__type__": "cc.Size",
"width": 287.52,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
},
"_enabled": true,
"__prefab": {
"__id__": 52
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 139,
"g": 139,
"b": 139,
"a": 255
},
"_string": "请耐心等待队友答完~",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 30,
"_fontSize": 30,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_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": "84084mKolAuY+2HQ2mo/pn"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 55
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1334,
"height": 750
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d2ywqPOadPjbyoTWhMNK39"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 57
},
"_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": "18rCTIDERCyJe484YFhbtM"
},
{
"__type__": "85443KsDdxKp4YZcYjRrwcB",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 59
},
"scoreLab": {
"__id__": 39
},
"evaluationLab": {
"__id__": 45
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0f3i4T2GVPgI6ngKFQgr12"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "33507urzZPP7VwNo3c1U7G"
}
]
\ No newline at end of file
assets/sceneBundle/games/commonView/prefab/ScoreFailView.prefab.meta
0 → 100644
View file @
4d05e251
{
"ver": "1.1.27",
"importer": "prefab",
"imported": true,
"uuid": "f8f72ce3-6052-4d2c-8b97-f01c2abb9f54",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "ScoreFailView"
}
}
assets/sceneBundle/games/commonView/prefab/ScoreSuccView.prefab
0 → 100644
View file @
4d05e251
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false
},
{
"__type__": "cc.Node",
"_name": "ScoreSuccView",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 12
},
{
"__id__": 18
},
{
"__id__": 24
},
{
"__id__": 30
},
{
"__id__": 36
},
{
"__id__": 42
},
{
"__id__": 48
}
],
"_active": true,
"_components": [
{
"__id__": 54
},
{
"__id__": 56
},
{
"__id__": 58
}
],
"_prefab": {
"__id__": 60
},
"_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__": 11
},
"_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": 80
},
"_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": "59yGQ7ONBNF7lGrQvrC9Vn"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "250UAsRSNNT6lvXf1k35ZS"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "9aZXcGpxdKiZfEIw3lLPSM"
},
{
"__type__": "cc.Node",
"_name": "弹窗-成功底框",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
},
{
"__id__": 15
}
],
"_prefab": {
"__id__": 17
},
"_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__": 12
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_contentSize": {
"__type__": "cc.Size",
"width": 600,
"height": 460
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"__prefab": {
"__id__": 16
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "15867b35-0a2a-405e-88bc-632307c981bf@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "6578M0+BxLlJ0NFl2V+cNp"
},
{
"__type__": "cc.Node",
"_name": "恭喜你闯关成功!",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
},
{
"__id__": 21
}
],
"_prefab": {
"__id__": 23
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 139.474,
"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__": 18
},
"_enabled": true,
"__prefab": {
"__id__": 20
},
"_contentSize": {
"__type__": "cc.Size",
"width": 459,
"height": 59
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
},
"_enabled": true,
"__prefab": {
"__id__": 22
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "883c6d5c-3d8b-4062-8e80-cf571f4de7ec@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "60bR2AVydKk5gU2JMbYi2O"
},
{
"__type__": "cc.Node",
"_name": "default_radio_button_off",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 25
},
{
"__id__": 27
}
],
"_prefab": {
"__id__": 29
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -136.684,
"y": -6.79,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1.5,
"y": 1.5,
"z": 1
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"__prefab": {
"__id__": 26
},
"_contentSize": {
"__type__": "cc.Size",
"width": 26,
"height": 26
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"__prefab": {
"__id__": 28
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 228,
"g": 116,
"b": 73,
"a": 255
},
"_spriteFrame": {
"__uuid__": "f12a23c4-b924-4322-a260-3d982428f1e8@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "2aAX9NRQBDtpnzk6vEmoH3"
},
{
"__type__": "cc.Node",
"_name": "default_radio_button_off-001",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 31
},
{
"__id__": 33
}
],
"_prefab": {
"__id__": 35
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -99.161,
"y": -36.679,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1.5,
"y": 1.5,
"z": 1
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"__prefab": {
"__id__": 32
},
"_contentSize": {
"__type__": "cc.Size",
"width": 26,
"height": 26
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"__prefab": {
"__id__": 34
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 228,
"g": 116,
"b": 73,
"a": 255
},
"_spriteFrame": {
"__uuid__": "f12a23c4-b924-4322-a260-3d982428f1e8@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "30Sm4zAb1LUqeF39fBLY+z"
},
{
"__type__": "cc.Node",
"_name": "scoreLab",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 37
},
{
"__id__": 39
}
],
"_prefab": {
"__id__": 41
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -84.105,
"y": -6.79,
"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__": 36
},
"_enabled": true,
"__prefab": {
"__id__": 38
},
"_contentSize": {
"__type__": "cc.Size",
"width": 264.49,
"height": 52.92
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
},
"_enabled": true,
"__prefab": {
"__id__": 40
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_string": "最终成绩:20s",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 42,
"_overflow": 0,
"_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": "43SDl2xUBDyL9UWar48JcQ"
},
{
"__type__": "cc.Node",
"_name": "evaluationLab",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 43
},
{
"__id__": 45
}
],
"_prefab": {
"__id__": 47
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -46.582,
"y": -38.679,
"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__": 42
},
"_enabled": true,
"__prefab": {
"__id__": 44
},
"_contentSize": {
"__type__": "cc.Size",
"width": 146.68,
"height": 52.92
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
},
"_enabled": true,
"__prefab": {
"__id__": 46
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_string": "评价:S",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 42,
"_overflow": 0,
"_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": "36eMC3kPhNs6tomFR/qhbn"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 49
},
{
"__id__": 51
}
],
"_prefab": {
"__id__": 53
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -183.732,
"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__": 48
},
"_enabled": true,
"__prefab": {
"__id__": 50
},
"_contentSize": {
"__type__": "cc.Size",
"width": 287.52,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
},
"_enabled": true,
"__prefab": {
"__id__": 52
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 139,
"g": 139,
"b": 139,
"a": 255
},
"_string": "请耐心等待队友答完~",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 30,
"_fontSize": 30,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_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": "94C8dbSoNGboLShQtvdSZA"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 55
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1334,
"height": 750
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d2ywqPOadPjbyoTWhMNK39"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 57
},
"_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": "18rCTIDERCyJe484YFhbtM"
},
{
"__type__": "6b128kAdXZKv4BaJYhUVsr6",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 59
},
"scoreLab": {
"__id__": 39
},
"evaluationLab": {
"__id__": 45
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fd7XeHZjlDWJATAOD0qNcl"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "3bPQhkLBRN2qSNhblBBi4M"
}
]
\ No newline at end of file
assets/sceneBundle/games/commonView/prefab/ScoreSuccView.prefab.meta
0 → 100644
View file @
4d05e251
{
"ver": "1.1.27",
"importer": "prefab",
"imported": true,
"uuid": "8c7b7c1c-6f39-43f2-a1b5-8e3c7c16f684",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "ScoreSuccView"
}
}
assets/sceneBundle/games/commonView/script/ScoreFailView.ts
0 → 100644
View file @
4d05e251
import
{
_decorator
,
Component
,
Node
,
Label
}
from
'cc'
;
const
{
ccclass
,
property
}
=
_decorator
;
@
ccclass
(
'ScoreFailView'
)
export
class
ScoreFailView
extends
Component
{
// [1]
@
property
(
Label
)
scoreLab
:
Label
=
null
!
;
@
property
(
Label
)
evaluationLab
:
Label
=
null
!
;
start
()
{
// [3]
}
setData
(
time
:
number
,
evaluation
:
string
){
this
.
scoreLab
.
string
=
`最终成绩:
${
time
.
toFixed
(
1
)}
s`
;
this
.
evaluationLab
.
string
=
`评价:
${
evaluation
}
`
;
}
}
/**
* [1] Class member could be defined like this.
* [2] Use `property` decorator if your want the member to be serializable.
* [3] Your initialization goes here.
* [4] Your update function goes here.
*
* Learn more about scripting: https://docs.cocos.com/creator/3.0/manual/en/scripting/
* Learn more about CCClass: https://docs.cocos.com/creator/3.0/manual/en/scripting/ccclass.html
* Learn more about life-cycle callbacks: https://docs.cocos.com/creator/3.0/manual/en/scripting/life-cycle-callbacks.html
*/
assets/sceneBundle/games/commonView/script/ScoreFailView.ts.meta
0 → 100644
View file @
4d05e251
{
"ver": "4.0.22",
"importer": "typescript",
"imported": true,
"uuid": "854432ac-0ddc-4aa7-8619-7188d1af0701",
"files": [],
"subMetas": {},
"userData": {}
}
assets/sceneBundle/games/commonView/script/ScoreSuccView.ts
0 → 100644
View file @
4d05e251
import
{
_decorator
,
Component
,
Node
,
Label
}
from
'cc'
;
const
{
ccclass
,
property
}
=
_decorator
;
@
ccclass
(
'ScoreSuccView'
)
export
class
ScoreSuccView
extends
Component
{
@
property
(
Label
)
scoreLab
:
Label
=
null
!
;
@
property
(
Label
)
evaluationLab
:
Label
=
null
!
;
start
()
{
// [3]
}
setData
(
time
:
number
,
evaluation
:
string
){
this
.
scoreLab
.
string
=
`最终成绩:
${
time
.
toFixed
(
1
)}
s`
;
this
.
evaluationLab
.
string
=
`评价:
${
evaluation
}
`
;
}
// update (deltaTime: number) {
// // [4]
// }
}
assets/sceneBundle/games/commonView/script/ScoreSuccView.ts.meta
0 → 100644
View file @
4d05e251
{
"ver": "4.0.22",
"importer": "typescript",
"imported": true,
"uuid": "6b128900-7576-4abf-805a-25885456cafa",
"files": [],
"subMetas": {},
"userData": {}
}
assets/startFolder/FaceRecognition_1.scene
View file @
4d05e251
...
...
@@ -24,7 +24,7 @@
"__id__": 7
},
{
"__id__":
68
"__id__":
81
}
],
"_active": true,
...
...
@@ -32,7 +32,7 @@
"_prefab": null,
"autoReleaseAssets": false,
"_globals": {
"__id__":
71
"__id__":
84
},
"_id": "da15b8d1-f87c-403a-a988-0d868c220326"
},
...
...
@@ -210,21 +210,24 @@
},
{
"__id__": 16
},
{
"__id__": 61
}
],
"_active": true,
"_components": [
{
"__id__":
61
"__id__":
74
},
{
"__id__":
63
"__id__":
76
},
{
"__id__":
65
"__id__":
78
},
{
"__id__":
67
"__id__":
80
}
],
"_prefab": null,
...
...
@@ -1608,17 +1611,357 @@
"_lockFlags": 0,
"_id": "14p5IC8jtLXJHhyrJEhA97"
},
{
"__type__": "cc.Node",
"_name": "按钮",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 62
}
],
"_active": true,
"_components": [
{
"__id__": 67
},
{
"__id__": 69
},
{
"__id__": 71
},
{
"__id__": 73
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 504.826,
"y": -280.643,
"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": "08Efc14CxN+pLjxRGzmy8A"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 61
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 63
},
{
"__id__": 65
}
],
"_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": "dbcCq+V7VKS6VyJUELlBg4"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
7
"__id__":
62
},
"_enabled": true,
"__prefab": {
"__id__": 64
},
"_contentSize": {
"__type__": "cc.Size",
"width": 160,
"height": 52.92
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "958ZKkPrNLUYASQt1i64YJ"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
},
"_enabled": true,
"__prefab": {
"__id__": 66
},
"_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": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 42,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_id": "10O0XNvCZMQpuGcdjqF9fB"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2frm37uaJHQr0AEEaYyM82"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"__prefab": {
"__id__": 68
},
"_contentSize": {
"__type__": "cc.Size",
"width": 262,
"height": 92
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "1bae6I7ptOgqzlXtIwtVme"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_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
},
"_spriteFrame": {
"__uuid__": "d458ca81-0b9f-49b9-99f8-3ccbf8b87331@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "acCviH0RRMQoMKYL3mmVDa"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"__prefab": null,
"clickEvents": [
{
"__id__": 72
}
],
"_interactable": true,
"_transition": 3,
"_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__": "d458ca81-0b9f-49b9-99f8-3ccbf8b87331@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 0.85,
"_target": null,
"_id": "59U9sfhohF07nb39nNB1/k"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 7
},
"component": "",
"_componentId": "40181kRIdBO8JWSVontWBF/",
"handler": "showGameDesc",
"customEventData": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 36,
"_target": null,
"_left": 1040.826,
"_right": 31.173999999999978,
"_top": 0,
"_bottom": 48.35700000000003,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 262,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "55mvDHvjBDZaQQj+zHDNZx"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_enabled": true,
"__prefab": {
"__id__": 75
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1334,
...
...
@@ -1644,7 +1987,7 @@
},
"_enabled": true,
"__prefab": {
"__id__":
64
"__id__":
77
},
"_cameraComponent": {
"__id__": 9
...
...
@@ -1665,7 +2008,7 @@
},
"_enabled": true,
"__prefab": {
"__id__":
66
"__id__":
79
},
"_alignFlags": 45,
"_target": null,
...
...
@@ -1701,9 +2044,9 @@
"_enabled": true,
"__prefab": null,
"gameId": 5001,
"totalTime":
9
0,
"totalTime":
6
0,
"oneScore": 1,
"succScore":
2
0,
"succScore":
1
0,
"curScoreLab": {
"__id__": 27
},
...
...
@@ -1735,10 +2078,10 @@
"_active": true,
"_components": [
{
"__id__":
69
"__id__":
82
},
{
"__id__":
70
"__id__":
83
}
],
"_prefab": null,
...
...
@@ -1775,7 +2118,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
68
"__id__":
81
},
"_enabled": true,
"__prefab": null,
...
...
@@ -1790,28 +2133,28 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
68
"__id__":
81
},
"_enabled": true,
"__prefab": null,
"audioSource": {
"__id__":
69
"__id__":
82
},
"_id": "18RXqvEVtPX7aZDv9zO3vq"
},
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__":
72
"__id__":
85
},
"shadows": {
"__id__":
73
"__id__":
86
},
"_skybox": {
"__id__":
74
"__id__":
87
},
"fog": {
"__id__":
75
"__id__":
88
}
},
{
...
...
assets/startFolder/script/common/ViewDef.ts
View file @
4d05e251
...
...
@@ -72,6 +72,12 @@ interface ViewPathItf {
DmfDescView
:
ViewPathUnitItf
,
//环形幻方游戏说明弹窗
RingSumDescView
:
ViewPathUnitItf
,
//人脸识别说明弹窗
FaceRgGameDescView
:
ViewPathUnitItf
,
//失败弹窗
ScoreFailView
:
ViewPathUnitItf
,
//成功弹窗
ScoreSuccView
:
ViewPathUnitItf
,
//测试弹窗
TestView_1
:
ViewPathUnitItf
}
...
...
@@ -212,4 +218,18 @@ export const VIEW_DEF: ViewPathItf = {
bundleName
:
"sceneBundle"
,
path
:
"games/ringSum/prefab/RingSumDescView"
,
},
FaceRgGameDescView
:
{
bundleName
:
"sceneBundle"
,
path
:
"games/FaceRecognition/prefab/FaceRgGameDescView"
,
},
//失败弹窗
ScoreFailView
:
{
bundleName
:
"sceneBundle"
,
path
:
"games/commonView/prefab/ScoreFailView"
,
},
//成功弹窗
ScoreSuccView
:
{
bundleName
:
"sceneBundle"
,
path
:
"games/commonView/prefab/ScoreSuccView"
,
},
}
\ 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