Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
czh_test_001
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
czh_test_001
Commits
d0667c9a
Commit
d0667c9a
authored
Jul 20, 2022
by
chenzihui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成
parent
db6f1a09
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
24 deletions
+22
-24
czh_test_001.fire
assets/czh_test_001/scene/czh_test_001.fire
+4
-4
czh_test_001.ts
assets/czh_test_001/scene/czh_test_001.ts
+16
-8
click.png.meta
assets/czh_test_001/textures/click.png.meta
+2
-12
No files found.
assets/czh_test_001/scene/czh_test_001.fire
View file @
d0667c9a
...
@@ -7167,7 +7167,7 @@
...
@@ -7167,7 +7167,7 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
93wrSHtMxOwZ0oANW58K0f
"
"_id": "
68rmPI3OZCQ4ebfry01x2v
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -7188,7 +7188,7 @@
...
@@ -7188,7 +7188,7 @@
"__uuid__": "71e5b7b8-4570-4eef-aeb4-b6953804aa58"
"__uuid__": "71e5b7b8-4570-4eef-aeb4-b6953804aa58"
},
},
"_type": 0,
"_type": 0,
"_sizeMode":
0
,
"_sizeMode":
1
,
"_fillType": 0,
"_fillType": 0,
"_fillCenter": {
"_fillCenter": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -7199,7 +7199,7 @@
...
@@ -7199,7 +7199,7 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
8c21YrqEhGEavi00EbMhYf
"
"_id": "
459s5a3I5I4a6GcXDL5V+R
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -7220,7 +7220,7 @@
...
@@ -7220,7 +7220,7 @@
"__uuid__": "765fb750-a90a-4b2c-b0e5-1f9e00d64cb6"
"__uuid__": "765fb750-a90a-4b2c-b0e5-1f9e00d64cb6"
},
},
"_type": 0,
"_type": 0,
"_sizeMode":
0
,
"_sizeMode":
1
,
"_fillType": 0,
"_fillType": 0,
"_fillCenter": {
"_fillCenter": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
...
assets/czh_test_001/scene/czh_test_001.ts
View file @
d0667c9a
...
@@ -89,14 +89,22 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -89,14 +89,22 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
canTouch
=
false
;
this
.
canTouch
=
false
;
this
.
startNode
.
stopAllActions
();
this
.
startNode
.
stopAllActions
();
this
.
startNode
.
opacity
=
255
;
this
.
startNode
.
opacity
=
255
;
cc
.
tween
(
this
.
startNode
)
.
to
(
0.5
,
{
opacity
:
0
})
let
fad1
=
cc
.
fadeOut
(
0.5
);
.
call
(()
=>
{
let
callback
=
cc
.
callFunc
(()
=>
{
this
.
startNode
.
active
=
false
;
this
.
startNode
.
active
=
false
;
this
.
createTitleView
();
this
.
createTitleView
();
this
.
startGame
();
this
.
startGame
();
})
})
.
start
()
this
.
startNode
.
runAction
(
cc
.
sequence
(
fad1
,
callback
));
// cc.tween(this.startNode)
// .to(0.5, { opacity: 0 })
// .call(() => {
// this.startNode.active = false;
// this.createTitleView();
// this.startGame();
// })
// .start()
}
}
}
}
...
...
assets/czh_test_001/textures/click.png.meta
View file @
d0667c9a
...
@@ -11,20 +11,10 @@
...
@@ -11,20 +11,10 @@
"height": 102,
"height": 102,
"platformSettings": {
"platformSettings": {
"android": {
"android": {
"formats": [
"formats": []
{
"name": "etc2",
"quality": "fast"
}
]
},
},
"ios": {
"ios": {
"formats": [
"formats": []
{
"name": "etc2",
"quality": "fast"
}
]
}
}
},
},
"subMetas": {
"subMetas": {
...
...
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