Commit 549ac9ed authored by zjz1994's avatar zjz1994

调整增加步数位置

parent b33d2f90
......@@ -493,7 +493,7 @@ export default class MainScene extends Scene {
this.addChildAt(this.festivalContainer,1);
//道具使用时蒙层 无需加入场景,带入propBtnCo的位置数据
console.log('偏移',this.propBtnCon.y,this.propBtnCon.boomBtn.y);
// console.log('偏移',this.propBtnCon.y,this.propBtnCon.boomBtn.y);
this.propGuide = new PropGuide(this.propBtnCon.y,this.islongScreen);
this.propGuide.touchEnabled = true;
......@@ -1636,7 +1636,7 @@ export default class MainScene extends Scene {
this.lattices[festivalIndex] && //格子必须有
(Tool.judgeSetFesEle(this.lattices[festivalIndex]) || !this.lattices[festivalIndex].element) //没有元素也行
) {
console.log("节日元素loading");
// console.log("节日元素loading");
this['redrainbg'].visible = true;
await this.startPlayLoadingAni();
this['redrainbg'].visible = false;
......@@ -4318,7 +4318,7 @@ export default class MainScene extends Scene {
ele.playCandyDieAni();
//这里面会去算个数
this.recoverEle(index);
this.playAni(RecoverName.STEP_ANI, [50, 100]);
this.playAni(RecoverName.STEP_ANI, [120, 125]);
setTimeout(() => {
this.steps += 5;
}, 333)
......@@ -5350,7 +5350,7 @@ export default class MainScene extends Scene {
* @param tlidx 拍框猩猩的左上
*/
pongoPaiKuang(tlidx:number){
console.log("猩猩拍框");
// console.log("猩猩拍框");
//随机发框
var kuangarr:Array<number> = new Array();
var canusearr:Array<number> = new Array();//可以作为左上角的
......@@ -6172,7 +6172,7 @@ export default class MainScene extends Scene {
//新增糖果转特效元素处理
setCandyToEffect(ele){
if(ele&&ele.candy&&ele.candy.step){
this.playAni(RecoverName.STEP_ANI, [50, 100]);
this.playAni(RecoverName.STEP_ANI, [120, 125]);
setTimeout(() => {
this.steps += 5;
}, 333)
......
......@@ -141,7 +141,7 @@ export default class MapScene extends Scene {
}else{
this.islongScreen = true;
}
console.log("手机长短屏幕适配",whl,this.islongScreen);
// console.log("手机长短屏幕适配",whl,this.islongScreen);
if(this.islongScreen){
this['adapttop'].y = 50;
this['settingsx'].bottom = 50;
......@@ -763,7 +763,7 @@ export default class MapScene extends Scene {
}
destroy() {
console.log("map------------destroy");
// console.log("map------------destroy");
super.destroy();
// this.removeIcon();
......@@ -1260,7 +1260,7 @@ export default class MapScene extends Scene {
}
protected removeEvents(){
console.log("map-----------removeEvents");
// console.log("map-----------removeEvents");
this['goldBtn'].removeEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_goldBtn, this);
this['guide'].removeEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_guide, this);
// this['act2Btn'].removeEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_act2btn, this);
......
......@@ -6,7 +6,7 @@ export class snpmAdStatic{
*/
static snpmAdReport(type:string,from:string,adata:object){
var params = {};
console.log("准备上报",type,from,JSON.stringify(adata));
// console.log("准备上报",type,from,JSON.stringify(adata));
switch(from){
case 'icon':
params['eleid']='bingoIndexAd';
......@@ -59,7 +59,7 @@ export class snpmAdStatic{
*/
static showAdReport(params){
try{
console.log("曝光上报",JSON.stringify(params));
// console.log("曝光上报",JSON.stringify(params));
let elem = document.createElement('div')
params.saData.eleid = params.eleid;
    elem.setAttribute('sa-data', JSON.stringify(params.saData))
......@@ -73,15 +73,6 @@ export class snpmAdStatic{
//expoManual
//exposure
     window['SAUP'].sendLogData("expoManual", elem);
// window['SAUP'].sendLogData("expoManual", {
// tag:elem,
// sapmodid:params.sapmodid,
// event_name:'exposure',
// targeturl:params.targeturl,
// pageid:params.saData.pageid,
// modid:params.saData.modid,
// eleid:params.saData.eleid,
// });
    }
}catch(e){
......@@ -93,7 +84,7 @@ export class snpmAdStatic{
*/
static clickAdReport(params){
try{
console.log('点击上报',JSON.stringify(params));
// console.log('点击上报',JSON.stringify(params));
if(params.targeturl&&params.targeturl.length){
window['$'].ajax({
type:'get',
......@@ -116,7 +107,7 @@ export class snpmAdStatic{
img.src = params.targeturl;
}
if (window['SAUP'] && window['SAUP'].sendLogData) {
console.log("广告点击上报",params.saData.pageid);
// console.log("广告点击上报",params.saData.pageid);
//click
//comclick
window['SAUP'].sendLogData('click',{
......
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