It’s in JS.
I was using the link in the mail. I must use the possibility to comment the code to get access to the level. I got the error (infinite loop with a popup, I did not check the console) during the loading.
Here’s the default code :
loop {
var gem = this.findNearest(this.findItems());
if (gem) {
var clear = this.isPathClear(this.pos, gem.pos);
// The isPathClear method tells you if there’s an obstacle in the way.
// If it’s clear, move() to gem.pos.
// Else, move back to the center point.
}
}
As it does no action, I supposed it loops very fast and endlessly.
I just try to reset the code, and the error did not appear anymore. Anya just do nothing.