Discuss Scratch

BSH1
Scratcher
100+ posts

Move variables and lists

MoveVariabletox:0y:0category=variables
Support!
I remember moving variables in scratch 1.4
Math_Addict
Scratcher
100+ posts

Move variables and lists

Support!
MushroomMan99
Scratcher
100+ posts

Move variables and lists

Support!
Also could we have this for other blocks that can be shown on the stage like
costume#
and
direction
and also
showvariablecostume#hidevariabledirection
I would find that very useful
seanbobe
Scratcher
500+ posts

Move variables and lists

epicsandwich123 wrote:

suppport! even though this is workaroundable, i still support!
show workaround
TimothyLawyer
Scratcher
1000+ posts

Move variables and lists

Create own watcher using a sprite. Then can place anywhere on screen.

Or make a second variable with similar name, set it up in the second location, hide watcher in the first location, copy value over to second variable, show second watcher.
TheHockeyist
Scratcher
1000+ posts

Move variables and lists

Semi-support. Not indifferent, but not full support either.
djdolphin
Scratcher
1000+ posts

Move variables and lists

The only problem is that variables use a slightly different coordinate system than sprites. Their x and y are measured from the top left corner of the screen, and the point represents the position of the top left corner of the variable. Sprites' positions are measured from the center, with the y's increasing as you move up, so this block would have to work the same way for continuity reasons. If the center of a variable was at x: -220 y: 170 using the sprites' coordinate system, and it was 30 pixels wide and 10 pixels tall, its position would actually be x: 5 y: 5 as saved in the project file, and it would stay at that unless you move it. However, if the number of characters in the variable changes, the pseudo-converted-to-sprites'-coordinate-system position will also change because the center changes. This could be confusing for new users who would only expect the variable's position to move when they tell it to. To fix this, it would probably require a rewrite of the whole variable positioning system, which would mess up older projects. There could be a way to change the positioning system of the variable from “top-left” to “center”, though, so semi-support. I hope this was intelligible.

Last edited by djdolphin (July 31, 2014 02:27:28)

Blaze349
Scratcher
1000+ posts

Move variables and lists


seanbobe wrote:

epicsandwich123 wrote:

suppport! even though this is workaroundable, i still support!
show workaround

TimothyLawyer wrote:

Create own watcher using a sprite. Then can place anywhere on screen.

Or make a second variable with similar name, set it up in the second location, hide watcher in the first location, copy value over to second variable, show second watcher.
MathWizz
Scratcher
100+ posts

Move variables and lists

djdolphin wrote:

The only problem is that variables use a slightly different coordinate system…
It's very easy to add an offset to the variable's coordinates.
stickfiregames
Scratcher
1000+ posts

Move variables and lists

Support, even though I normally use sprites to display variables.
Cyoce
Scratcher
500+ posts

Move variables and lists

movevariable1tox:10y:20
Support
mitopolis
Scratcher
100+ posts

Move variables and lists

SUPPORTevenTHOUGHitCANbeDONEin1.4.
theonlygusti
Scratcher
1000+ posts

Move variables and lists

No support.

Scratch is meant to be a gateway into the world of programming languages, so why add a feature that is not present in any other language?

Scratchers should learn that variables are not actually a means of displaying information, they are a method of storing information, as they are in every other language.
FLATtheFISH
Scratcher
39 posts

Move variables and lists

I support
hello2248
Scratcher
100+ posts

Move variables and lists

Yes that would be so helpful, esspecialy if the varible is in large scale format.
19f8361
Scratcher
500+ posts

Move variables and lists

support or not support!
FalconGunner99
Scratcher
1000+ posts

Move variables and lists

No support, if you want to display information, just learn how to use sprites to make a counter, it's a valuable learning experience that everyone should go through at some point if they want to make polished projects.

Take my project Stylish pong. If I had just used a variable for the counter it would have been much easier, but would it fit the aesthetic? Nope.

If you want to make good looking polished projects, learn how to make good UI. That's all.
matey1234
Scratcher
1000+ posts

Move variables and lists

FalconGunner99 wrote:

No support, if you want to display information, just learn how to use sprites to make a counter, it's a valuable learning experience that everyone should go through at some point if they want to make polished projects.

Take my project Stylish pong. If I had just used a variable for the counter it would have been much easier, but would it fit the aesthetic? Nope.

If you want to make good looking polished projects, learn how to make good UI. That's all.
I would support this but..

As per this post, no support.
elijahf10
Scratcher
44 posts

Move variables and lists

-

Last edited by elijahf10 (June 22, 2015 23:30:12)

deilnefle
Scratcher
20 posts

Move variables and lists

Support. I can create my own style or fonts, but it would be easier, when we can edit the variables, too.

Last edited by deilnefle (Sept. 6, 2015 22:04:19)

Powered by DjangoBB