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

Comments for password protect

Return to password protect

tylerstylers

2012/6/24

erdelf the password is greenfoot
SPowerSPower

2012/6/24

If you press a key, you sometimes enter 2 letters.
danpostdanpost

2012/6/24

Since each keypress is to produce one letter, you really should use the 'getKey' method instead of the 'isKeyDown' method, which can cause more than one character to be added to the string on a keypress.
erdelferdelf

2012/6/24

@tylers, I know, why do you say me this?
tylerstylers

2012/6/24

@erdelf you appeared in the list of people who pressed "f"
erdelferdelf

2012/6/24

f?
tylerstylers

2012/6/24

It the button you must have pressed f when it said if you forgot your password.
erdelferdelf

2012/6/24

oh, well I just wanted to try out, didn't realized what you meant
.............................. I forgot that dang password again!!!!!! *breaks laptop over knee*
A new version of this scenario was uploaded on Thu Jun 28 15:49:24 UTC 2012 now using getKey() method. each person now able to have there own password. (this is using userdata class). alto of bug fixes.
A new version of this scenario was uploaded on Thu Jun 28 15:50:58 UTC 2012 now using getKey() method. each person now able to have there own password. (this is using userdata class). alto of bug fixes.
A new version of this scenario was uploaded on Thu Jun 28 15:53:39 UTC 2012 now using getKey() method. each person now able to have there own password. (this is using userdata class). alto of bug fixes.
erdelferdelf

2012/6/28

the own password doesn't work. I have to use the standard password, even after changing
A new version of this scenario was uploaded on Thu Jun 28 16:39:27 UTC 2012 forgot to add store(); to the code
tylerstylers

2012/6/28

fix it now forgot to add store(); to the code
YomanYoman

2012/6/29

Thanks! it helps my code a lot (spare me, i barely know programming) :D
A new version of this scenario was uploaded on Fri Jun 29 20:17:15 UTC 2012 image of user acount it is loging into. echo password if nothing is entered baning has being added made more secure.
PoliPoli

2013/1/18

cool
tylerstylers

2013/1/19

Thanks :)
PoliPoli

2013/1/19

source coods of good scenarios are rare!!
tylerstylers

2013/1/19

Lol
Super_HippoSuper_Hippo

2013/12/16

Hm, just tried to change my password to 'Greenfoot'. Looks like it was not a good idea to use a capital letter. Well, I pressed f. :D