This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-04-04 17:17:28

Jakey22
Scratcher
Registered: 2008-12-28
Posts: 72

Password block

Scratch 1.4 has an ask question block, but how about a password block? the only difference would be that the text you type looks like black dots or * or something like that.

ask for password [text].


http://www.imagebookers.com/gallery/d/2561-1/ubuntu-wallpaper.png http://bullylug.org/linux-penguin.jpg
My website       PENGUINS!!!!!!!!!!!!!!!!!!!!! randomness.

Offline

 

#2 2010-04-04 19:29:55

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Password block

Yes, I would love that block! Though you can get around it - cover the characters with sprites. But that's very messy - the password block would be great!

Last edited by Jonathanpb (2010-04-05 02:23:19)


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#3 2010-04-04 20:26:09

Rodentboy
Scratcher
Registered: 2009-04-26
Posts: 52

Re: Password block

It's simple to re-create... just don't use the ask block. It'd be something like- "If key 5 pressed, add "5" to a list called password". A sprite that is in the shape of an asterisk * would move forward once, stamp and wait for the next character. Once you click something- like an on-screen "Enter" button- the asterisks would disappear and a sprite would consult the list "password" and check if it has the same characters in order of the actual password. If you made another list called "Saved Password" it would make it easier just to say, "if password = saved password."

     If you'd like me to make a project with an example, I will.


Rodentboy---- My new 'Blog' thingy Rodentboy's Blog of Fanatical Stupidity   And be sure to see the Scratch Resources Site!

Offline

 

#4 2010-04-04 22:56:45

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Password block

Great idea! Xenotype would be....better. xD


Hai.

Offline

 

#5 2010-04-05 05:09:05

Phi_Lho
Scratcher
Registered: 2010-03-22
Posts: 75

Re: Password block

Rodentboy wrote:

It's simple to re-create...
[...]
If you'd like me to make a project with an example, I will.

Don't forget, at least, the backspace key! :-)


http://i241.photobucket.com/albums/ff159/PhiLho/KM150.pnghttp://i241.photobucket.com/albums/ff159/PhiLho/PhiLhoLogo.png

Offline

 

#6 2011-01-16 06:10:44

wpd
Scratcher
Registered: 2009-08-15
Posts: 4

Re: Password block

Jakey22 wrote:

Scratch 1.4 has an ask question block, but how about a password block? the only difference would be that the text you type looks like black dots or * or something like that.

ask for password [text].

Well you could use the question block. Make it say Enter password. Make your password pizza. Then put if answer=pizza, brodcast password accepted.

Offline

 

#7 2011-01-16 16:15:08

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Password block

wpd wrote:

Jakey22 wrote:

Scratch 1.4 has an ask question block, but how about a password block? the only difference would be that the text you type looks like black dots or * or something like that.

ask for password [text].

Well you could use the question block. Make it say Enter password. Make your password pizza. Then put if answer=pizza, brodcast password accepted.

The point was to mask the word you type in.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

Board footer