Update: CC - Before Render - Moorcow (to6trvr3fj.js) 120 bytes modified
parent
854e38f8f2
commit
59db25c58c
|
@ -180,6 +180,13 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
|||
if (enemy.mesh === mesh && !enemy.exploding) {
|
||||
console.log('exploding enemy');
|
||||
enemy.exploding = true;
|
||||
|
||||
GameLib.Event.Emit(
|
||||
GameLib.Event.PLAY_AUDIO,
|
||||
{
|
||||
name : 'Audio - Ho ho ho'
|
||||
}
|
||||
);
|
||||
// var particleEngine = this.smokeParticleEngine.clone();
|
||||
// particleEngine.position = mesh.position.clone();
|
||||
// particleEngine.updateInstance('position');
|
||||
|
|
Loading…
Reference in New Issue