arcxingye / EatKano

H5 Games

Home Page:https://xingye.me/game/eatkano

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ez4crack

Wlenk opened this issue · comments

gameStart();setInterval(function(){for(let i=0;i<19;i++){//createjs.Sound.play("tap");
tar = document.getElementById(_gameBBList[i].id);
tar.className = tar.className.replace(_ttreg, ' tt$1');
_gameBBListIndex++;
_gameScore++;
gameLayerMoveNextRow();}},1)

ok这个是旧版本的,我去试试新版本

w.gameTapEvent = function(e) {
if (!_gameStart) {
gameStart();
}
for(let i=0;i<19;i++){ //19为次数,19是_gameBBList的长度(虽然写100也没问题
tar = document.getElementById(_gameBBList[i].id);
tar.className = tar.className.replace(_ttreg, ' tt$1');
_gameBBListIndex++;
_gameScore++;
gameLayerMoveNextRow();
}
}