Discuss Scratch
- Cream_E_Cookie
-
1000+ posts
Do as variable [ v] block
do as variable [ v] block :: variables cstartThis block simply does the action inside the variable as a variable.
end
Like if you put move 10 steps, the variable will move ten steps.
I like this idea:
In fact, this would end all variable motion suggestions. Support. Unsupported blocks could turn red if they are dragged in.
Also, any of the no-supporters should creat this to prove it.
Last edited by Cream_E_Cookie (Oct. 15, 2015 02:33:49)
- gdpr533f604550b2f20900645890
-
1000+ posts
Do as variable [ v] block
do as variable [ v] block :: variables cstartWhat will happen?
switch costume to [ v]
end
EDIT: Maybe the variable's costumes could be the three types of viewers.
Last edited by gdpr533f604550b2f20900645890 (Aug. 5, 2015 01:37:11)
- Cream_E_Cookie
-
1000+ posts
Do as variable [ v] block
Yeah, and for the drop downs it depends on where you put the block.do as variable [ v] block :: variables cstartWhat will happen?
switch costume to [ v]
end
EDIT: Maybe the variable's costumes could be the three types of viewers.
Also, is that support
Last edited by Cream_E_Cookie (Aug. 5, 2015 01:40:42)
- Zro716
-
1000+ posts
Do as variable [ v] block
oh I thought this was some kind of lambda suggestion, nevermind that.
what happens if you do this?
what happens if you do this?
make variable [var v] do :: cstart variablesI mean, if variables could become objects, this would make sense, but I don't see why a C block should manipulate a variable based on the blocks inside it, whereas it would make more sense to have a complete set of what variables can legally do in Scratch (move, show/hide, change watcher type, etc).
create clone of [myself v] // does it clone the variable or clone the sprite?
ask [] and wait // does the ask pop-up appear from the variable, sprite, or how the stage does it?
end
- Cream_E_Cookie
-
1000+ posts
Do as variable [ v] block
oh I thought this was some kind of lambda suggestion, nevermind that.Cloning: myself means myself. So the variable. ALthough i see very few cases where people need to do that.
what happens if you do this?make variable [var v] do :: cstart variablesI mean, if variables could become objects, this would make sense, but I don't see why a C block should manipulate a variable based on the blocks inside it, whereas it would make more sense to have a complete set of what variables can legally do in Scratch (move, show/hide, change watcher type, etc).
create clone of [myself v] // does it clone the variable or clone the sprite?
ask [] and wait // does the ask pop-up appear from the variable, sprite, or how the stage does it?
end
Ask: Stage does it.
- VoltageGames
-
1000+ posts
Do as variable [ v] block
set [steps v] to [10 ]????
move (steps) steps
This suggestion confuses me.
- IronBit_Studios
-
1000+ posts
Do as variable [ v] block
set [steps v] to [10 ]????
move (steps) steps
This suggestion confuses me.
- Cream_E_Cookie
-
1000+ posts
Do as variable [ v] block
How is it confusing? It simply means that the variable is basically acting like a sprite.set [steps v] to [10 ]????
move (steps) steps
This suggestion confuses me.
- VoltageGames
-
1000+ posts
Do as variable [ v] block
HOW CAN A VARIABLE BE A SPRI–How is it confusing? It simply means that the variable is basically acting like a sprite.set [steps v] to [10 ]????
move (steps) steps
This suggestion confuses me.
unless you mean the variable counter that displays the value on the screen?
In which case does that mean I can
do as variable [e v] block :: variables cstartbut then how would the display do
turn ccw (3) degrees
end
do as variable [e v] block :: cstart variablesthat would be an extremely limited block, probably limited to like the motion blocks.
switch costume to [ v] // useless
<touching color [#ff0088] ?> // also useless
pen down // useless
play sound [ v] // where would it get the sound?
end
Last edited by VoltageGames (Aug. 5, 2015 04:22:05)
- Cream_E_Cookie
-
1000+ posts
Do as variable [ v] block
Sound: stageHOW CAN A VARIABLE BE A SPRI–How is it confusing? It simply means that the variable is basically acting like a sprite.set [steps v] to [10 ]????
move (steps) steps
This suggestion confuses me.
unless you mean the variable counter that displays the value on the screen?
In which case does that mean I cando as variable [e v] block :: variables cstartbut then how would the display do
turn ccw (3) degrees
enddo as variable [e v] block :: cstart variablesthat would be an extremely limited block, probably limited to like the motion blocks.
switch costume to [ v] // useless
<touching color [#ff0088] ?> // also useless
pen down // useless
play sound [ v] // where would it get the sound?
end
Switch costume. Read the first reply
Also, yeah some things are useless, but then if it is useless, why would you put it there?
And yeah, i mean the variable counter that displays on the screen.
Last edited by Cream_E_Cookie (Aug. 5, 2015 04:39:22)
- iamunknown2
-
1000+ posts
Do as variable [ v] block
Variable displays are hardcoded into Scratch. To change that would require a ton of work - it would be like redefining the plus sign in a Python interpreter.
If you want to make a variable that acts like a sprite, DIY.
If you want to make a variable that acts like a sprite, DIY.
- stickfiregames
-
1000+ posts
Do as variable [ v] block
No support because most blocks wouldn't work for variables.
Support for some blocks to change variable displays though:
Support for some blocks to change variable displays though:
move [var v] to x: (0) y: (0) :: variables
set [var v] style to [small v] :: variables
set [var v] slider [min v] to (0) :: variables
move [list v] to x: (0) y: (0) :: list
set [list v] size to x: (100) y: (100) :: list
- Sonickyle
-
1000+ posts
Do as variable [ v] block
Support. Unsupported blocks could turn red if they are dragged in.
- Blank1234
-
500+ posts
Do as variable [ v] block
lol wat if someone did:
semi-support
do as variable [ v] block :: variables cstartthen what would happen?
do as variable [ v] block :: variables cstart
do as variable [ v] block :: variables cstart
end
end
end
semi-support
- Cream_E_Cookie
-
1000+ posts
Do as variable [ v] block
REad Sonicklyes post. lol wat if someone did:do as variable [ v] block :: variables cstartthen what would happen?
do as variable [ v] block :: variables cstart
do as variable [ v] block :: variables cstart
end
end
end
semi-support
- monstermash3
-
1000+ posts
Do as variable [ v] block
Support for this. Support. Unsupported blocks could turn red if they are dragged in.
- Cute_Boot
-
62 posts
Do as variable [ v] block
do as variable block :: variables cstart
end
Surpport!