3 ms·
I actually figured something out with this which is weird, because I don't think it has to do with exceptions. I passed in a new object of an undeclared type an
by cheepin 13y ago
I actually figured something out with this which is weird, because I don't think it has to do with exceptions. I passed in a new object of an undeclared type and just walked across the water, which I can't explain.
Can anyone help?
- wingerlang 13y agoI think that's the purpose, the filename says something about "exception".
- SheeEttin 13y agoI'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