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
b6123113
Commit
b6123113
authored
Apr 08, 2022
by
徐行
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数阵推理好了
parent
05167cb4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
246 additions
and
11 deletions
+246
-11
newImg.meta
assets/sceneBundle/games/numMatReason/image/newImg.meta
+12
-0
点击可还原至初始状态.png
...ceneBundle/games/numMatReason/image/newImg/点击可还原至初始状态.png
+0
-0
点击可还原至初始状态.png.meta
...undle/games/numMatReason/image/newImg/点击可还原至初始状态.png.meta
+74
-0
玩法说明.png
assets/sceneBundle/games/numMatReason/image/newImg/玩法说明.png
+0
-0
玩法说明.png.meta
...sceneBundle/games/numMatReason/image/newImg/玩法说明.png.meta
+74
-0
还原按钮.png
assets/sceneBundle/games/numMatReason/image/newImg/还原按钮.png
+0
-0
还原按钮.png.meta
...sceneBundle/games/numMatReason/image/newImg/还原按钮.png.meta
+74
-0
NumMatReason_1.scene
...sceneBundle/games/numMatReason/scene/NumMatReason_1.scene
+0
-0
NumMatReasonCtr.ts
.../sceneBundle/games/numMatReason/script/NumMatReasonCtr.ts
+11
-10
TempCtr.ts
assets/startFolder/script/TempCtr.ts
+1
-1
No files found.
assets/sceneBundle/games/numMatReason/image/newImg.meta
0 → 100644
View file @
b6123113
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "72c17fde-3b6c-4846-ab69-990a28ee5f2a",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
assets/sceneBundle/games/numMatReason/image/newImg/点击可还原至初始状态.png
0 → 100644
View file @
b6123113
7.71 KB
assets/sceneBundle/games/numMatReason/image/newImg/点击可还原至初始状态.png.meta
0 → 100644
View file @
b6123113
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "553e41fd-ae02-47b3-b670-a790aab2228d",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "553e41fd-ae02-47b3-b670-a790aab2228d@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": "553e41fd-ae02-47b3-b670-a790aab2228d"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "553e41fd-ae02-47b3-b670-a790aab2228d@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": "553e41fd-ae02-47b3-b670-a790aab2228d@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "553e41fd-ae02-47b3-b670-a790aab2228d@f9941"
}
}
assets/sceneBundle/games/numMatReason/image/newImg/玩法说明.png
0 → 100644
View file @
b6123113
36.1 KB
assets/sceneBundle/games/numMatReason/image/newImg/玩法说明.png.meta
0 → 100644
View file @
b6123113
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "690d432b-3706-4be6-863e-d6ca828baa21",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "690d432b-3706-4be6-863e-d6ca828baa21@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": "690d432b-3706-4be6-863e-d6ca828baa21"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "690d432b-3706-4be6-863e-d6ca828baa21@f9941",
"displayName": "玩法说明",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 329,
"height": 248,
"rawWidth": 329,
"rawHeight": 248,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "690d432b-3706-4be6-863e-d6ca828baa21@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "690d432b-3706-4be6-863e-d6ca828baa21@f9941"
}
}
assets/sceneBundle/games/numMatReason/image/newImg/还原按钮.png
0 → 100644
View file @
b6123113
3.52 KB
assets/sceneBundle/games/numMatReason/image/newImg/还原按钮.png.meta
0 → 100644
View file @
b6123113
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "ec9125d7-4cc9-4a30-a336-c5e192ad049a",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ec9125d7-4cc9-4a30-a336-c5e192ad049a@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": "ec9125d7-4cc9-4a30-a336-c5e192ad049a"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ec9125d7-4cc9-4a30-a336-c5e192ad049a@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": "ec9125d7-4cc9-4a30-a336-c5e192ad049a@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "ec9125d7-4cc9-4a30-a336-c5e192ad049a@f9941"
}
}
assets/sceneBundle/games/numMatReason/scene/NumMatReason_1.scene
View file @
b6123113
This diff is collapsed.
Click to expand it.
assets/sceneBundle/games/numMatReason/script/NumMatReasonCtr.ts
View file @
b6123113
...
...
@@ -108,16 +108,17 @@ export class NumMatReasonCtr extends Component {
director
.
on
(
"item_click"
,
this
.
onItemClick
,
this
);
director
.
on
(
"begin_countdown_end"
,
()
=>
{
//引导
if
(
!
this
.
isShowGameDescViewOnce
)
{
this
.
gameState
=
GAME_STATE
.
PAUSE
;
this
.
isShowGameDescViewOnce
=
true
;
viewMgr
.
openView
(
VIEW_DEF
.
NumMatDescView
,
(
node
)
=>
{
node
.
getComponent
(
NumMatDescView
)?.
autoClose
();
});
}
else
{
this
.
gameState
=
GAME_STATE
.
SELECT
;
}
// if (!this.isShowGameDescViewOnce) {
// this.gameState = GAME_STATE.PAUSE;
// this.isShowGameDescViewOnce = true;
// viewMgr.openView(VIEW_DEF.NumMatDescView, (node) => {
// node.getComponent(NumMatDescView)?.autoClose();
// });
// }
// else {
// this.gameState = GAME_STATE.SELECT;
// }
this
.
gameState
=
GAME_STATE
.
SELECT
;
},
this
);
director
.
on
(
"game_desc_close"
,
this
.
onCloseGameDescView
,
this
);
this
.
gameStart
();
...
...
assets/startFolder/script/TempCtr.ts
View file @
b6123113
...
...
@@ -17,7 +17,7 @@ export class TempCtr extends Component {
assetManager
.
loadBundle
(
"audio"
);
CanvasSizeCtr
.
setContentStrategy
();
assetManager
.
loadBundle
(
"sceneBundle"
,
(
err
,
bundle
)
=>
{
bundle
.
loadScene
(
"
FormulaSolitaire
_1"
,
(
err_1
,
scene
:
Scene
)
=>
{
bundle
.
loadScene
(
"
NumMatReason
_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