MrFlash67 wrote:
elfin8er wrote:
I was wondering for something more of a text box, that I can position on the screen.
Um....could someone knowledgeable please help me? (That may not be the right word.)
*That can be placed ANYWHERE on the screen* Sorry about that.

Offline
elfin8er wrote:
amcerbu wrote:
There's no built-in text-box object that can be moved around. Most people use stamping to draw text with sprites, based on keyboard input.
*face palm* nvm guys.
Ya there isn't a built in text box, but there are ways to make your own. It's pretty complicated... and I probably couldn't explain it properly myself. I suggest looking for games or simulators that allow you to type. I don't think you should give up... it's difficult but not impossible. I'll try to find a game that uses typing so you can see what I mean

...ya, I'm weird... REAL weird...Offline
when gf clicked
forever
if <key [a v] pressed>
switch to costume [a v]
stamp
change x by (10)
add [b] to [anwer list v]
end
if <key [b v] pressed>
switch to costume [b v]
stamp
change x by (10)
add [b] to [anwer list v]
end
if <(x postion) = (100)>
set x to (-100)
change y by (10)
end
end
end
then this to put list into a variblewhen I recieve [put word together v] repeat <length of [answer list v]> set [number v] to (1) set [answer v] to <<position (number) of [answer list v]> join <position <(number) + [1]> of [answer list v]>> change [number] by [1]
Last edited by pizza22 (2012-08-31 14:00:32)
Offline
pizza22, your script won't sense key inputs correctly due to the linear processing. you'll need something like this for every key
when [a v] key pressed add [a] to [queue v]and then
when gf clicked forever if <(length of [queue v]) > [0]> switch to costume (item (1 v) of [queue v]) stamp change x by (8) add (item (1 v) of [queue v]) to [answer v] delete (1 v) of [queue v](example)
Last edited by Wes64 (2012-08-31 13:56:12)
Offline
Ok! I wasn't quite sure what you wanted exactly but here are a few projects that use typing in a few different ways. Maybe you can play around with these scripts to make the text box you wanted.
http://scratch.mit.edu/projects/Mick/1069#
http://scratch.mit.edu/projects/xt449/1916460#
http://scratch.mit.edu/projects/fofofo/261927#
Hope these are helpful

...ya, I'm weird... REAL weird...Offline
pizza22 wrote:
However, if you use my recieve above, you can get the whol list into a varible
that doesnt work either, it will only join 2 letters together, and it does not grow.
when I receive [join v] set [c v] to [1] set [clump v] to [] repeat (length of [answer v]) set [clump v] to (join (clump) (item (c) of [answer v]) ) change [c v] by (1) end
Offline
you could always use ready made sentaces in a box
Offline