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

#1 2009-11-21 22:35:50

Hygt5
Scratcher
Registered: 2009-09-22
Posts: 14

Help

Hello, I have a question.

I have created a "game" in which I put the blocks:

If "answer"="etc."

So, basically its a password thing. I was wondering if there is any
way that when the user is typing their password, the letters appear
As "****", like a real password system would use.

Any help is appreciated, thanks!

Offline

 

#2 2009-11-21 22:47:27

06dknibbs
Scratcher
Registered: 2008-01-29
Posts: 1000+

Re: Help

This can't be done in Scratch at the moment, but perhaps it could be a feature in future version of Scratch?  smile


http://i404.photobucket.com/albums/pp129/06dknibbs/Untitled-3-6.jpg

Offline

 

#3 2009-11-21 22:54:50

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Help

Actually, this can be done with Lists, let me upload my "OS" as, all it is currently, is a login.  tongue

Offline

 

#4 2009-11-21 23:00:23

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Help

http://scratch.mit.edu/projects/Magnie/769981

Offline

 

#5 2009-11-21 23:14:13

06dknibbs
Scratcher
Registered: 2008-01-29
Posts: 1000+

Re: Help

Magnie wrote:

Actually, this can be done with Lists, let me upload my "OS" as, all it is currently, is a login.  tongue

I think Hygt5 is asking whether or not you can make the character's in the ask box become "***" like a password. This isn't something Scratch can do at the moment, anything you type into and ask box is exactly what you type.


http://i404.photobucket.com/albums/pp129/06dknibbs/Untitled-3-6.jpg

Offline

 

#6 2009-11-22 05:14:53

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

Re: Help

06dknibbs wrote:

Magnie wrote:

Actually, this can be done with Lists, let me upload my "OS" as, all it is currently, is a login.  tongue

I think Hygt5 is asking whether or not you can make the character's in the ask box become "***" like a password. This isn't something Scratch can do at the moment, anything you type into and ask box is exactly what you type.

It is possible, but it's 'cheating'. You make a sprite that covers the chatbar, and it displays asterisks.  tongue  Whenever you push a key, it'll change costume to display the right amount of asterisks. How's that?  big_smile


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

Offline

 

#7 2009-11-22 06:38:05

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Help

Jonathanpb wrote:

06dknibbs wrote:

Magnie wrote:

Actually, this can be done with Lists, let me upload my "OS" as, all it is currently, is a login.  tongue

I think Hygt5 is asking whether or not you can make the character's in the ask box become "***" like a password. This isn't something Scratch can do at the moment, anything you type into and ask box is exactly what you type.

It is possible, but it's 'cheating'. You make a sprite that covers the chatbar, and it displays asterisks.  tongue  Whenever you push a key, it'll change costume to display the right amount of asterisks. How's that?  big_smile

That's pretty clever!  I wonder if it would work?


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#8 2009-11-22 17:20:07

06dknibbs
Scratcher
Registered: 2008-01-29
Posts: 1000+

Re: Help

Paddle2See wrote:

Jonathanpb wrote:

06dknibbs wrote:

I think Hygt5 is asking whether or not you can make the character's in the ask box become "***" like a password. This isn't something Scratch can do at the moment, anything you type into and ask box is exactly what you type.

It is possible, but it's 'cheating'. You make a sprite that covers the chatbar, and it displays asterisks.  tongue  Whenever you push a key, it'll change costume to display the right amount of asterisks. How's that?  big_smile

That's pretty clever!  I wonder if it would work?

Doesn't the ask block go right to the front? If it does, then whatever sprite you create would be pushed to the back anyway..

Edit: It actually works  smile  You just have to tell the sprite with the asterisks "Forever, go to front".

Last edited by 06dknibbs (2009-11-22 17:24:03)


http://i404.photobucket.com/albums/pp129/06dknibbs/Untitled-3-6.jpg

Offline

 

#9 2009-11-22 22:04:39

adriangl
Scratcher
Registered: 2007-07-02
Posts: 1000+

Re: Help

06dknibbs wrote:

Paddle2See wrote:

Jonathanpb wrote:


It is possible, but it's 'cheating'. You make a sprite that covers the chatbar, and it displays asterisks.  tongue  Whenever you push a key, it'll change costume to display the right amount of asterisks. How's that?  big_smile

That's pretty clever!  I wonder if it would work?

Doesn't the ask block go right to the front? If it does, then whatever sprite you create would be pushed to the back anyway..

Edit: It actually works  smile  You just have to tell the sprite with the asterisks "Forever, go to front".

I wonder why no one ever thought of that, in many OS projects people use complicated password systems.


Scratchin' since 2007

Offline

 

#10 2009-11-22 23:56:04

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

Re: Help

You can do the same method with lists and variables.  tongue


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

Offline

 

#11 2009-11-22 23:57:05

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

Re: Help

06dknibbs wrote:

You have to tell the sprite with the asterisks "Forever, go to front".

Oops! I forgot to mention that!  tongue


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

Offline

 

#12 2009-11-23 10:02:29

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Help

Oh, so that's what you meant.  tongue  But instead of costumes, it should be stamping.  wink

Offline

 

#13 2009-11-23 19:53:07

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: Help

ilikewaffles wrote:

i have a question, why does a sprite that has a script like this:

[blocks]<forever>
<go to[ the main sprite]
<end>[/blocks]

has a small lag when the main sprite moves? how do i solve it?

thankz

If you want to ask a question, please don't post it in an existing topic. Post a new topic instead. Thanks!


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#14 2009-11-23 20:04:18

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

Re: Help

ilikewaffles wrote:

i have a question, why does a sprite that has a script like this:

[blocks]<forever>
<go to[ the main sprite]
<end>[/blocks]

has a small lag when the main sprite moves? how do i solve it?

thankz

Like hmnwilson said. Post in a new topic.

it causes a lag because it is continually checking and setting it's x and y to the main sprites' x and y. No work around. Unless you make it so when the main sprite moves, it broadcasts a message. Then when the other sprite receives it, it sets the x and y to the main sprite's x and y.


Hai.

Offline

 

Board footer