Commit 46605339 authored by huangwenjie's avatar huangwenjie

修复

parent ddd08f47
{
"editor.snippetSuggestions": "bottom",
"editor.suggest.snippetsPreventQuickSuggestions": false
}
\ No newline at end of file
......@@ -8,7 +8,8 @@ let build = new DBGBuild(config);
if (cmd === 'build' && process.argv[3] === 'prod') {
// if (cmd === 'build' && remain[1] === 'prod') {
cmd = 'buildProd';
// cmd = 'buildProd';
cmd = 'notinypng';
if (process.argv[4] === 'ts')
cmd = 'buildProdTS';
if (process.argv[4] === 'exml')
......
......@@ -78,7 +78,7 @@
<script src="libs/downloadApp.js"></script>
<script>
// 游戏速度 1-10 默认5
window["speed"] = 2;
window["speed"] = 5;
// 难度比率
window['speedRate'] = 0.5;
// 赚积分链接
......
......@@ -24,8 +24,8 @@ class TuiaAutoUpload {
var _this = this;
this.client = new OSS({
region: 'oss-cn-hangzhou',
accessKeyId: 'LTAIqO2wblIxQvwc',
accessKeySecret: '4brsaSRbRpjxw3oDIxJi6bNMcndIR6',
accessKeyId: 'LTAI4Fw25WcfcGv7FvcHoiHK',
accessKeySecret: 'NZk1NtT9J5HFaAolNbtQdzTzLLvLYm',
bucket: _this.type === 'prod' ? 'duiba' : 'daily-duiba'
});
this.bar = new ProgressBar(chalk.yellow(` 文件上传中 [:bar] :current/${this.files().length} :percent :elapseds`), {
......
......@@ -191,6 +191,7 @@ export default class PlayScene extends Scene {
this.removeEventListener(egret.TouchEvent.TOUCH_CANCEL, this.onEnd_guideEle, this);
this.removeEventListener(egret.TouchEvent.TOUCH_END, this.onEnd_guideEle, this);
if (this.guideTarget) {
this.guideTarget.scaling = true
egret.Tween.get(this.guideTarget)
.to({ scaleX: 0, scaleY: 0 }, 200)
.call(() => {
......@@ -549,10 +550,13 @@ export default class PlayScene extends Scene {
this.currTarget = null;
})
} else {
this.currTargetBase.parent.scaleX = 0;
this.currTargetBase.parent.scaleY = 0;
egret.Tween.get(this.currTargetBase.parent)
.to({ scaleX: 1, scaleY: 1 }, 200)
if(this.currTargetBase.parent){
this.currTargetBase.parent.scaleX = 0;
this.currTargetBase.parent.scaleY = 0;
egret.Tween.get(this.currTargetBase.parent)
.to({ scaleX: 1, scaleY: 1 }, 200)
}
this.currTargetBase.visible = true;
egret.Tween.get(this.currTarget)
.to({ scaleX: 0, scaleY: 0 }, 200)
......@@ -583,10 +587,12 @@ export default class PlayScene extends Scene {
}
anwserWrong() {
this.currTargetBase.parent.scaleX = 0;
this.currTargetBase.parent.scaleY = 0;
egret.Tween.get(this.currTargetBase.parent)
.to({ scaleX: 1, scaleY: 1 }, 200)
if(this.currTargetBase.parent){
this.currTargetBase.parent.scaleX = 0;
this.currTargetBase.parent.scaleY = 0;
egret.Tween.get(this.currTargetBase.parent)
.to({ scaleX: 1, scaleY: 1 }, 200)
}
this.currTargetBase.visible = true;
this.currGamePool.forEach(garbage => {
......
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