This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » FAQ
  •  » Variables Messed Up Online

#1 2012-02-11 11:46:56

lunarman42
Scratcher
Registered: 2012-02-09
Posts: 100+

Variables Messed Up Online

I uploaded my best game yet, but the variables are ON each other. What do I do? (I deleted the game for when I reupload it)


http://mag.racked.eu/cimage/i5009.2/lunarman42/Scratchin.39.+away/mca.png

Offline

 

#2 2012-02-11 11:57:12

ngamer
Scratcher
Registered: 2011-11-04
Posts: 100+

Re: Variables Messed Up Online

lunarman42 wrote:

I uploaded my best game yet, but the variables are ON each other. What do I do? (I deleted the game for when I reupload it)

Just upload it and say to download the game


http://i1100.photobucket.com/albums/g416/Agentpieface/ngamer.png

Offline

 

#3 2012-02-11 12:03:24

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: Variables Messed Up Online

I dunno if there's a thread about this in the FAQ forum, but there definitely needs to be if there isn't.

Unless the variables are showing when the project is either uploaded or saved, then they will go back to their default position and appearance.


Why

Offline

 

#4 2012-02-11 12:09:07

lunarman42
Scratcher
Registered: 2012-02-09
Posts: 100+

Re: Variables Messed Up Online

Oh, derp xP

And thanks RR, that helps. I'll just have it so it needs to be downloaded.

I uploaded it, and if you wanna see it here:

http://scratch.mit.edu/projects/lunarman42/2326150

(Left 4 Dead Minecraft)


http://mag.racked.eu/cimage/i5009.2/lunarman42/Scratchin.39.+away/mca.png

Offline

 

#5 2012-02-11 12:20:33

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: Variables Messed Up Online

I'm glad I could help  smile


Why

Offline

 

#6 2012-02-11 12:38:50

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Variables Messed Up Online

Variables that are hidden when the project is shared lose their locations.  The cure is to make sure that all variables are visible and in the correct location when the project is shared, then have a green flag script hide the ones that need to be hidden when the project starts up.  It's a known bug.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#7 2012-02-11 14:55:01

pietestaccount1234
Scratcher
Registered: 2012-01-25
Posts: 10

Re: Variables Messed Up Online

Paddle2See wrote:

Variables that are hidden when the project is shared lose their locations.  The cure is to make sure that all variables are visible and in the correct location when the project is shared, then have a green flag script hide the ones that need to be hidden when the project starts up.  It's a known bug.

i just have a little question about that. if your not going to have the variable show at all during the project, do you have to do this????

Offline

 

#8 2012-02-11 15:20:25

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: Variables Messed Up Online

pietestaccount1234 wrote:

Paddle2See wrote:

Variables that are hidden when the project is shared lose their locations.  The cure is to make sure that all variables are visible and in the correct location when the project is shared, then have a green flag script hide the ones that need to be hidden when the project starts up.  It's a known bug.

i just have a little question about that. if your not going to have the variable show at all during the project, do you have to do this????

If the variable is going to remain hidden for the entire project, then no, you don't have to worry about making sure it's showing when the project is saved or uploaded.


Why

Offline

 

#9 2012-05-03 01:17:51

AliensFTW
New Scratcher
Registered: 2012-05-01
Posts: 19

Re: Variables Messed Up Online

Finally I know why scratch does this! It is so annoying!

Offline

 

#10 2012-05-05 20:50:33

AliensFTW
New Scratcher
Registered: 2012-05-01
Posts: 19

Re: Variables Messed Up Online

Another way to stop this from happening (and it looks nicer too), is to make a sprite with as many costumes as you need, like costume 4 has a 4 on it, and then use the script that says

when gf clicked
forever
   switch to costume (whatever variable you need)
end

Offline

 

#11 2012-05-05 21:25:16

videogame9
Scratcher
Registered: 2008-05-12
Posts: 1000+

Re: Variables Messed Up Online

AliensFTW wrote:

Another way to stop this from happening (and it looks nicer too), is to make a sprite with as many costumes as you need, like costume 4 has a 4 on it, and then use the script that says

when gf clicked
forever
   switch to costume (whatever variable you need)
end

Except it doesn't work with strings, decimals, or negative numbers.


http://img641.imageshack.us/img641/4118/newvg9logo.png
QUOTE OF THE RIGHT NOW: why are we arguing about dead babies? -videogame9

Offline

 

#12 2012-11-11 08:24:40

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Variables Messed Up Online

videogame9 wrote:

AliensFTW wrote:

Another way to stop this from happening (and it looks nicer too), is to make a sprite with as many costumes as you need, like costume 4 has a 4 on it, and then use the script that says

when gf clicked
forever
   switch to costume (whatever variable you need)
end

Except it doesn't work with strings, decimals, or negative numbers.

Actually it should.  smile

Offline

 
  • Index
  •  » FAQ
  •  » Variables Messed Up Online

Board footer