Update: CC - Before Render - Moorcow (zo950m57cc.js) 33 bytes modified

beta.r3js.org
-=yb4f310 2017-11-27 00:02:29 +01:00
parent dbe658ab4c
commit b38ab2e380
1 changed files with 3 additions and 5 deletions

View File

@ -229,7 +229,7 @@
mesh.burnLife = 1;
mesh.explodeLife = 1;
mesh.instance.material.color.setRGB(1,1,1);
mesh.instance.material.opacity = 1;
return mesh;
}
}
@ -780,7 +780,7 @@
) {
var material = mesh.materials[0];
if (material.name.indexOf('Trees') === -1) {
mesh.burnLife -= data.delta * 3;
@ -951,9 +951,7 @@
enemy.mesh.fireParticleEngine.updateInstance('position');
}
enemy.mesh.materials[0].opacity -= 0.05 * data.delta;
enemy.mesh.materials[0].updateInstance('opacity');
enemy.mesh.instance.material.opacity -= 0.5 * data.delta;
}
result.push(enemy);