Commit d0667c9a authored by chenzihui's avatar chenzihui

完成

parent db6f1a09
...@@ -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",
......
...@@ -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()
} }
} }
......
...@@ -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": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment