This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Suggestions
  •  » A block for all of the variables' values (this is for lists as well)

#1 2010-04-15 00:53:29

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

A block for all of the variables' values (this is for lists as well)

(This is for lists as well - but I'll just keep it to variables!)

You know how the four variable "Stack blocks" have a drop-down menu so they can be used for all variables? It's very efficient.
The variable "Reporter block" doesn't work like that. There's a new block for each variable! How wasteful.

How about making the variable "Reporter block" with a drop-down menu? Then it won't be inefficient.

And one thing - as hmnwilson pointed out, this probably wasn't implemented in 1.3 because of the Stage monitors - where would you show/hide them?
Wolfie1996 has the solution:

http://i41.tinypic.com/i53cz4.jpg

Um... one more thing:

scmb1 wrote:

I thought of another reason it would be good. Here's the situation:

1) I have an incredibly long math equation. I make it out of blocks. It has a lot of variables in it.

2) I copy the equation to use again, but with different numbers. I have to replace all of the variables.

3) With the current method, I have to drag old variables out and drag all of the new variables in. This is tedious, not to mention the fact that I risk accidentally dropping the variable in the wrong place, displacing a super important part of the script, and causing loads of frustration.

4) With your proposed method, I click the little arrow and then click the variable I want. Simple and frustration-less.

YES YES YES YES YES

Um... one more thing!  big_smile

JSO wrote:

It also seems weird to me that you have a block with only a dropdown in it. They could've made just one command block with a dropdown menu to select what it should do...

I do want to easily replace variables, what if you could just right click the reporter and select a different variable that way? Just like the comparison blocks can be changed... I think Jens' Chirp has this.

For the first paragraph: http://img443.imageshack.us/img443/160/144myfakeblockvariable.png  tongue

For the second paragraph - I LIKEZ TEH IDEA!!!  big_smile   smile   tongue
...

Picture time!  big_smile


The block:

http://img90.imageshack.us/img90/2821/127variableblock1.png

The block with a variable selected:

http://img101.imageshack.us/img101/4664/128variableblock2.png

The block being used in a script:

http://img199.imageshack.us/img199/45/129variableblock3.png

Now... to show how much more efficient this would be, I'll show you two pictures. In Code Messenger (Scratch 1.4), this is what the variable area looks like:

http://img707.imageshack.us/img707/1862/130variableblockstuff4.png

But with the block:

http://img704.imageshack.us/img704/2696/131variableblockstuff5.png


Ah... so clean!  big_smile


What do you think?  smile

Last edited by Jonathanpb (2010-04-22 03:27:04)


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#2 2010-04-15 02:21:59

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

I think they kept it like that so you can easily click the show/hide checkmark without having to select the variable from the dropdown menu first. But if they can find a better system, I support!


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#3 2010-04-15 04:07:37

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

I'M SO STUPID!!!

sad

I'd delete this - but if there's a workaround that someone can think of, I'd gladly accept it.  smile


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#4 2010-04-15 04:54:23

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

Don't delete it! I like this idea - it would come i handy for me  smile  Anyway, I thought about it for a while, and came up with this:


http://i41.tinypic.com/i53cz4.jpg


I'm not 100% sure if it is possible, but it would make it much easier to handle projects with multiple variables - and it looks so much tidier! I support  smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#5 2010-04-15 04:59:07

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

Jonathanpb wrote:

I'M SO STUPID!!!

sad

I'd delete this - but if there's a workaround that someone can think of, I'd gladly accept it.  smile

I found the workaround

Use the ( ) of ( ) on the stage for global, and on a sprite for local.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#6 2010-04-15 05:54:51

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

Wolfie1996 wrote:

Don't delete it! I like this idea - it would come i handy for me  smile  Anyway, I thought about it for a while, and came up with this:


http://i41.tinypic.com/i53cz4.jpg


I'm not 100% sure if it is possible, but it would make it much easier to handle projects with multiple variables - and it looks so much tidier! I support  smile

That's a nice idea!  big_smile  Adding to the topic post...

juststickman wrote:

I found the workaround

Use the ( ) of ( ) on the stage for global, and on a sprite for local.

I'm not sure what you mean...  hmm


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#7 2010-04-15 06:55:48

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

Jonathanpb wrote:

Wolfie1996 wrote:

Don't delete it! I like this idea - it would come i handy for me  smile  Anyway, I thought about it for a while, and came up with this:


http://i41.tinypic.com/i53cz4.jpg


I'm not 100% sure if it is possible, but it would make it much easier to handle projects with multiple variables - and it looks so much tidier! I support  smile

That's a nice idea!  big_smile  Adding to the topic post...

juststickman wrote:

I found the workaround

Use the ( ) of ( ) on the stage for global, and on a sprite for local.

I'm not sure what you mean...  hmm

http://img688.imageshack.us/img688/177/varanswer.png

Last edited by juststickman (2010-04-15 06:56:05)


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#8 2010-04-16 01:46:27

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

That really doesn't solve the problem... Wolfie's is fine.  smile


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#9 2010-04-16 06:19:17

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

It is possible to make this, it has been made. Im not sure about the code for it, but it has been made, its in the Panther Mod.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#10 2010-04-18 17:48:01

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

