He only used the wrong tag. You can not control anthing with your mouse. It Looks like the Greenfoot demo version. The difference is that we have not working and in reality not existing black keys
I just looked through your code and found the =+ instead of +=. But I was too slow to tell you.
Another thing is, that the potions can not spawn at the top, but at the bottom, because you divide the width and height by 10 and multiply it by a number from 1 to 10. Either you should do it 1 to 9 or 0 to 10.
I will try getting a better score tomorrow, already too late now. ;)
The creating of the world happens immediately here instead of taking time based on the width and height when open it in Greenfoot. But here, it seems to produce some errors. The screen is shaking in a big world.... Does not effect the result, but it looks ugly.
2013/12/21
Test map generation
2013/12/20
Jump and Run
2013/12/20
Jump and Run
2013/12/20
Bomberman
2013/12/20
Piano
2013/12/16
password protect
2013/12/14
Arena
2013/12/14
Pattern / Muster
2013/12/14
Arena