This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-05-21 11:13:39

Leeizazombie
Scratcher
Registered: 2011-09-17
Posts: 53

How do you manage variables and upload them the way you want them?

I set my variables to slider or large and in a certain place, then i upload, and play it makes the variables default and puts them in the top Left corner  hmm
i seen people's projects were they have them the way they want, but how?


Leegion!! Multiplayer! Construction mode! Play this game and join competitions! http://scratch.mit.edu/projects/Leeizazombie/2759199

Offline

 

#2 2012-05-21 11:22:13

mythbusteranimator
Scratcher
Registered: 2012-02-28
Posts: 1000+

Re: How do you manage variables and upload them the way you want them?


http://www.foxtrot.com/comics/2012-04-01-fdb37077.gif
clicky

Offline

 

#3 2012-05-21 13:53:29

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: How do you manage variables and upload them the way you want them?

Upload the project with the variables showing in their correct places, with a script to hide them at the start of the project.


http://trinary.tk/images/signature_.php

Offline

 

#4 2012-05-21 15:48:45

Leeizazombie
Scratcher
Registered: 2011-09-17
Posts: 53

Re: How do you manage variables and upload them the way you want them?

I uploaded a project (the one in my signature) witb a variable hidden at the start and shhown when i wanted, its in deathmatch, (how many lives?) i had it as a slider and uploaded, but did not workk...  hmm


Leegion!! Multiplayer! Construction mode! Play this game and join competitions! http://scratch.mit.edu/projects/Leeizazombie/2759199

Offline

 

#5 2012-05-21 16:29:03

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: How do you manage variables and upload them the way you want them?

You need to upload it with the variable showing, and the a,

when gf clicked
hide variable [lives v]

Last edited by sonicfan12p (2012-05-21 16:29:30)


Why are the secret organizations getting all the attention?  mad

Offline

 

#6 2012-05-21 17:24:30

Prestige
Scratcher
Registered: 2008-12-15
Posts: 100+

Re: How do you manage variables and upload them the way you want them?

Leeizazombie wrote:

I uploaded a project (the one in my signature) witb a variable hidden at the start and shhown when i wanted, its in deathmatch, (how many lives?) i had it as a slider and uploaded, but did not workk...  hmm

The project must be uploaded with all the variables that will EVER be shown in the project SHOWN when uploading. If you don't want them shown all the time then just add a hide variable script when green flag is clicked - but they must be visible when you upload it so they work correctly.


"Don't insult someone until you've walked a mile in their shoes. That way, if they don't like what you have to say, you'll be a mile away and still have their shoes  smile  "

Offline

 

#7 2012-05-21 18:17:35

AgentRoop
Scratcher
Registered: 2012-02-11
Posts: 1000+

Re: How do you manage variables and upload them the way you want them?

Prestige wrote:

Leeizazombie wrote:

I uploaded a project (the one in my signature) witb a variable hidden at the start and shhown when i wanted, its in deathmatch, (how many lives?) i had it as a slider and uploaded, but did not workk...  hmm

The project must be uploaded with all the variables that will EVER be shown in the project SHOWN when uploading. If you don't want them shown all the time then just add a hide variable script when green flag is clicked - but they must be visible when you upload it so they work correctly.

they must also be wherever you want them, and in whatever form or color that you want them in along with having them shown.


La La
I wrote an album.

Offline

 

#8 2012-05-21 19:08:10

Leeizazombie
Scratcher
Registered: 2011-09-17
Posts: 53

Re: How do you manage variables and upload them the way you want them?

Thanks  smile  i'l check on that then


Leegion!! Multiplayer! Construction mode! Play this game and join competitions! http://scratch.mit.edu/projects/Leeizazombie/2759199

Offline

 

#9 2012-05-23 17:30:57

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: How do you manage variables and upload them the way you want them?

There is a project here that will answer your question in full.  smile  Scratch On!


Why are the secret organizations getting all the attention?  mad

Offline

 

#10 2012-05-23 18:06:48

ftf841
Scratcher
Registered: 2012-02-19
Posts: 1000+

Re: How do you manage variables and upload them the way you want them?

you could make your varible a sprite


http://mag.racked.eu/cimage/i9002/Achievement++get%21/Hi+there./mca.png
http://mag.racked.eu/mcimage/i354/Achievement++get%21/CAKE%21%21%21%21%21/mca.png

Offline

 

#11 2012-05-23 20:39:15

AgentRoop
Scratcher
Registered: 2012-02-11
Posts: 1000+

Re: How do you manage variables and upload them the way you want them?

ftf841 wrote:

you could make your varible a sprite

What do you mean?


La La
I wrote an album.

Offline

 

#12 2012-05-23 20:58:47

backspace_
Scratcher
Registered: 2012-03-21
Posts: 500+

Re: How do you manage variables and upload them the way you want them?

AgentRoop wrote:

ftf841 wrote:

you could make your varible a sprite

What do you mean?

he means make a sprite with costumes as numbers or whatever your variable is, and set costume # to the variable value, it's what I do because it's much neater and more professional...


Your tiny hands
Your crazy kitten smile

Offline

 

#13 2012-05-24 04:32:15

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: How do you manage variables and upload them the way you want them?

backspace_ wrote:

AgentRoop wrote:

ftf841 wrote:

you could make your varible a sprite

What do you mean?

he means make a sprite with costumes as numbers or whatever your variable is, and set costume # to the variable value, it's what I do because it's much neater and more professional...

Yes.

It usually looks much better when you display variables in a form other than the default orange slider/readouts.


http://trinary.tk/images/signature_.php

Offline

 

#14 2012-05-25 18:55:04

AgentRoop
Scratcher
Registered: 2012-02-11
Posts: 1000+

Re: How do you manage variables and upload them the way you want them?

trinary wrote:

backspace_ wrote:

AgentRoop wrote:


What do you mean?

he means make a sprite with costumes as numbers or whatever your variable is, and set costume # to the variable value, it's what I do because it's much neater and more professional...

Yes.

It usually looks much better when you display variables in a form other than the default orange slider/readouts.

Oh, ok. That seems a little time consuming, but I bet it would end up looking better.


La La
I wrote an album.

Offline

 

#15 2012-05-25 21:04:19

TGrossenbacher
Scratcher
Registered: 2011-07-14
Posts: 4

Re: How do you manage variables and upload them the way you want them?

Well, I add all the showing variables in order without hiding any of them, hope me help!  big_smile

when gf clicked
forever
     say [Well, I add all the showing variables in order without hiding any of them.] for 2 secs
     say [Hope me help! :D] for 2 secs
end

Offline

 

Board footer