Commit 340a972e authored by Edwise's avatar Edwise 🍷

更改默认动效

parent 43e610df
......@@ -2,7 +2,7 @@
"success": true,
"message":"",
"data": {
"sence": 1,
"sence": 4,
"senceTips":["测试","测试"],
"senceGuide":{
"1":false,
......
......@@ -2737,7 +2737,22 @@ var Cat = (function (_super) {
Cat.prototype.stopCatAct = function () {
var that = this;
that.hideDialog();
that.setCatAnimShow(0, null);
var type = 0;
switch (Ins_1.Ins.curScene) {
case 1:
type = 1;
break;
case 2:
type = 1;
break;
case 3:
type = 0;
break;
default:
type = 0;
break;
}
that.setCatAnimShow(type, null);
};
Cat.prototype.catAct = function (e) {
console.log("eruighuerihgrueeigh");
This diff is collapsed.
......@@ -2739,7 +2739,22 @@ var Cat = (function (_super) {
Cat.prototype.stopCatAct = function () {
var that = this;
that.hideDialog();
that.setCatAnimShow(0, null);
var type = 0;
switch (Ins_1.Ins.curScene) {
case 1:
type = 1;
break;
case 2:
type = 1;
break;
case 3:
type = 0;
break;
default:
type = 0;
break;
}
that.setCatAnimShow(type, null);
};
Cat.prototype.catAct = function (e) {
console.log("eruighuerihgrueeigh");
......@@ -205,7 +205,22 @@ export class Cat extends Module {
stopCatAct(){
var that = this;
that.hideDialog();
that.setCatAnimShow(0,null);
let type = 0;
switch(Ins.curScene){
case 1:
type = 1;
break;
case 2:
type = 1;
break;
case 3:
type = 0;
break;
default:
type = 0;
break;
}
that.setCatAnimShow(type,null);
}
/**猫咪互动 */
......
......@@ -2738,7 +2738,22 @@ var Cat = (function (_super) {
Cat.prototype.stopCatAct = function () {
var that = this;
that.hideDialog();
that.setCatAnimShow(0, null);
var type = 0;
switch (Ins_1.Ins.curScene) {
case 1:
type = 1;
break;
case 2:
type = 1;
break;
case 3:
type = 0;
break;
default:
type = 0;
break;
}
that.setCatAnimShow(type, null);
};
Cat.prototype.catAct = function (e) {
console.log("eruighuerihgrueeigh");
......@@ -46848,7 +46863,7 @@ var LoadingScene = (function (_super) {
that.zhuazi = new FYGE.Sprite(RES_1.RES.getRes(resloadingList_1.default["d01a19e5-fa4f-40b9-a6dc-9d21e0cc756e"].url));
that.loadingGroup.addChild(that.zhuazi);
that.zhuazi.y = -5;
FYGE.Tween.get(this.loading, { onChange: function () { that.zhuazi.x = (that.loading.x + that.loading.width - 30); }, onChangeObj: that }).to({ x: -80 }, 200).call(function () {
FYGE.Tween.get(this.loading, { onChange: function () { that.zhuazi.x = (that.loading.x + that.loading.width - 30); }, onChangeObj: that }).to({ x: -80 }, 2000).call(function () {
that.tweenEnd = true;
if (that.isEnd) {
FYGE.Tween.get(that.loading, { onChange: function () { that.zhuazi.x = (that.loading.x + that.loading.width - 30); }, onChangeObj: that }).to({ x: 9 }, 600).call(function () { ctrls_1.changeScene(StartScene_1.StartScene); });
......@@ -47635,7 +47650,6 @@ var MainSceneBtnUi = (function (_super) {
that.fishPointLabel.text = "" + happyCoin;
that.catExperience.scaleX = experience / experienceMax;
that.experience.text = experience + "/" + experienceMax;
console.log("更新用户数据ui结束")
};
MainSceneBtnUi.prototype.hideAllActBtn = function () {
var that = this;
This diff is collapsed.
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