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

#1 2009-01-01 01:10:07

Kezio
Scratcher
Registered: 2008-11-26
Posts: 100+

Scratch Now Support Textbox!

http://scratch.mit.edu/projects/Kezio/367815

This is a simple script which made it possible.

Offline

 

#2 2009-01-01 01:18:02

toastermath
Scratcher
Registered: 2008-12-30
Posts: 24

Re: Scratch Now Support Textbox!

that is great! I don't want to download it so can you post it on here with the scratch box
<change{  }by(


like that

Offline

 

#3 2009-01-01 02:18:45

Kezio
Scratcher
Registered: 2008-11-26
Posts: 100+

Re: Scratch Now Support Textbox!

The forum block don't have a listbox blocks so i can't.

Tools to make a textbox
You'll need 1 listbox to store letters that was typed.

You'll need 1 listbox to act as a database to store data that was typed by you and was submitted.

you'll need 1 variable to act like a input where you can type stuff in it.

How this is useful:
1.Saving and loading feature is now easy to make!

2.If you are making a rpg why not ask for the player rpg name and you use the data inside the game.

3.if you want the player to able to type something back to a bad guy or someone then you can use this feature and the submit button will be there. then the guy will read what you typed and he'll say something back to you depending what you typed and submitted. for example  you type "hi" he type "hello there!" if there not a word supported then he'll say "i can't understand." or "???".

4.You know where you can change those ingame variable? instead of using the slider you can use this! you can type in what number and press accpet and there you go changed and it is easy beside using a slider to find a number.

5.this should make (fake) online connection between people and the project slightly easily

Last edited by Kezio (2009-01-01 02:29:08)

Offline

 

#4 2009-01-01 23:29:07

toastermath
Scratcher
Registered: 2008-12-30
Posts: 24

Re: Scratch Now Support Textbox!

so i have the listbox, database, and the variable, and i'll work from there

Offline

 

#5 2009-01-02 02:47:46

Kezio
Scratcher
Registered: 2008-11-26
Posts: 100+

Re: Scratch Now Support Textbox!

Yup, That all you really need..Unless you want to extend the stuff i listed to more advanced.

Extended Version:

What you need:
1 Database
1 Listbox
Several Variable

What You can do:

There is no code of this script found

Explain:
You can store data in a Database Then you use a advanced script to save the script and when the person come to your project it loads. (There was this one script that worked for offline project and not online embed one. it allow you to save and load without having manually save the project using save button at top of scratch)


<when green flag clicked>
Add [Level] to [Database]
Add [Money] to [Database]
<forever>
Replace Item [Level] of [Database] with [Level]
Replace Item [Money] of [Database] with [Money]
<end>


Explain:
Level and Money is a variable.
You can store player money,name,level, etc in to the database. and when you need it you can extract the data from the database to a variable.

Last edited by Kezio (2009-01-02 02:54:53)

Offline

 

#6 2009-01-02 14:07:34

toastermath
Scratcher
Registered: 2008-12-30
Posts: 24

Re: Scratch Now Support Textbox!

okay, i am starting to get it, I will come back if I need more help! Thanks.

Offline

 

#7 2009-01-02 16:09:26

toastermath
Scratcher
Registered: 2008-12-30
Posts: 24

Re: Scratch Now Support Textbox!

So I used your concept and made a password thing, it is pretty cool, I may post it soon.

Offline

 

#8 2009-01-02 20:04:24

Kezio
Scratcher
Registered: 2008-11-26
Posts: 100+

Re: Scratch Now Support Textbox!

Thanks Toastermath! and i hope you do to!.

Offline

 

Board footer