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

#1 2010-08-10 13:58:01

majormax
Scratcher
Registered: 2008-04-06
Posts: 1000+

CYOB block

How would you make a "Ask %n with %n mask" in CYOB
EX.
Ask [What's your name?] with mask [●]
Would give you a sprite asking What's your name?
If you typed john in you would see
●●●●

Offline

 

#2 2010-08-10 14:11:30

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: CYOB block

Why did you use my name?


You can now reach me on Twitter @johnnydean1_

Offline

 

#3 2010-08-10 14:31:16

majormax
Scratcher
Registered: 2008-04-06
Posts: 1000+

Re: CYOB block

johnnydean1 wrote:

Why did you use my name?

I actually didn't do it on purpose. I just noticed that.

Offline

 

#4 2010-08-10 16:51:12

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: CYOB block

johnnydean1 wrote:

Why did you use my name?

John is a pretty common name....
I don't think StringFieldMorph supports this, you would just have to make your own subclass.


nXIII

Offline

 

#5 2010-08-10 17:16:09

majormax
Scratcher
Registered: 2008-04-06
Posts: 1000+

Re: CYOB block

So you can't do it in CYOB.

Offline

 

#6 2010-08-10 17:22:37

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: CYOB block

Maybe if you tried REALLY hard and wrote a ton of code to simulate the ask box with just morphic controls, but you might need an event loop.


nXIII

Offline

 

Board footer