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

#1 2010-09-19 15:19:26

yodude925
Scratcher
Registered: 2010-05-20
Posts: 31

typing?

How do you make a typing script i need help on it!


thanks.


Check out these series: Mecha's revenge, 5 star aces, and Mario star (made by skwiek, forme01, and 041)

Offline

 

#2 2010-09-19 15:34:24

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

Re: typing?

That's not hard, it just takes a REALLY long time. First, you have to make a costume for each letter. Then, you have to make Scripts like:

if <key [a] pressed?>
  switch to costume [a]
  stamp
  change x by ( (width of letter + 2) )
end if

Believe me, it takes a while.


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

Offline

 

#3 2010-09-19 17:22:13

yodude925
Scratcher
Registered: 2010-05-20
Posts: 31

Re: typing?

ok thanks dude


Check out these series: Mecha's revenge, 5 star aces, and Mario star (made by skwiek, forme01, and 041)

Offline

 

#4 2010-09-19 17:23:56

yodude925
Scratcher
Registered: 2010-05-20
Posts: 31

Re: typing?

it would take like 52 times or so.


Check out these series: Mecha's revenge, 5 star aces, and Mario star (made by skwiek, forme01, and 041)

Offline

 

#5 2010-09-19 17:52:12

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: typing?

yodude925 wrote:

it would take like 52 times or so.

Wouldn't it be 26? (One for each letter of the alphabet)


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#6 2010-09-19 18:42:57

lasc12
Scratcher
Registered: 2007-11-18
Posts: 100+

Re: typing?

Harakou wrote:

yodude925 wrote:

it would take like 52 times or so.

Wouldn't it be 26? (One for each letter of the alphabet)

Number keys, space bar, blah blah blah.


Thus I have spoken.

Offline

 

#7 2010-09-20 17:59:06

yodude925
Scratcher
Registered: 2010-05-20
Posts: 31

Re: typing?

Harakou wrote:

yodude925 wrote:

it would take like 52 times or so.

Wouldn't it be 26? (One for each letter of the alphabet)

26 costumes and 26 blocks so 26 + 26 + 52


Check out these series: Mecha's revenge, 5 star aces, and Mario star (made by skwiek, forme01, and 041)

Offline

 

#8 2010-09-20 18:29:41

meltdown
New Scratcher
Registered: 2010-09-10
Posts: 18

Re: typing?

26+10+26+10=72

Offline

 

#9 2010-09-20 18:53:49

12three
Scratcher
Registered: 2008-06-12
Posts: 1000+

Re: typing?

This depends on the game you're making- you can do what is stated above, or you can use the ask question blocks.
big_smile -12three- big_smile

Offline

 

#10 2010-09-20 20:20:51

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: typing?

It's unimportant how many times you would need to do this.  smile

If you just need the typing for simple purposes, such as answering a question (in the form of a prompt), the "Ask" block should do the trick.  smile  It is rather limited though.

Offline

 

Board footer