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

Report as inappropriate.

GreenHouse
GreenHouse presents ...

2013/9/16

Labyrinth DoItYourSelf

Create your own labyrinth and share it with other users.
Use the Editor to create own levels.

2096 views / 8 in the last 7 days

Tags: mouse game

Your browser is ignoring the <APPLET> tag.
HTML5 version not available | Scenario not running?
A new version of this scenario was uploaded on Mon Sep 16 17:40:14 UTC 2013 Bi-Ba-Bugfixes Dont forget to test the Editor :D
A new version of this scenario was uploaded on Mon Sep 16 17:57:35 UTC 2013 GreenfootUtil.getUserImage(..); crashes on unexisting user :/
danpostdanpost

2013/9/16

@GreenHouse, if you are trying to get the image of a user on the site, use the following: [code]GreenfootImage userImage; if (UserInfo.isStorageAvailable()) { UserInfo ui = UserInfo.getUserInfo(): if (ui != null) userImage = ui.getUserImage(); } if (userImage == null) { // create a dummy image here }[/code]
GreenHouseGreenHouse

2013/9/16

UserInfo.getUserImage() ends up in GreenfootUtil.getUserImage(), so it will be the same... I need this to get the image from a user; who is not the user who is running this. But the game still crashes on tab 'famous' and 'editor' if the user is logged in; i dont know why... It works in standalone.

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

Who likes this?

No votes yet.