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
d20fd132
Commit
d20fd132
authored
Apr 08, 2022
by
徐行
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数式接龙准备修改逻辑
parent
99244032
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
673 additions
and
178 deletions
+673
-178
newImg.meta
assets/sceneBundle/games/formulaSolitaire/image/newImg.meta
+12
-0
点击可还原至初始状态.png
...Bundle/games/formulaSolitaire/image/newImg/点击可还原至初始状态.png
+0
-0
点击可还原至初始状态.png.meta
...e/games/formulaSolitaire/image/newImg/点击可还原至初始状态.png.meta
+74
-0
玩法说明.png
.../sceneBundle/games/formulaSolitaire/image/newImg/玩法说明.png
+0
-0
玩法说明.png.meta
...eBundle/games/formulaSolitaire/image/newImg/玩法说明.png.meta
+74
-0
算式结果.png
.../sceneBundle/games/formulaSolitaire/image/newImg/算式结果.png
+0
-0
算式结果.png.meta
...eBundle/games/formulaSolitaire/image/newImg/算式结果.png.meta
+74
-0
还原按钮.png
.../sceneBundle/games/formulaSolitaire/image/newImg/还原按钮.png
+0
-0
还原按钮.png.meta
...eBundle/games/formulaSolitaire/image/newImg/还原按钮.png.meta
+74
-0
FormulaSolitaire_1.scene
...dle/games/formulaSolitaire/scene/FormulaSolitaire_1.scene
+353
-167
FormulaSolitaireCtr.ts
...ndle/games/formulaSolitaire/script/FormulaSolitaireCtr.ts
+11
-10
TempCtr.ts
assets/startFolder/script/TempCtr.ts
+1
-1
No files found.
assets/sceneBundle/games/formulaSolitaire/image/newImg.meta
0 → 100644
View file @
d20fd132
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "fbe6252a-f841-4e3a-895b-019ccb60516c",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
assets/sceneBundle/games/formulaSolitaire/image/newImg/点击可还原至初始状态.png
0 → 100644
View file @
d20fd132
7.67 KB
assets/sceneBundle/games/formulaSolitaire/image/newImg/点击可还原至初始状态.png.meta
0 → 100644
View file @
d20fd132
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "cf24dab1-e8db-42e2-97ad-332fb1f691ee",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "cf24dab1-e8db-42e2-97ad-332fb1f691ee@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": "cf24dab1-e8db-42e2-97ad-332fb1f691ee"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "cf24dab1-e8db-42e2-97ad-332fb1f691ee@f9941",
"displayName": "点击可还原至初始状态",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 239,
"height": 23,
"rawWidth": 239,
"rawHeight": 23,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "cf24dab1-e8db-42e2-97ad-332fb1f691ee@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "cf24dab1-e8db-42e2-97ad-332fb1f691ee@f9941"
}
}
assets/sceneBundle/games/formulaSolitaire/image/newImg/玩法说明.png
0 → 100644
View file @
d20fd132
29.6 KB
assets/sceneBundle/games/formulaSolitaire/image/newImg/玩法说明.png.meta
0 → 100644
View file @
d20fd132
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "c3856754-81a6-46ff-9252-f35278ab1251",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "c3856754-81a6-46ff-9252-f35278ab1251@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": "c3856754-81a6-46ff-9252-f35278ab1251"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "c3856754-81a6-46ff-9252-f35278ab1251@f9941",
"displayName": "玩法说明",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 329,
"height": 238,
"rawWidth": 329,
"rawHeight": 238,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "c3856754-81a6-46ff-9252-f35278ab1251@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "c3856754-81a6-46ff-9252-f35278ab1251@f9941"
}
}
assets/sceneBundle/games/formulaSolitaire/image/newImg/算式结果.png
0 → 100644
View file @
d20fd132
9.15 KB
assets/sceneBundle/games/formulaSolitaire/image/newImg/算式结果.png.meta
0 → 100644
View file @
d20fd132
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "b52049b4-378d-41ac-952a-2e42a9e0e903",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "b52049b4-378d-41ac-952a-2e42a9e0e903@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": "b52049b4-378d-41ac-952a-2e42a9e0e903"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "b52049b4-378d-41ac-952a-2e42a9e0e903@f9941",
"displayName": "算式结果",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 226,
"height": 126,
"rawWidth": 226,
"rawHeight": 126,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "b52049b4-378d-41ac-952a-2e42a9e0e903@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "b52049b4-378d-41ac-952a-2e42a9e0e903@f9941"
}
}
assets/sceneBundle/games/formulaSolitaire/image/newImg/还原按钮.png
0 → 100644
View file @
d20fd132
3.83 KB
assets/sceneBundle/games/formulaSolitaire/image/newImg/还原按钮.png.meta
0 → 100644
View file @
d20fd132
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "eae58f84-994c-4204-9113-6b8930cf324a",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "eae58f84-994c-4204-9113-6b8930cf324a@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": "eae58f84-994c-4204-9113-6b8930cf324a"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "eae58f84-994c-4204-9113-6b8930cf324a@f9941",
"displayName": "还原按钮",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 280,
"height": 80,
"rawWidth": 280,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "eae58f84-994c-4204-9113-6b8930cf324a@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "eae58f84-994c-4204-9113-6b8930cf324a@f9941"
}
}
assets/sceneBundle/games/formulaSolitaire/scene/FormulaSolitaire_1.scene
View file @
d20fd132
...
...
@@ -29,7 +29,7 @@
"_prefab": null,
"autoReleaseAssets": false,
"_globals": {
"__id__": 10
2
"__id__": 10
9
},
"_id": "1cd9e018-8b35-4525-bca9-8418f7439cca"
},
...
...
@@ -221,22 +221,28 @@
"__id__": 61
},
{
"__id__": 79
"__id__": 67
},
{
"__id__": 85
},
{
"__id__": 91
}
],
"_active": true,
"_components": [
{
"__id__":
95
"__id__":
102
},
{
"__id__":
97
"__id__":
104
},
{
"__id__":
99
"__id__":
106
},
{
"__id__": 10
1
"__id__": 10
8
}
],
"_prefab": null,
...
...
@@ -775,7 +781,7 @@
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 51
1.457
,
"x": 51
2
,
"y": -109.40899999999999,
"z": 0
},
...
...
@@ -897,10 +903,10 @@
"a": 80
},
"_spriteFrame": {
"__uuid__": "
7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca
@f9941",
"__uuid__": "
b730527c-3233-41c2-aaf7-7cdab58f9749
@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type":
0
,
"_type":
1
,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
...
...
@@ -978,7 +984,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
84.51
,
"width":
63.38
,
"height": 52.92
},
"_anchorPoint": {
...
...
@@ -1010,15 +1016,15 @@
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 2
55
,
"b":
255
,
"g": 2
14
,
"b":
102
,
"a": 255
},
"_string": "label",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize":
4
0,
"_fontSize":
4
0,
"_actualFontSize":
3
0,
"_fontSize":
3
0,
"_fontFamily": "Arial",
"_lineHeight": 42,
"_overflow": 0,
...
...
@@ -1069,7 +1075,7 @@
"_alignFlags": 36,
"_target": null,
"_left": 0,
"_right": 15
.543000000000006
,
"_right": 15,
"_top": 0,
"_bottom": 205.591,
"_horizontalCenter": 0,
...
...
@@ -1656,6 +1662,156 @@
"_lockFlags": 0,
"_id": "bdgUo7irFBBpqziZWQwIqa"
},
{
"__type__": "cc.Node",
"_name": "玩法说明",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 62
},
{
"__id__": 64
},
{
"__id__": 66
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": -482.249,
"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": "249xaxLEFGC5wtEm18QDVz"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"__prefab": {
"__id__": 63
},
"_contentSize": {
"__type__": "cc.Size",
"width": 329,
"height": 238
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "92kzRyMttEgbWqNP/JivHr"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"__prefab": {
"__id__": 65
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "c3856754-81a6-46ff-9252-f35278ab1251@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": "b0yUZX6fBAvIUHwlB9SFAH"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 10,
"_target": null,
"_left": 20.250999999999976,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "7fZDCqBmtGqZeESkNIqhgp"
},
{
"__type__": "cc.Node",
"_name": "gameDescBtn",
...
...
@@ -1665,22 +1821,22 @@
},
"_children": [
{
"__id__": 6
2
"__id__": 6
8
},
{
"__id__":
67
"__id__":
73
}
],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__": 7
2
"__id__": 7
8
},
{
"__id__":
74
"__id__":
80
},
{
"__id__":
76
"__id__":
82
}
],
"_prefab": null,
...
...
@@ -1717,16 +1873,16 @@
"_name": "bgSpr",
"_objFlags": 0,
"_parent": {
"__id__": 6
1
"__id__": 6
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
3
"__id__": 6
9
},
{
"__id__":
65
"__id__":
71
}
],
"_prefab": null,
...
...
@@ -1763,11 +1919,11 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
2
"__id__": 6
8
},
"_enabled": true,
"__prefab": {
"__id__":
64
"__id__":
70
},
"_contentSize": {
"__type__": "cc.Size",
...
...
@@ -1790,11 +1946,11 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
2
"__id__": 6
8
},
"_enabled": true,
"__prefab": {
"__id__":
66
"__id__":
72
},
"_visFlags": 0,
"_customMaterial": null,
...
...
@@ -1835,16 +1991,16 @@
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 6
1
"__id__": 6
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
68
"__id__":
74
},
{
"__id__": 7
0
"__id__": 7
6
}
],
"_prefab": null,
...
...
@@ -1881,11 +2037,11 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
67
"__id__":
73
},
"_enabled": true,
"__prefab": {
"__id__":
69
"__id__":
75
},
"_contentSize": {
"__type__": "cc.Size",
...
...
@@ -1908,11 +2064,11 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
67
"__id__":
73
},
"_enabled": true,
"__prefab": {
"__id__": 7
1
"__id__": 7
7
},
"_visFlags": 0,
"_customMaterial": null,
...
...
@@ -1952,11 +2108,11 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
1
"__id__": 6
7
},
"_enabled": true,
"__prefab": {
"__id__": 7
3
"__id__": 7
9
},
"_contentSize": {
"__type__": "cc.Size",
...
...
@@ -1979,11 +2135,11 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
1
"__id__": 6
7
},
"_enabled": true,
"__prefab": {
"__id__":
75
"__id__":
81
},
"_alignFlags": 33,
"_target": null,
...
...
@@ -2014,15 +2170,15 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
1
"__id__": 6
7
},
"_enabled": true,
"__prefab": {
"__id__":
77
"__id__":
83
},
"clickEvents": [
{
"__id__":
78
"__id__":
84
}
],
"_interactable": true,
...
...
@@ -2080,82 +2236,29 @@
},
{
"__type__": "cc.Node",
"_name": "
resetBtn
",
"_name": "
点击可还原至初始状态
",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 80
},
{
"__id__": 85
}
],
"_children": [],
"_active": true,
"_components": [
{
"__id__": 90
},
{
"__id__": 92
"__id__": 86
},
{
"__id__": 94
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 519.364,
"y": -279.08299999999997,
"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": "b3uilBYsRJeadLzCsZLzm3"
},
{
"__type__": "cc.Node",
"_name": "bgSpr",
"_objFlags": 0,
"_parent": {
"__id__": 79
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 81
"__id__": 88
},
{
"__id__":
83
"__id__":
90
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x":
0
,
"y":
0
,
"x":
510.702
,
"y":
-221.737
,
"z": 0
},
"_lrot": {
...
...
@@ -2178,45 +2281,45 @@
"y": 0,
"z": 0
},
"_id": "
37QmisHnNNHpPRscruup14
"
"_id": "
72yJAzKE1MC7tNpuaa5ZUV
"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
0
"__id__": 8
5
},
"_enabled": true,
"__prefab": {
"__id__": 8
2
"__id__": 8
7
},
"_contentSize": {
"__type__": "cc.Size",
"width":
120
,
"height":
60
"width":
239
,
"height":
23
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "6
53cmRIbJEIIw50Upx2Vut
"
"_id": "6
8/56RcKBKTp/7rawolNuY
"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
55pCbtzR5GbojKMArZkfim
"
"fileId": "
f7NISe7HdAD68SLfhnddy8
"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
0
"__id__": 8
5
},
"_enabled": true,
"__prefab": {
"__id__": 8
4
"__id__": 8
9
},
"_visFlags": 0,
"_customMaterial": null,
...
...
@@ -2224,18 +2327,18 @@
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r":
0
,
"g":
0
,
"b":
0
,
"a":
120
"r":
255
,
"g":
255
,
"b":
255
,
"a":
255
},
"_spriteFrame": {
"__uuid__": "
7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca
@f9941",
"__uuid__": "
cf24dab1-e8db-42e2-97ad-332fb1f691ee
@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode":
0
,
"_sizeMode":
1
,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
...
...
@@ -2246,27 +2349,109 @@
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "
f5cE7G8YpA+ovHA26SPWdL
"
"_id": "
3fD+38/K9FmZGSE+XRujXV
"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "20UGQn4U9GUoln0NJQTkbG"
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 85
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 36,
"_target": null,
"_left": 0,
"_right": 36.798,
"_top": 0,
"_bottom": 141.763,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "d2pcIzOL5CWq7GGggC+Xb4"
},
{
"__type__": "cc.Node",
"_name": "
Label
",
"_name": "
resetBtn
",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 7
},
"_children": [
{
"__id__": 92
}
],
"_active": true,
"_components": [
{
"__id__": 97
},
{
"__id__": 99
},
{
"__id__": 101
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 512,
"y": -289.23900000000003,
"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": "b3uilBYsRJeadLzCsZLzm3"
},
{
"__type__": "cc.Node",
"_name": "bgSpr",
"_objFlags": 0,
"_parent": {
"__id__": 91
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
86
"__id__":
93
},
{
"__id__":
88
"__id__":
95
}
],
"_prefab": null,
...
...
@@ -2296,45 +2481,45 @@
"y": 0,
"z": 0
},
"_id": "3
emwrCuVdE1bXgM74cQsOA
"
"_id": "3
7QmisHnNNHpPRscruup14
"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
85
"__id__":
92
},
"_enabled": true,
"__prefab": {
"__id__":
87
"__id__":
94
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height":
50.4
"width":
2
80,
"height":
80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "
e57LzoVCFGUqggRPuuBWqh
"
"_id": "
653cmRIbJEIIw50Upx2Vut
"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "
c68UOAlNhN171Umca6yVvF
"
"fileId": "
55pCbtzR5GbojKMArZkfim
"
},
{
"__type__": "cc.
Label
",
"__type__": "cc.
Sprite
",
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
85
"__id__":
92
},
"_enabled": true,
"__prefab": {
"__id__":
89
"__id__":
96
},
"_visFlags": 0,
"_customMaterial": null,
...
...
@@ -2347,43 +2532,44 @@
"b": 255,
"a": 255
},
"_string": "还原",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_id": "84DoofcsNKhowq8NgUCXkc"
"_spriteFrame": {
"__uuid__": "eae58f84-994c-4204-9113-6b8930cf324a@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": "f5cE7G8YpA+ovHA26SPWdL"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2
frm37uaJHQr0AEEaYyM82
"
"fileId": "2
0UGQn4U9GUoln0NJQTkbG
"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
79
"__id__":
91
},
"_enabled": true,
"__prefab": {
"__id__": 9
1
"__id__": 9
8
},
"_contentSize": {
"__type__": "cc.Size",
"width":
12
0,
"height":
6
0
"width":
28
0,
"height":
8
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -2401,13 +2587,13 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
79
"__id__":
91
},
"_enabled": true,
"__prefab": null,
"clickEvents": [
{
"__id__":
93
"__id__":
100
}
],
"_interactable": true,
...
...
@@ -2464,16 +2650,16 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
79
"__id__":
91
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 36,
"_target": null,
"_left": 0,
"_right":
87.63599999999997
,
"_right":
15
,
"_top": 0,
"_bottom":
65.917
,
"_bottom":
45.760999999999996
,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
...
...
@@ -2497,7 +2683,7 @@
},
"_enabled": true,
"__prefab": {
"__id__":
96
"__id__":
103
},
"_contentSize": {
"__type__": "cc.Size",
...
...
@@ -2524,7 +2710,7 @@
},
"_enabled": true,
"__prefab": {
"__id__":
98
"__id__":
105
},
"_cameraComponent": {
"__id__": 9
...
...
@@ -2545,7 +2731,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 10
0
"__id__": 10
7
},
"_alignFlags": 45,
"_target": null,
...
...
@@ -2602,16 +2788,16 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 1
03
"__id__": 1
10
},
"shadows": {
"__id__": 1
04
"__id__": 1
11
},
"_skybox": {
"__id__": 1
05
"__id__": 1
12
},
"fog": {
"__id__": 1
06
"__id__": 1
13
}
},
{
...
...
assets/sceneBundle/games/formulaSolitaire/script/FormulaSolitaireCtr.ts
View file @
d20fd132
...
...
@@ -132,16 +132,17 @@ export class FormulaSolitaireCtr extends Component {
// [3]
director
.
on
(
"begin_countdown_end"
,
()
=>
{
//引导
if
(
!
this
.
isShowGameDescViewOnce
)
{
this
.
gameState
=
GAME_STATE
.
PAUSE
;
this
.
isShowGameDescViewOnce
=
true
;
viewMgr
.
openView
(
VIEW_DEF
.
FormulaSolitaireDescView
,
(
node
)
=>
{
node
.
getComponent
(
FormulaSolitaireDescView
)?.
autoClose
();
});
}
else
{
this
.
gameState
=
GAME_STATE
.
IDLE
;
}
// if (!this.isShowGameDescViewOnce) {
// this.gameState = GAME_STATE.PAUSE;
// this.isShowGameDescViewOnce = true;
// viewMgr.openView(VIEW_DEF.FormulaSolitaireDescView, (node) => {
// node.getComponent(FormulaSolitaireDescView)?.autoClose();
// });
// }
// else {
// this.gameState = GAME_STATE.IDLE;
// }
this
.
gameState
=
GAME_STATE
.
IDLE
;
},
this
);
director
.
on
(
"game_desc_close"
,
this
.
onCloseGameDescView
,
this
);
this
.
posArrNode
.
on
(
Node
.
EventType
.
TOUCH_START
,
this
.
onTouchStart
,
this
);
...
...
assets/startFolder/script/TempCtr.ts
View file @
d20fd132
...
...
@@ -17,7 +17,7 @@ export class TempCtr extends Component {
assetManager
.
loadBundle
(
"audio"
);
CanvasSizeCtr
.
setContentStrategy
();
assetManager
.
loadBundle
(
"sceneBundle"
,
(
err
,
bundle
)
=>
{
bundle
.
loadScene
(
"
RingSum
_1"
,
(
err_1
,
scene
:
Scene
)
=>
{
bundle
.
loadScene
(
"
FormulaSolitaire
_1"
,
(
err_1
,
scene
:
Scene
)
=>
{
if
(
err_1
)
{
log
(
`加载场景传入的场景名字有错`
);
log
(
err_1
);
...
...
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