Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
SheeEttin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
SheeEttin
12y ago
Well you can play it that way too, if you want. Try overriding some of the internal functions using creative methods. :)
2.
▲
by
SheeEttin
12y ago
We've also been discussing it over on reddit: http://www.reddit.com/r/webdev/comments/22gxx1/untrusted_a_j...
3.
▲
by
SheeEttin
12y ago
Ooh, shift, nice. Didn't know about that. That should come in handy.
4.
▲
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
5.
▲
by
SheeEttin
12y ago
I wish we could retrieve the solution we used for past levels. :( Okay, I think I've replicated it. I just overrode onCollision with empty braces, so the final definition looked like this: map.defineObject('attackDrone'
6.
▲
by
SheeEttin
12y ago
https://gist.github.com/anonymous/12b15e3de9340655ed78 Variable to control the direction the robot moves, changed with the function phone.
7.
▲
by
SheeEttin
12y ago
A good solution would be to remove an invalid item, and the function should silently try to remove the invalid item, but still allow passage. For some reason, even when you have the green key, but try to remove an invalid item, it still doe
8.
▲
by
SheeEttin
12y ago
Of course. I made them harmless and walked right through them.