I have done a little googling for working code with no luck.
The example code that auto-loads doesn’t do anything and the first comment (’// this code runs once per frame…’) has an ‘x’ next to it, with the ‘unexpected token’ flag at the bottom. I can delete everything and write self.moveXY(1,1); and it works, but shouldn’t the example parse correctly and move the ogre to the 0th item, unless it doesn’t exist in which case the ogre goes to 18,36?
when I mouse over the ‘var items =…’ line the popup says items:undefined -
what am I doing wrong?