Thank you very much for the tutorial, it has helped me a lot!
However, I implemented my own piece of code in order to test it, and i still get an error and i don't know where it comes from, since it appears after the end of the iScript.
"Uncaught TypeError: undefined is not a function"
Sadly, this error prevents me from ending the miniGame and coming back to the main scenario. Would youhave any solution for that?