Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 35 bytes modified

beta.r3js.org
-=yb4f310 2018-03-24 22:38:31 +01:00
parent bed4ed6ece
commit 906e5a6173
1 changed files with 3 additions and 1 deletions

View File

@ -1300,7 +1300,9 @@ GameLib.CustomCode.prototype.extend = function(gameObject, position, orientation
this.animation.translationSpeed = GameLib.CustomCode.MAX_ANIMATION_SPEED;
}
this.state.score += (1 - this.speed) * 21;
this.state.score += Math.round((1 - this.speed) * 210);
this.displayHUD();
//console.log('speed = ' + this.speed);