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

Report as inappropriate.

dbal
dbal presents ...

2008/7/7

ArrowButton02

PURPOSE OF PROJECT:
I am publishing this scenario in support of an article that I plan to publish on the topic of creating custom GUIs using Greenfoot. If and when the article is published, you will find a link to the article at

http://www.dickbaldwin.com/toc.htm

This scenario creates a pair of custom buttons that illustrate the kind of behavior that you might see in a child's educational game where the player is allowed to progress back and forth through different scenes or worlds or to turn pages forward and backward.

VERSION or DATE: July 13, 2008
HOW TO START THIS PROJECT: Click the Run button
AUTHORS: Dick Baldwin
USER INSTRUCTIONS: Click the buttons on the right and left sides of the world to progress through three different scenes or pages. Note how the colors of the buttons change as you touch them with the mouse.

5979 views / 13 in the last 7 days

1 vote | 0 in the last 7 days

Tags: mouse buttons gui

This scenario is a member of: Reusable actors & support classes


open in greenfoot
Your browser does not support the canvas tag.
dbaldbal

2008/7/8

The sole purpose of this comment is to try to trigger a notification email message so that I can identify the "from" address of such messages in order to try to cause them to bypass my spam blocker. But, the system may be smart enough that it won't notify me when I comment on my own scenario.
davmacdavmac

2008/7/13

One minor bug, if you keep the mouse cursor over one of the buttons when it is green and keep clicking, it will not turn red when the last background is reached (until you move the cursor off the button and then back onto it).
dbaldbal

2008/7/13

Thanks for the feedback. I'll take a look at that problem.
A new version of this scenario was uploaded on Sun Jul 13 14:11:20 UTC 2008
dbaldbal

2008/7/13

The minor bug mentioned by davmac above has been fixed. By the way, the new subdued format for notification of new versions is much more attractive than before.
marlamarla

2008/10/31

you should add the with-source tag since you do provide the source, thank you!

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

Who likes this?

marla