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
1360c507
Commit
1360c507
authored
Dec 08, 2021
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
换了图片
parent
0fa2839c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
908 additions
and
21 deletions
+908
-21
凯伦.png
assets/sceneBundle/games/FaceRecognition/image/face/凯伦.png
+0
-0
凯伦.png.meta
.../sceneBundle/games/FaceRecognition/image/face/凯伦.png.meta
+74
-0
塞德里.png
assets/sceneBundle/games/FaceRecognition/image/face/塞德里.png
+0
-0
塞德里.png.meta
...sceneBundle/games/FaceRecognition/image/face/塞德里.png.meta
+74
-0
壮壮.png
assets/sceneBundle/games/FaceRecognition/image/face/壮壮.png
+0
-0
壮壮.png.meta
.../sceneBundle/games/FaceRecognition/image/face/壮壮.png.meta
+74
-0
巧月.png
assets/sceneBundle/games/FaceRecognition/image/face/巧月.png
+0
-0
巧月.png.meta
.../sceneBundle/games/FaceRecognition/image/face/巧月.png.meta
+74
-0
幂团子.png
assets/sceneBundle/games/FaceRecognition/image/face/幂团子.png
+0
-0
幂团子.png.meta
...sceneBundle/games/FaceRecognition/image/face/幂团子.png.meta
+74
-0
海洛.png
assets/sceneBundle/games/FaceRecognition/image/face/海洛.png
+0
-0
海洛.png.meta
.../sceneBundle/games/FaceRecognition/image/face/海洛.png.meta
+74
-0
神叨侠.png
assets/sceneBundle/games/FaceRecognition/image/face/神叨侠.png
+0
-0
神叨侠.png.meta
...sceneBundle/games/FaceRecognition/image/face/神叨侠.png.meta
+74
-0
菲尔德.png
assets/sceneBundle/games/FaceRecognition/image/face/菲尔德.png
+0
-0
菲尔德.png.meta
...sceneBundle/games/FaceRecognition/image/face/菲尔德.png.meta
+74
-0
菲斯.png
assets/sceneBundle/games/FaceRecognition/image/face/菲斯.png
+0
-0
菲斯.png.meta
.../sceneBundle/games/FaceRecognition/image/face/菲斯.png.meta
+74
-0
阿槑.png
assets/sceneBundle/games/FaceRecognition/image/face/阿槑.png
+0
-0
阿槑.png.meta
.../sceneBundle/games/FaceRecognition/image/face/阿槑.png.meta
+74
-0
底图.png
assets/sceneBundle/games/FaceRecognition/image/底图.png
+0
-0
底图.png.meta
assets/sceneBundle/games/FaceRecognition/image/底图.png.meta
+74
-0
FaceRecognition_1.scene
...undle/games/FaceRecognition/scene/FaceRecognition_1.scene
+0
-0
FaceRecognitionCtr.ts
...Bundle/games/FaceRecognition/script/FaceRecognitionCtr.ts
+20
-19
PersonIfo.ts
assets/sceneBundle/games/FaceRecognition/script/PersonIfo.ts
+74
-2
No files found.
assets/sceneBundle/games/FaceRecognition/image/face/凯伦.png
0 → 100644
View file @
1360c507
11.1 KB
assets/sceneBundle/games/FaceRecognition/image/face/凯伦.png.meta
0 → 100644
View file @
1360c507
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "ee53400b-545f-4224-89ec-b44c2c233df3",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ee53400b-545f-4224-89ec-b44c2c233df3@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": "ee53400b-545f-4224-89ec-b44c2c233df3"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ee53400b-545f-4224-89ec-b44c2c233df3@f9941",
"displayName": "凯伦",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 212,
"height": 260,
"rawWidth": 212,
"rawHeight": 260,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "ee53400b-545f-4224-89ec-b44c2c233df3@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "ee53400b-545f-4224-89ec-b44c2c233df3@f9941"
}
}
assets/sceneBundle/games/FaceRecognition/image/face/塞德里.png
0 → 100644
View file @
1360c507
11.6 KB
assets/sceneBundle/games/FaceRecognition/image/face/塞德里.png.meta
0 → 100644
View file @
1360c507
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "dfce335f-58ff-4024-91a3-7e6aad88ec71",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "dfce335f-58ff-4024-91a3-7e6aad88ec71@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": "dfce335f-58ff-4024-91a3-7e6aad88ec71"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "dfce335f-58ff-4024-91a3-7e6aad88ec71@f9941",
"displayName": "塞德里",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 212,
"height": 260,
"rawWidth": 212,
"rawHeight": 260,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "dfce335f-58ff-4024-91a3-7e6aad88ec71@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "dfce335f-58ff-4024-91a3-7e6aad88ec71@f9941"
}
}
assets/sceneBundle/games/FaceRecognition/image/face/壮壮.png
0 → 100644
View file @
1360c507
11.3 KB
assets/sceneBundle/games/FaceRecognition/image/face/壮壮.png.meta
0 → 100644
View file @
1360c507
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "8fbf7abc-68ad-406b-abbf-d3ee1e7eb0b8",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "8fbf7abc-68ad-406b-abbf-d3ee1e7eb0b8@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": "8fbf7abc-68ad-406b-abbf-d3ee1e7eb0b8"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "8fbf7abc-68ad-406b-abbf-d3ee1e7eb0b8@f9941",
"displayName": "壮壮",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 212,
"height": 260,
"rawWidth": 212,
"rawHeight": 260,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "8fbf7abc-68ad-406b-abbf-d3ee1e7eb0b8@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "8fbf7abc-68ad-406b-abbf-d3ee1e7eb0b8@f9941"
}
}
assets/sceneBundle/games/FaceRecognition/image/face/巧月.png
0 → 100644
View file @
1360c507
10.9 KB
assets/sceneBundle/games/FaceRecognition/image/face/巧月.png.meta
0 → 100644
View file @
1360c507
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "9eaebea9-2e70-4be9-ac3a-b9e063a266ce",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "9eaebea9-2e70-4be9-ac3a-b9e063a266ce@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": "9eaebea9-2e70-4be9-ac3a-b9e063a266ce"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "9eaebea9-2e70-4be9-ac3a-b9e063a266ce@f9941",
"displayName": "巧月",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 212,
"height": 260,
"rawWidth": 212,
"rawHeight": 260,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "9eaebea9-2e70-4be9-ac3a-b9e063a266ce@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "9eaebea9-2e70-4be9-ac3a-b9e063a266ce@f9941"
}
}
assets/sceneBundle/games/FaceRecognition/image/face/幂团子.png
0 → 100644
View file @
1360c507
11.8 KB
assets/sceneBundle/games/FaceRecognition/image/face/幂团子.png.meta
0 → 100644
View file @
1360c507
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "d24298cf-b8b6-4c4d-a788-6e262780280e",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "d24298cf-b8b6-4c4d-a788-6e262780280e@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": "d24298cf-b8b6-4c4d-a788-6e262780280e"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "d24298cf-b8b6-4c4d-a788-6e262780280e@f9941",
"displayName": "幂团子",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 212,
"height": 260,
"rawWidth": 212,
"rawHeight": 260,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "d24298cf-b8b6-4c4d-a788-6e262780280e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "d24298cf-b8b6-4c4d-a788-6e262780280e@f9941"
}
}
assets/sceneBundle/games/FaceRecognition/image/face/海洛.png
0 → 100644
View file @
1360c507
11.4 KB
assets/sceneBundle/games/FaceRecognition/image/face/海洛.png.meta
0 → 100644
View file @
1360c507
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "c12cd91c-66e1-4825-8c69-22e3b0a1f75e",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "c12cd91c-66e1-4825-8c69-22e3b0a1f75e@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": "c12cd91c-66e1-4825-8c69-22e3b0a1f75e"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "c12cd91c-66e1-4825-8c69-22e3b0a1f75e@f9941",
"displayName": "海洛",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 212,
"height": 260,
"rawWidth": 212,
"rawHeight": 260,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "c12cd91c-66e1-4825-8c69-22e3b0a1f75e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "c12cd91c-66e1-4825-8c69-22e3b0a1f75e@f9941"
}
}
assets/sceneBundle/games/FaceRecognition/image/face/神叨侠.png
0 → 100644
View file @
1360c507
11.9 KB
assets/sceneBundle/games/FaceRecognition/image/face/神叨侠.png.meta
0 → 100644
View file @
1360c507
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "8135c13c-c300-4c6a-b682-5365da8bba1a",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "8135c13c-c300-4c6a-b682-5365da8bba1a@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": "8135c13c-c300-4c6a-b682-5365da8bba1a"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "8135c13c-c300-4c6a-b682-5365da8bba1a@f9941",
"displayName": "神叨侠",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 212,
"height": 260,
"rawWidth": 212,
"rawHeight": 260,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "8135c13c-c300-4c6a-b682-5365da8bba1a@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "8135c13c-c300-4c6a-b682-5365da8bba1a@f9941"
}
}
assets/sceneBundle/games/FaceRecognition/image/face/菲尔德.png
0 → 100644
View file @
1360c507
11.1 KB
assets/sceneBundle/games/FaceRecognition/image/face/菲尔德.png.meta
0 → 100644
View file @
1360c507
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "ac4ddf4e-7846-4e6b-bdd5-8b169ed88e6e",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ac4ddf4e-7846-4e6b-bdd5-8b169ed88e6e@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": "ac4ddf4e-7846-4e6b-bdd5-8b169ed88e6e"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ac4ddf4e-7846-4e6b-bdd5-8b169ed88e6e@f9941",
"displayName": "菲尔德",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 212,
"height": 260,
"rawWidth": 212,
"rawHeight": 260,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "ac4ddf4e-7846-4e6b-bdd5-8b169ed88e6e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "ac4ddf4e-7846-4e6b-bdd5-8b169ed88e6e@f9941"
}
}
assets/sceneBundle/games/FaceRecognition/image/face/菲斯.png
0 → 100644
View file @
1360c507
11.5 KB
assets/sceneBundle/games/FaceRecognition/image/face/菲斯.png.meta
0 → 100644
View file @
1360c507
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "473fbd03-6e07-4bd3-88ed-d33ac16af2fa",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "473fbd03-6e07-4bd3-88ed-d33ac16af2fa@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": "473fbd03-6e07-4bd3-88ed-d33ac16af2fa"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "473fbd03-6e07-4bd3-88ed-d33ac16af2fa@f9941",
"displayName": "菲斯",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 212,
"height": 260,
"rawWidth": 212,
"rawHeight": 260,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "473fbd03-6e07-4bd3-88ed-d33ac16af2fa@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "473fbd03-6e07-4bd3-88ed-d33ac16af2fa@f9941"
}
}
assets/sceneBundle/games/FaceRecognition/image/face/阿槑.png
0 → 100644
View file @
1360c507
11.9 KB
assets/sceneBundle/games/FaceRecognition/image/face/阿槑.png.meta
0 → 100644
View file @
1360c507
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "bb1a614c-bfc2-4021-8e3b-7e84571e62f1",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "bb1a614c-bfc2-4021-8e3b-7e84571e62f1@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": "bb1a614c-bfc2-4021-8e3b-7e84571e62f1"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "bb1a614c-bfc2-4021-8e3b-7e84571e62f1@f9941",
"displayName": "阿槑",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 212,
"height": 260,
"rawWidth": 212,
"rawHeight": 260,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "bb1a614c-bfc2-4021-8e3b-7e84571e62f1@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "bb1a614c-bfc2-4021-8e3b-7e84571e62f1@f9941"
}
}
assets/sceneBundle/games/FaceRecognition/image/底图.png
0 → 100644
View file @
1360c507
18.4 KB
assets/sceneBundle/games/FaceRecognition/image/底图.png.meta
0 → 100644
View file @
1360c507
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "7635f2c2-e1ac-48fb-8a7e-bd106d9207dd",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "7635f2c2-e1ac-48fb-8a7e-bd106d9207dd@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": "7635f2c2-e1ac-48fb-8a7e-bd106d9207dd"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "7635f2c2-e1ac-48fb-8a7e-bd106d9207dd@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": "7635f2c2-e1ac-48fb-8a7e-bd106d9207dd@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": false,
"type": "sprite-frame",
"redirect": "7635f2c2-e1ac-48fb-8a7e-bd106d9207dd@f9941"
}
}
assets/sceneBundle/games/FaceRecognition/scene/FaceRecognition_1.scene
View file @
1360c507
This diff is collapsed.
Click to expand it.
assets/sceneBundle/games/FaceRecognition/script/FaceRecognitionCtr.ts
View file @
1360c507
import
{
_decorator
,
Component
,
Node
,
CCFloat
,
CCString
,
director
,
CCInteger
,
Label
,
find
,
Prefab
,
instantiate
}
from
'cc'
;
import
{
_decorator
,
Component
,
Node
,
CCFloat
,
CCString
,
director
,
CCInteger
,
Label
,
find
,
Prefab
,
instantiate
,
math
}
from
'cc'
;
import
{
AudioCtr
}
from
'../../../../startFolder/script/AudioCtr'
;
import
{
Utils
}
from
'../../../../startFolder/script/common/Utils'
;
import
{
VIEW_DEF
}
from
'../../../../startFolder/script/common/ViewDef'
;
...
...
@@ -15,7 +15,7 @@ import { FaceRgAnswerOneView } from './FaceRgAnswerOneView';
import
{
FaceRgAnswerTwoView
}
from
'./FaceRgAnswerTwoView'
;
import
{
FaceRgPersonCtr
}
from
'./FaceRgPersonCtr'
;
import
{
FaceRgWatchView
}
from
'./FaceRgWatchView'
;
import
{
boyImageArr
,
boyNameArr
,
girlImageArr
,
girlNameArr
,
PersonIfo
}
from
'./PersonIfo'
;
import
{
boyImageArr
,
boyNameArr
,
girlImageArr
,
girlNameArr
,
personArr
,
PersonIfo
}
from
'./PersonIfo'
;
const
{
ccclass
,
property
}
=
_decorator
;
enum
GAME_STATE
{
...
...
@@ -230,23 +230,24 @@ export class FaceRecognitionCtr extends Component {
//随机生成一个人物信息
creRandomPerson
(
id
:
number
):
PersonIfo
{
let
isBoy
=
Math
.
random
()
<
0.5
;
if
(
isBoy
)
{
return
{
id
:
id
,
sex
:
0
,
image
:
boyImageArr
[
Math
.
floor
(
Math
.
random
()
*
boyImageArr
.
length
)],
name
:
boyNameArr
[
Math
.
floor
(
Math
.
random
()
*
boyNameArr
.
length
)]
}
}
else
{
return
{
id
:
id
,
sex
:
1
,
image
:
girlImageArr
[
Math
.
floor
(
Math
.
random
()
*
girlImageArr
.
length
)],
name
:
girlNameArr
[
Math
.
floor
(
Math
.
random
()
*
girlNameArr
.
length
)]
}
}
// let isBoy = Math.random() < 0.5;
// if (isBoy) {
// return {
// id: id,
// sex: 0,
// image: boyImageArr[Math.floor(Math.random() * boyImageArr.length)],
// name: boyNameArr[Math.floor(Math.random() * boyNameArr.length)]
// }
// }
// else {
// return {
// id: id,
// sex: 1,
// image: girlImageArr[Math.floor(Math.random() * girlImageArr.length)],
// name: girlNameArr[Math.floor(Math.random() * girlNameArr.length)]
// }
// }
return
personArr
[
math
.
randomRangeInt
(
0
,
personArr
.
length
)];
}
//生成六个要展示的人物信息
...
...
assets/sceneBundle/games/FaceRecognition/script/PersonIfo.ts
View file @
1360c507
...
...
@@ -25,4 +25,76 @@ export const girlNameArr = ["麴菲菲", "汲芳芳", "厉未步", "松蓓莉",
,
"牛呤"
,
"习馨"
,
"麴秋"
,
"靳菲"
,
"于姑"
,
"桓叆"
,
"王雪"
,
"夏琬"
,
"孟婷"
,
"农巧"
,
"束菁"
,
"勾滟"
,
"居淑"
,
"文琬"
,
"那融"
,
"仰心"
,
"双芝"
,
"邴奴"
,
"勾露"
,
"杜林"
,
"瑕吕花"
,
"东关云"
,
"庚桑淼"
,
"同蹄馡"
,
"郭公银"
,
"胡母园"
,
"毌丘娅"
,
"高辛飘"
,
"女娲素"
,
"公玉怜"
,
"西乡娘"
,
"叔孙虹"
,
"有琴淑"
,
"公若文"
,
"无钩惠"
,
"季孙嫦"
,
"韩婴评"
,
"由吾喜"
,
"素和香"
,
"大庭萱"
];
\ No newline at end of file
,
"西乡娘"
,
"叔孙虹"
,
"有琴淑"
,
"公若文"
,
"无钩惠"
,
"季孙嫦"
,
"韩婴评"
,
"由吾喜"
,
"素和香"
,
"大庭萱"
];
export
const
personArr
:
PersonIfo
[]
=
[
{
id
:
0
,
sex
:
0
,
image
:
"凯伦"
,
name
:
"凯伦"
},
{
id
:
1
,
sex
:
0
,
image
:
"塞德里"
,
name
:
"塞德里"
},
{
id
:
2
,
sex
:
0
,
image
:
"壮壮"
,
name
:
"壮壮"
},
{
id
:
3
,
sex
:
0
,
image
:
"巧月"
,
name
:
"巧月"
},
{
id
:
4
,
sex
:
0
,
image
:
"幂团子"
,
name
:
"幂团子"
},
{
id
:
5
,
sex
:
0
,
image
:
"海洛"
,
name
:
"海洛"
},
{
id
:
6
,
sex
:
0
,
image
:
"神叨侠"
,
name
:
"神叨侠"
},
{
id
:
7
,
sex
:
0
,
image
:
"菲尔德"
,
name
:
"菲尔德"
},
{
id
:
8
,
sex
:
0
,
image
:
"菲斯"
,
name
:
"菲斯"
},
{
id
:
9
,
sex
:
0
,
image
:
"阿槑"
,
name
:
"阿槑"
}
]
\ 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