Removed constant log messages.
This commit is contained in:
parent
8f6db7d752
commit
ecc530de82
8
cat.html
8
cat.html
|
@ -1911,7 +1911,7 @@ var game = {
|
||||||
|
|
||||||
ratio = newwid / DEF_GRIDW;
|
ratio = newwid / DEF_GRIDW;
|
||||||
|
|
||||||
console.log("lev " + lev + " newwid " + newwid + " ratio " + ratio);
|
//console.log("lev " + lev + " newwid " + newwid + " ratio " + ratio);
|
||||||
|
|
||||||
this.levels[lev].gridsize = DEF_GRIDSIZE / ratio;
|
this.levels[lev].gridsize = DEF_GRIDSIZE / ratio;
|
||||||
this.levels[lev].thingsize = DEF_THINGSIZE / ratio;
|
this.levels[lev].thingsize = DEF_THINGSIZE / ratio;
|
||||||
|
@ -2894,7 +2894,7 @@ console.log("lev " + lev + " newwid " + newwid + " ratio " + ratio);
|
||||||
|
|
||||||
nstars = game.calcstars(curlevel, score);
|
nstars = game.calcstars(curlevel, score);
|
||||||
game.drawstars(ctx, SCREENW / 2, y, TAPBUTTONSIZESTAR, nstars, STARWID_ENDLEV);
|
game.drawstars(ctx, SCREENW / 2, y, TAPBUTTONSIZESTAR, nstars, STARWID_ENDLEV);
|
||||||
console.log("earned " + nstars + " stars");
|
//console.log("earned " + nstars + " stars");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -3076,7 +3076,7 @@ console.log("lev " + lev + " newwid " + newwid + " ratio " + ratio);
|
||||||
var total = 0;
|
var total = 0;
|
||||||
|
|
||||||
for (i = 1 ; i < game.levels.length; i++ ) {
|
for (i = 1 ; i < game.levels.length; i++ ) {
|
||||||
console.log("countplayerstars() - lev " + i + " score " + playerdata.getlevscore(i) + " stars " + game.calcstars(i, playerdata.getlevscore(i)));
|
//console.log("countplayerstars() - lev " + i + " score " + playerdata.getlevscore(i) + " stars " + game.calcstars(i, playerdata.getlevscore(i)));
|
||||||
total += game.calcstars(i, playerdata.getlevscore(i));
|
total += game.calcstars(i, playerdata.getlevscore(i));
|
||||||
}
|
}
|
||||||
return total;
|
return total;
|
||||||
|
@ -5226,7 +5226,7 @@ console.log("lev " + lev + " newwid " + newwid + " ratio " + ratio);
|
||||||
LEVSEL_X + x + GRIDSIZE/2 - nextsize/2, LEVSEL_Y + y + GRIDSIZE/2 - nextsize/2,
|
LEVSEL_X + x + GRIDSIZE/2 - nextsize/2, LEVSEL_Y + y + GRIDSIZE/2 - nextsize/2,
|
||||||
nextsize,nextsize);
|
nextsize,nextsize);
|
||||||
} else {
|
} else {
|
||||||
console.log("levle " + (levnum) + " is locked!");
|
//console.log("levle " + (levnum) + " is locked!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue