Discuss Scratch

The4thPixel
Scratcher
1000+ posts

Move variables and lists

Shaymin524 wrote:

The4thPixel wrote:

Ehh… What would this be used for?
If you need to…discreetly…move a variable to (say) off the screen \_Ü_/ then you could do:
move variable [foo v] to x:(300) y:(300)::variables
Why would you need to do that, though? Just use the hide variable block.
Shaymin524
Scratcher
68 posts

Move variables and lists

The4thPixel wrote:

Shaymin524 wrote:

The4thPixel wrote:

Ehh… What would this be used for?
If you need to…discretely…move a variable to (say) off the screen \_Ü_/ then you could do:
move variable [foo v] to x:(300) y:(300)::variables
Why would you need to do that, though? Just use the hide variable block.
IDK
jromagnoli
Scratcher
1000+ posts

Move variables and lists

Shaymin524 wrote:

The4thPixel wrote:

Shaymin524 wrote:

The4thPixel wrote:

Ehh… What would this be used for?
If you need to…discretely…move a variable to (say) off the screen \_Ü_/ then you could do:
move variable [foo v] to x:(300) y:(300)::variables
Why would you need to do that, though? Just use the hide variable block.
IDK
If you need it to be shown, but it keeps interfering with the gameplay, you can move it at different times.
EDO2012
Scratcher
100+ posts

Move variables and lists

Support! This would be very useful.
_Elektron_
Scratcher
93 posts

Move variables and lists

Definitely! Support!
Greenduck54
Scratcher
500+ posts

Move variables and lists

carrot2pufferfish wrote:

A lot of times I need to move variables for various reasons. For example, sometimes they get in the way of sprites or need to move with a sprite.
I would like a block that looks like this:
move variable [ variable] to x:(0) y:(0)::variables

I don't have any particular project that needs this, but it could help with coming up with other projects that uses it.
Support. Very good idea.
The4thPixel
Scratcher
1000+ posts

Move variables and lists

Shaymin524 wrote:

The4thPixel wrote:

Shaymin524 wrote:

The4thPixel wrote:

Ehh… What would this be used for?
If you need to…discretely…move a variable to (say) off the screen \_Ü_/ then you could do:
move variable [foo v] to x:(300) y:(300)::variables
Why would you need to do that, though? Just use the hide variable block.
IDK
Next time, please come up with your reasons this should be implimented before you post the topic. No support.
theonlygusti
Scratcher
1000+ posts

Move variables and lists

The4thPixel wrote:

Next time, please come up with your reasons this should be implimented implemented before you post the topic. No support.

carrot2pufferfish wrote:

A lot of times I need to move variables for various reasons. For example, sometimes they get in the way of sprites or need to move with a sprite.

Next time, The4thPixel, please read the OP before you reply to a topic.

There are many more uses beyond the ones the OP referenced as well,

  • positioning variables (e.g. score) differently when a game finishes.
  • Using them as text boxes in a project.
  • Further from the above point, they can become signs/tutorials in scrollers.
  • Draw a user's attention to it, by shaking or otherwise moving.
  • Storing a submitted user answer and then floating up the screen. Could be a nice effect.
  • Showing slideshow slide numbers in a different position in each slide to stop it getting in the way of slide content.
  • Making it the ball in pong!
  • Show other characters' stats, e.g. you could have “health” floating above all NPC's heads.
  • and so on and so forth

Last edited by theonlygusti (Jan. 13, 2017 23:18:55)

The4thPixel
Scratcher
1000+ posts

Move variables and lists

theonlygusti wrote:

The4thPixel wrote:

Next time, please come up with your reasons this should be implimented implemented before you post the topic. No support.
Next time, The4thPixel, please read the OP before you reply to a topic.
Next time, theonlygusti, please read the Community Guidelines before you mock me.
theonlygusti
Scratcher
1000+ posts

Move variables and lists

The4thPixel wrote:

theonlygusti wrote:

The4thPixel wrote:

Next time, please come up with your reasons this should be implimented implemented before you post the topic. No support.
Next time, The4thPixel, please read the OP before you reply to a topic.
Next time, theonlygusti, please read the Community Guidelines before you mock me.
You probably should too. I notice almost all of your recent posts are very passive-aggressive, and you seem to take every post quoting yours as some kind of personal attack.
rainierroitayam
Scratcher
100+ posts

Move variables and lists

Support! This can help a lot of people and even though with the workaround that @DaSprudLord made…

DaSpudLord wrote:

alexphan wrote:

DaSpudLord wrote:

25% support as per the workaround.

But what is the 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.
…it is still useful for New Scratchers that thinks how to move a variable but they fail to do so.
Sigton
Scratcher
1000+ posts

Move variables and lists

The4thPixel wrote:

theonlygusti wrote:

The4thPixel wrote:

Next time, please come up with your reasons this should be implimented implemented before you post the topic. No support.
Next time, The4thPixel, please read the OP before you reply to a topic.
Next time, theonlygusti, please read the Community Guidelines before you mock me.
You're being pretty hypocritical here.
He's mocking you as much as you were mocking @Shaymin524.

I do agree that theonlygusti shouldn't have used sarcasm to make his point, but doing it back just makes you as bad if not worse. Try to be nicer to people when you're posting.

Sigton
hjean1211
New Scratcher
1 post

Move variables and lists

It is not working
jromagnoli
Scratcher
1000+ posts

Move variables and lists

hjean1211 wrote:

It is not working
The feature has not been implemented. It is just a suggestion.
jromagnoli
Scratcher
1000+ posts

Move variables and lists

Duplicate possibly
JonathanSchaffer
Scratcher
1000+ posts

Move variables and lists

BSH1 wrote:

Move [Variable v] to x:(0) y:(0)  //category=variables
Support!
I remember moving variables in scratch 1.4
Move [Variable v] to x:(0) y:(0)::variables
support, although you could use
say (variable)
it would look weird and you'd need a tiny sprite
braxbroscratcher
Scratcher
1000+ posts

Move variables and lists

seanbobe wrote:

epicsandwich123 wrote:

suppport! even though this is workaroundable, i still support!
show workaround
text engines
PaperAviator
Scratcher
32 posts

Move variables and lists

Support.
jellyrmaker
Scratcher
95 posts

Move variables and lists

meh meh meh maybe support
kenny2scratch
Scratcher
500+ posts

Move variables and lists

Some drafts for the actual blocks, plus several additions I thought of:
make [var v] go to x:()y:() :: variables
make [list v] go to x:()y:() :: list
set [width v] of [list v] to () :: list // my addition
set [height v] of [list v] to () :: list // my second addition
set display type of [var v] to [default v] :: variables // third addition
set display type of [var v] to [slider v] :: variables // fourth addition
set display type of [var v] to [big display v] :: variables // fifth addition
set slider [min v] of [var v] to () :: variables // sixth addition
set slider [max v] of [var v] to () :: variables // seventh addition

Powered by DjangoBB