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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
320 additions
and
11 deletions
+320
-11
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
+0
-0
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
This diff is collapsed.
Click to expand it.
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