3 ms·
I'm trying with player.killedBy(function(){throw new Exception();}); ...but then that just means I get killed by "function(){throw new Exception();}". Ed
by SheeEttin 12y ago
I'm trying with
player.killedBy(function(){throw new Exception();});
...but then that just means I get killed by "function(){throw new Exception();}".
Edit: never mind, got it. Overriding onCollision helps. :)
https://gist.github.com/anonymous/2868beb0cee19259ebb5 https://gist.github.com/anonymous/2868beb0cee19259ebb5