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

Report as inappropriate.

Yehuda
Yehuda presents ...

2017/5/5

screenSize

2017/1/30

Currently this scenario displays you UserName and UserImage with the name fading in and out.
The score on the bottom of the screen is generated randomly.
To display the high scores press the "Scores" button, to see your name and image again press the "Back" button.
The dimensions of this scenario's frame is exactly a quarter the size of your (the user's) computer screen/monitor.
If you press the space bar, the transparency of your UserName will get halved.

This scenario will only work if:
1) You have done the things in the following discussion: http://www.greenfoot.org/topics/8200/
2) You are using a browser that doesn't ignore the <APPLET> tag
3) You are logged in

Originally uploaded at:
http://www.greenfoot.org/scenarios/18960

2216 views / 7 in the last 7 days

2 votes | 0 in the last 7 days

Tags: with-source gui highscores userinfo fade yehuda

This scenario is a member of: Graphical User Interface


open in greenfoot

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.

YehudaYehuda

2017/5/15

I figured out what needs to be done - now I just need to figure out how to do it.
A new version of this scenario was uploaded on 2017-05-15 23:13:32 UTC Still doing tests for the slow Scores.
A new version of this scenario was uploaded on 2017-05-15 23:24:04 UTC Still doing tests for the slow Scores.
A new version of this scenario was uploaded on 2017-05-15 23:26:33 UTC Still trying to fix the slow scores.
A new version of this scenario was uploaded on 2017-05-15 23:32:31 UTC Still trying to fix problems.
YehudaYehuda

2017/5/15

Here's the problem: I need the execution to be stopped when the Scores class is the active world, but I also need that the user can't reset the World. When I do Greenfoot.stop(); in the constructor then doing: PauseSimulationAction.getInstance().setEnabled(false); ResetWorldAction.getInstance().setEnabled(false); doesn't work (anymore). Any solutions?
YehudaYehuda

2017/5/17

For now you can just first pause the scenario, then press the "Scores" button (yes, it will still work).
A new version of this scenario was uploaded on 2017-05-30 01:50:33 UTC ProgressBar tests.
A new version of this scenario was uploaded on 2017-06-05 00:18:00 UTC ProgressBar tests.
YehudaYehuda

2019/12/13

I just got a ClassNotFoundException. (I forgot what to do in such cases.) Maybe it's because my Java is out of date. Here's what came up in the window which popped up when I clicked on "Details": Java Plug-in 11.121.2.13 x86 Using JRE version 1.8.0_121-b13 Java HotSpot(TM) Client VM

See all comments

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

Who likes this?

nolttr21 Nosson1459