Using for example:
public String getName() {
UserInfo user = Greenfoot.getUserInfo();
if(user == null) return "Greenfoot User";
return user.getUserName();
}
A new version of this scenario was uploaded on 2020-10-15 12:59:48 UTC
-Now using UserInfo for the Username (Thanks for the suggestion, RcCookie!)
A new version of this scenario was uploaded on 2020-10-15 13:00:32 UTC
A new version of this scenario was uploaded on 2020-10-15 13:01:31 UTC
If you have any suggestion Ideas or bugs to report, please write them into the comment section!
A new version of this scenario was uploaded on 2020-10-15 13:07:44 UTC
-Changed B&W Picture
A new version of this scenario was uploaded on 2020-10-15 13:23:01 UTC
-Overworked Start Button
A new version of this scenario was uploaded on 2020-10-15 20:11:34 UTC
-Added a music folder in the start bar (but there is no music in there yet)
A new version of this scenario was uploaded on 2020-10-16 16:42:31 UTC
-Added music
(Please note that the pause button of the music player is a little bit buggy.)
@PascalFischer
(1) close greenfoot app;
(2) open project folder in file directory;
(3) delete all STRIDE files;
(4) re-start greenfoot and open project
You could try to make the windows movable. Just save the mouse offset coordinates whenever the mouse is pressed down on the object and then every frame set its location to the mouse coordinates plus the offset
2020/10/15
2020/10/15
2020/10/15
2020/10/15
2020/10/15
2020/10/29
2020/11/13
2020/11/13
2020/11/13
2020/11/14
2020/11/14
2020/12/5
2020/12/5
2020/12/5
2022/12/29