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

beta.r3js.org
-=yb4f310 2018-03-23 08:36:48 +01:00
parent 0aba896bfd
commit c39dc83dda
1 changed files with 2 additions and 2 deletions

View File

@ -754,8 +754,8 @@ GameLib.CustomCode.prototype.explode = function(position) {
this.state.exploding = true;
this.state.lives -= 1;
this.particleEnginePickle.position.x = position.x;
this.particleEnginePickle.position.y = position.y;
this.particleEnginePickle.position.x = (position.x * GameLib.CustomCode.BODY_SCALE_X) + GameLib.CustomCode.GRID_OFFSET_X;
this.particleEnginePickle.position.y = (position.y * GameLib.CustomCode.BODY_SCALE_Y) + GameLib.CustomCode.GRID_OFFSET_Y;
this.particleEnginePickle.updateInstance('position');
this.particleEnginePickle.enabled = true;