Update: CC - Before Render - Moorcow (zo950m57cc.js) 33 bytes modified
parent
dbe658ab4c
commit
b38ab2e380
|
@ -229,7 +229,7 @@
|
||||||
mesh.burnLife = 1;
|
mesh.burnLife = 1;
|
||||||
mesh.explodeLife = 1;
|
mesh.explodeLife = 1;
|
||||||
mesh.instance.material.color.setRGB(1,1,1);
|
mesh.instance.material.color.setRGB(1,1,1);
|
||||||
|
mesh.instance.material.opacity = 1;
|
||||||
return mesh;
|
return mesh;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -951,9 +951,7 @@
|
||||||
enemy.mesh.fireParticleEngine.updateInstance('position');
|
enemy.mesh.fireParticleEngine.updateInstance('position');
|
||||||
}
|
}
|
||||||
|
|
||||||
enemy.mesh.materials[0].opacity -= 0.05 * data.delta;
|
enemy.mesh.instance.material.opacity -= 0.5 * data.delta;
|
||||||
enemy.mesh.materials[0].updateInstance('opacity');
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
result.push(enemy);
|
result.push(enemy);
|
||||||
|
|
Loading…
Reference in New Issue