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

Report as inappropriate.

Gargo
Gargo presents ...

2011/2/21

columns3.2

Menu doesn't work properly. Maybe anybody can solve an issue? If there had pressed arrow buttons when I returned from About menu to Main menu then active Label in Main menu isn't the first one. Sometimes you can see the changing between the active Labels

3356 views / 26 in the last 7 days

Tags: game with-source menu tetris columns

open in greenfoot
Your browser is ignoring the <APPLET> tag.
davmacdavmac

2011/2/22

In Game.workWithMeny(DynamicMenu) method, you use Greenfoot.isKeyDown() to check various keys, however, it latches keypresses - so if they were pressed while the "about" dialog was showing, it will detect them being pressed. You just need to call the check for each key once when you return to the main menu, to clear the latched value.
davmacdavmac

2011/2/22

(or use Greenfoot.getKey() instead).
GargoGargo

2011/3/7

A workable version: http://www.greenfootgallery.org/scenarios/2564

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

Who likes this?

No votes yet.