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

#1 2011-03-30 16:57:12

LWSrocks2
New Scratcher
Registered: 2011-03-30
Posts: 1

I have a question

I'm working on a project called "Virtual Artist" that will allow those that use it to select two options. One is "Writer" and one is "Artist". If they select "Writer", they can be able to type things. If they select "Artist" they can draw things. How can I code this to be possible?

Offline

 

#2 2011-03-30 21:06:17

Shin23
Scratcher
Registered: 2011-01-30
Posts: 100+

Re: I have a question

the way i see it, just make two variables, writer and artist. When the option is selected, set artist = 1 or writer = 1. then make a little thing that follows the mouse  around if artist = 1. Then say forever if artist = 1 and mouse down, pen down. Making the writing might be a bit tricky... You'd have to have each letters that have different costumes for each letter or something. Hope this answered your question!!!!  smile


http://scratch.mit.edu/static/projects/Shin23/1957329_med.png New Super Mario Bros. Scratch! (beta)
PSN: shauthegreat23

Offline

 

#3 2011-03-30 22:01:46

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: I have a question

Or you can do it with one variable.

Make a variable: art

and if the variable is set to 1, then it is art. if 0, then write.

Although writing is very (very very very) hard to get spaced evenly, you can do it.

I suggest using the font monaco so all of your letters will be the same width.

Offline

 

Board footer