I agree!


http://i48.tinypic.com/2z5pqad.png

Offline

 

#11 2010-04-19 03:22:56

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

Yayz, this got 'bumped'!  big_smile  Thanks!

Um... does anyone want to say anything about the suggestion?


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#12 2010-04-19 12:05:57

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

Jonathanpb wrote:

Yayz, this got 'bumped'!  big_smile  Thanks!

Um... does anyone want to say anything about the suggestion?

It will save space and make things look better.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#13 2010-04-19 18:48:24

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

Agreed!  big_smile


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#14 2010-04-19 18:55:05

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

I thought of another reason it would be good. Here's the situation:

1) I have an incredibly long math equation. I make it out of blocks. It has a lot of variables in it.

2) I copy the equation to use again, but with different numbers. I have to replace all of the variables.

3) With the current method, I have to drag old variables out and drag all of the new variables in. This is tedious, not to mention the fact that I risk accidentally dropping the variable in the wrong place, displacing a super important part of the script, and causing loads of frustration.

4) With your proposed method, I click the little arrow and then click the variable I want. Simple and frustration-less.


http://i48.tinypic.com/2z5pqad.png

Offline

 

#15 2010-04-20 07:03:06

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

scmb1 wrote:

I thought of another reason it would be good. Here's the situation:

1) I have an incredibly long math equation. I make it out of blocks. It has a lot of variables in it.

2) I copy the equation to use again, but with different numbers. I have to replace all of the variables.

3) With the current method, I have to drag old variables out and drag all of the new variables in. This is tedious, not to mention the fact that I risk accidentally dropping the variable in the wrong place, displacing a super important part of the script, and causing loads of frustration.

4) With your proposed method, I click the little arrow and then click the variable I want. Simple and frustration-less.

YES YES YES YES YES


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#16 2010-04-20 19:27:27

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

Jonathanpb wrote:

scmb1 wrote:

I thought of another reason it would be good. Here's the situation:

1) I have an incredibly long math equation. I make it out of blocks. It has a lot of variables in it.

2) I copy the equation to use again, but with different numbers. I have to replace all of the variables.

3) With the current method, I have to drag old variables out and drag all of the new variables in. This is tedious, not to mention the fact that I risk accidentally dropping the variable in the wrong place, displacing a super important part of the script, and causing loads of frustration.

4) With your proposed method, I click the little arrow and then click the variable I want. Simple and frustration-less.

YES YES YES YES YES

YES^5  smile

I think I may have suggested this before, but it didn't stay around long...


http://i48.tinypic.com/2z5pqad.png

Offline

 

#17 2010-04-20 19:54:38

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

We have this in Panther (pantherprogramming.weebly.com). Check out the pics!


http://i46.tinypic.com/dw7zft.png

Offline

 

#18 2010-04-20 20:43:01

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

Brilliant!  big_smile


Hai.

Offline

 

#19 2010-04-20 21:20:21

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

Support!


http://i.imgur.com/WBkM2QQ.png

Offline

 

#20 2010-04-20 21:32:46

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

SeptimusHeap wrote:

We have this in Panther (pantherprogramming.weebly.com). Check out the pics!

But we want it in Scratch itself.  tongue


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#21 2010-04-21 14:24:05

ElectricSparx
Scratcher
Registered: 2008-02-16
Posts: 100+

Re: A block for all of the variables' values (this is for lists as well)

This would come in handy. Although, what about in the sensing category? There's a block called ( [          v] of [            v]). It supports variables.


Lead Developer for Scratch Adventure

Offline

 

#22 2010-04-21 14:41:37

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

ElectricSparx wrote:

This would come in handy. Although, what about in the sensing category? There's a block called ( [          v] of [            v]). It supports variables.

Yes, but it still doesn't fix the problem, you still end up with all those different blocks in the variable area.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#23 2010-04-21 16:57:28

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

I think the current method provides a better visual feedback of the variables created.

It also seems weird to me that you have a block with only a dropdown in it. They could've made just one command block with a dropdown menu to select what it should do...

I do want to easily replace variables, what if you could just right click the reporter and select a different variable that way? Just like the comparison blocks can be changed... I think Jens' Chirp has this.


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#24 2010-04-22 03:24:33

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

JSO wrote:

I think the current method provides a better visual feedback of the variables created.

It also seems weird to me that you have a block with only a dropdown in it. They could've made just one command block with a dropdown menu to select what it should do...

I do want to easily replace variables, what if you could just right click the reporter and select a different variable that way? Just like the comparison blocks can be changed... I think Jens' Chirp has this.

If you don't like it with just a dropdown... let's add something to it!  big_smile

http://img443.imageshack.us/img443/160/144myfakeblockvariable.png

But I do like your idea.  smile  I'll add it to the topic post...


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#25 2010-04-26 18:17:13

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: A block for all of the variables' values (this is for lists as well)

JSO wrote:

I do want to easily replace variables, what if you could just right click the reporter and select a different variable that way? Just like the comparison blocks can be changed...

Great idea!


http://i48.tinypic.com/2z5pqad.png

Offline

 
  • Index
  •  » Suggestions
  •  » A block for all of the variables' values (this is for lists as well)

Board footer