Commit 9c3aaba0 authored by Lwd's avatar Lwd

aaaa

parent fb9c688e
This diff is collapsed.
{
"ver": "2.1.0",
"uuid": "ce2d6cce-f4b4-4f14-b57c-f026dc181a88",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "a777fdf7-eb0b-41df-b0f7-ada8ed99b97d",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.2.9",
"uuid": "c020c4aa-c261-4e24-ae6e-a564a5bb6865",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
/**
* eff_welldown
*/
var eff_well = cc.Class({
extends: cc.Component,
properties: {
eff_welldown: {
default: null,
type: cc.Animation,
displayName: "撒花特效"
},
},
ctor: function () {
eff_well.inst = this;
g.eff_well = eff_well;
},
//显示特效
showEff: function () {
this.node.active = true;
this.eff_welldown.play();
setTimeout(() => {
this.node.active = false;
}, 2000)
}
});
{
"ver": "1.0.8",
"uuid": "872df374-a19c-4662-9d3d-1f85329b5d49",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
......@@ -12,11 +12,6 @@ var result = cc.Class({
type: cc.Node,
displayName: "图片"
},
wellDone: {
default: null,
type: cc.Node,
displayName: "wellDone"
},
frame_tips: {
default: null,
type: cc.Node,
......@@ -27,11 +22,6 @@ var result = cc.Class({
type: cc.Label,
displayName: "标签"
},
eff_sahua: {
default: null,
type: cc.Animation,
displayName: "撒花特效"
},
Armature: {
default: null,
type: dragonBones.ArmatureDisplay,
......@@ -69,21 +59,13 @@ var result = cc.Class({
}
this.initRichText(Info.groupLabel);
this.wellDone.active = false;
this.frame_tips.active = true;
this.eff_sahua.node.active = false;
}
else {
//播放撒花动画
this.eff_sahua.node.active = true;
this.eff_sahua.play();
this.wellDone.active = true;
this.frame_tips.active = false;
g.eff_well.inst.showEff();
//播放撒花音效
g.speaker.inst.play_congratulation();
setTimeout(() => {
this.node.active = false;
}, 3000)
}
},
......@@ -182,7 +164,7 @@ var result = cc.Class({
if (g.data_mgr.temPlayAudio.length < 1) {
if (g.data_mgr.pageId == g.data_mgr.data.contentObj.pageArr.length - 1) {
//显示结算撒花
g.game.inst.showResult();
g.eff_well.inst.showEff();
}
}
}
......@@ -218,7 +200,7 @@ var result = cc.Class({
if (g.data_mgr.temPlayAudio.length < 1) {
if (g.data_mgr.pageId == g.data_mgr.data.contentObj.pageArr.length - 1) {
//显示结算撒花
g.game.inst.showResult();
g.eff_well.inst.showEff();
}
this.End = false;
} else {
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 60,
"height": 64,
"width": 180,
"height": 192,
"platformSettings": {},
"subMetas": {
"btn_close": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 60,
"height": 64,
"rawWidth": 60,
"rawHeight": 64,
"width": 120,
"height": 128,
"rawWidth": 120,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 138,
"height": 138,
"rawWidth": 138,
"rawHeight": 138,
"width": 148,
"height": 148,
"rawWidth": 148,
"rawHeight": 148,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
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