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

#1 2008-06-29 20:19:16

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Choose your Variable Type

I know people probably have encountered this: When creating a long list of local variables, they need to change the check mark that tells which type of variable to local. Than, when it gets created, it automatically shows on the screen. What if Scratch remembered the last type of variable you used and whether it was visible? Than, you can create a long list of local variables twice as fast (more or less).


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#2 2008-06-29 20:25:49

mrguy740
Scratcher
Registered: 2008-01-25
Posts: 100+

Re: Choose your Variable Type

good idea I don't make too much local variables but when I do it would help. But when it automatically shows up that is just plain annoying.


The imagination exercises a powerful influence over every act of sense, thought, reason, over every idea. Latin Proverb

Offline

 

#3 2008-06-29 20:41:25

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Choose your Variable Type

mrguy740 wrote:

good idea I don't make too much local variables but when I do it would help. But when it automatically shows up that is just plain annoying.

I hate that it does that too! And I use local variables a lot, like in this game I am making (for fun. Not like Draw your character), I had to use local variables to remember the costumes. It was a pain in the rear ( big_smile ) to have to check and uncheck and click loacal


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#4 2008-06-30 06:11:26

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: Choose your Variable Type

I guess a mechanism that recalls your last choice (if the variable is local or global and if you want it on the stage) would save a lot of time. I think they behave as they do now just to make it very simple to young programmers. An environment that does behave always the same way is much simpler to learn.

Offline

 

#5 2008-06-30 11:41:10

bigB
Scratcher
Registered: 2007-06-09
Posts: 100+

Re: Choose your Variable Type

i wish you could change a variable from local to global after it was created as sometimes you realise you have to change it.


http://scratch.mit.edu/projects/bigB/260981 Draw to Text
http://scratch.mit.edu/projects/bigB/181829 3D Stunt Flyer

Offline

 

#6 2008-06-30 11:41:53

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Choose your Variable Type

bigB wrote:

i wish you could change a variable from local to global after it was created as sometimes you realise you have to change it.

That would also be good too


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

Board footer