This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

GreenGoo
GreenGoo presents ...

2013/5/13

Squares

The aim of the game is to touch the red shapes with your mouse and avoid the black ones. Good luck! There is quite a long load time because of the music.

2967 views / 6 in the last 7 days

2 votes | 0 in the last 7 days

Tags: None

Your browser does not support the canvas tag.
KartoffelbrotKartoffelbrot

2013/5/14

There is an error, when the mouse leaves the world. The scenario stops then.
GreenGooGreenGoo

2013/5/14

I know. I'm still working on it. I am also hoping to implement some kind of high score system, using UserInfo, but I think that this will be far beyond my abilities.
KartoffelbrotKartoffelbrot

2013/5/14

I thought using UserInfo would be very hard, too, until I used it. Actually using this methods is very easy, if you have a variable in which you save the score of the current player.
A new version of this scenario was uploaded on Sat May 18 09:38:04 UTC 2013
A new version of this scenario was uploaded on Sat May 18 13:13:23 UTC 2013 Attempted to add a scoreboard which doesn't work. Need help.
I know why you are getting an error when the mouse leaves. Greenfoot can't find the mouse because it's not on the screen. So your MouseInfo() == null! You need to rewrite wherever you use MouseInfo to make sure it's != null.
GreenGooGreenGoo

2013/5/18

I'll try that.
A new version of this scenario was uploaded on Sat May 18 15:38:10 UTC 2013 Fixed a bug where the game would stop if the mouse went off the screen.

Want to leave a comment? You must first log in.

Who likes this?

Kartoffelbrot schetefan24