Discuss Scratch
- Discussion Forums
- » Suggestions
- » Move variables and lists
- BSH1
- Scratcher
100+ posts
Move variables and lists
Move [Variable v] to x:(0) y:(0) //category=variables
Support!I remember moving variables in scratch 1.4
- Math_Addict
- Scratcher
100+ posts
Move variables and lists
Support!
Wanting to close this account, but then I'm still having a couple more things to do before I leave this account.
- 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
Also could we have this for other blocks that can be shown on the stage like
(costume #)and
(direction)and also
show variable (costume #)I would find that very useful
hide variable (direction)
when green flag clicked
if <(language) = [English ]> then
say [Everything is Awesome!] for (2) secs
end
if <(language) = [French ]> then
say [Tout est super-genial!] for (2) secs
end
if <(language) = [Italian ]> then
say [E meraviglioso!] for (2) secs
end
if <(language) = [Spanish ]> then
say [Todo es fabuloso!] for (2) secs
end
- seanbobe
- Scratcher
500+ posts
Move variables and lists
show workaround suppport! even though this is workaroundable, i still support!
- 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.
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.
BeetleBlocks, WatercolorBot, and Turtle Art
Hover over a name or label to translate into current language
When Earth was… Purple?
☂️
- 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
show workaround suppport! even though this is workaroundable, i still support!
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
It's very easy to add an offset to the variable's coordinates. The only problem is that variables use a slightly different coordinate system…
running Chromium 42.0.2311.90 with Flash Player 15.0.0.189 on Arch Linux 3.19.5-1-ck
MathWizz — JsScratch && sb.js & Amber (coming soon! maybe)
- Cyoce
- Scratcher
500+ posts
Move variables and lists
move [variable1 v] to x: (10) y: (20) :: variablesSupport
- mitopolis
- Scratcher
100+ posts
Move variables and lists
SUPPORTevenTHOUGHitCANbeDONEin1.4.
My signature just ate your evil kumquat!
when green flag clicked
forever
if <I am spamming::sensing>then
Stop Spamming
end
define stop spamming
- 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.
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
I am a fish. A flat fish to be exact.
I ate a hot pocket pet me.
when green flag clicked
forever
say [pet meeeeeeee]
end
- hello2248
- Scratcher
100+ posts
Move variables and lists
Yes that would be so helpful, esspecialy if the varible is in large scale format.
After Helping Scratchers::custom hat
help [all v] of [other v]{scratchers::pen}:: list
delete [all v] of [glitches v]::extension cap
- 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.
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.
; Oh this? This is just my semicolon. I got it a long time ago, it's quite innocuous. Don't worry about it.
You —> http://i.imgur.com/iVHfwLc.gifv
- matey1234
- Scratcher
1000+ posts
Move variables and lists
I would support this but.. 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.
As per this post, no support.
| Artist | Gamer | Roleplayer | Weirdo | Lazy |
- elijahf10
- Scratcher
44 posts
Move variables and lists
-
Last edited by elijahf10 (June 22, 2015 23:30:12)
h
- 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)
- Discussion Forums
- » Suggestions
- » Move variables and lists