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

#1 2011-04-23 20:55:05

Animax
Scratcher
Registered: 2007-06-28
Posts: 21

Importing Projects and Variables

Summary: When I import a project all of the variable getters break. Please fix this or tell me how to.

Longer explanation: Whenever I import a project into another, all variable getters break. It adds the variables if they are not there already and puts in all of the variable blocks, but they don't return anything. You must drag them out and replace them. This can be incredibly tedious for projects with large amounts of variables, such as a project Yaahoo and I had to stop a while ago for this very reason called G. It involved things like G-Script, G-Lang, G-Book, G-Run, G-Raffics (Graphics), and G-OS. All of these involved huge amounts of variables and many plugins and stable parts which had to be imported, but when they were imported they didn't work. While would be fully possible for us to create these things in other languages, I hope this is fixed in Scratch 2.0 (which it probably will be considering that it is being completely reprogrammed in a different language), but if there's a quicker solution, I'd like to know it. Thanks.

Offline

 

#2 2011-05-18 08:44:59

g_arais
New Scratcher
Registered: 2010-11-05
Posts: 8

Re: Importing Projects and Variables

I need this too. And for the current version, 1.4. Please!!!

Offline

 

#3 2011-05-18 09:49:24

scratch_yoshi
Scratcher
Registered: 2009-06-12
Posts: 1000+

Re: Importing Projects and Variables

Umm... just have all the variables showing and use the "hide variable" block.


Retired from Scratch, but just the language itself. Not the forums.

Offline

 

#4 2011-05-18 11:45:42

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Importing Projects and Variables

scratch_yoshi wrote:

Umm... just have all the variables showing and use the "hide variable" block.

I don't think that's the problem.

My closest guess is that when Scratch imports a project or sprite, it automatically adds variables from the imported project to the list without checking if they're already there. This means the those blocks will recognize the new one, and let the old one alone.

Anyhow, it should be fixed in 2.0 as it's a commonly known glitch.  smile

Offline

 

Board footer