fix explosion physics

This commit is contained in:
Asraelite 2016-03-25 16:41:15 +00:00
parent bf8226481d
commit 8a8a9c8ae3
7 changed files with 54 additions and 24 deletions

View file

@ -16,7 +16,7 @@ Renderer.prototype.renderAsteroid = (pallet, body) => {
}
context.closePath();
context.strokeStyle = '#fff';
context.fillStyle = '#090909';
context.fillStyle = body.debug ? `rgb(${body.debug}, 9, 9)` : '#090909';
context.fill();
context.stroke();