Re:Show HN: Untrusted, a JavaScript adventure game you play ...
by SheeEttin on Tuesday April 08, 2014 @12:42PM
(#7554500)
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. :)
Re:Show HN: Untrusted, a JavaScript adventure game you play ...
by wingerlang on Tuesday April 08, 2014 @11:17AM
(#7553904)
I think that's the purpose, the filename says something about "exception".
Can anyone help?