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

#1 2013-01-20 12:58:03

Jakekerrigan
New Scratcher
Registered: 2013-01-09
Posts: 10

Variable Positioning

Is there any way to permanently position variables?

Before I start my game I move the health variable into the top right below my health bar and my score slightly higher at the top left of the screen.
The variables are hid when browsing through the menus. When I press start the variables are revealed but go back to their original position (both in the top left corner).
How do I change this?

Offline

 

#2 2013-01-20 13:03:15

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: Variable Positioning

Save the project with the variables showing in the spots you want them to be in, then you can show/hide them as you please.


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#3 2013-01-20 13:24:55

Jakekerrigan
New Scratcher
Registered: 2013-01-09
Posts: 10

Re: Variable Positioning

Thanks for the quick reply. But doing that doesn't seem to work.
I uploaded my game to Scratch just now with the variables saved in the correct position but they have just reset. Any ideas?

Offline

 

#4 2013-01-20 13:52:20

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Variable Positioning

Jakekerrigan wrote:

Thanks for the quick reply. But doing that doesn't seem to work.
I uploaded my game to Scratch just now with the variables saved in the correct position but they have just reset. Any ideas?

Well, not only do they have to be in the right position, but they have to be showing, which is what's causing your problems.

Anyway, something that you might find interesting is that in Scratch 2.0, there'll be a new block to move variables.

I hope that this helps!


http://i46.tinypic.com/35ismmc.png

Offline

 

#5 2013-01-20 14:20:49

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: Variable Positioning

Jakekerrigan wrote:

Thanks for the quick reply. But doing that doesn't seem to work.
I uploaded my game to Scratch just now with the variables saved in the correct position but they have just reset. Any ideas?

You have to use the same method with sharing as with saving.  So share it with them showing as well. (In the right place, of course)


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

Board footer