Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Explore 3.4, Scratch mod
- powerpoint56
-
1000+ posts
Explore 3.4, Scratch mod
Actually, I realized that the cloud list compiler code was trying to treat the value nil as a string, thus causing the trouble. So I made the compiler ignore anything nil and now it works fine.
I still will need help getting the cloud lists separated in the Variables category. The topic where you can help me is here.

- shadowmouse
-
100+ posts
Explore 3.4, Scratch mod
Do you mean so that the blocks are still visible even if lists haven't been created? Because I don't see how that would work.
- powerpoint56
-
1000+ posts
Explore 3.4, Scratch mod
Yeah. It's because you don't have to use the “Make list” button like lists and variables have. There's just a block where you declare a cloud list. So the cloud list blocks show up all the time. Do you mean so that the blocks are still visible even if lists haven't been created? Because I don't see how that would work.

- Walrus227
-
54 posts
Explore 3.4, Scratch mod
I use your mod. It's awesome! I'm have created a Scratch 1.4 mod called Explore, named this because not only am I exploring Squeak and Scratch in a whole new way but also the users of this mod will too. I'm implementing many features that will let the user explore outside of Scratch - using files, the Internet, and more.
Website:This the new website for Explore: http://explore-programming.weebly.com/
Download Explore 1.2:1.2 is here! Download
Please give feedback on how to make Explore better!
Credits: (are also in the actual mod)Find them here.
- powerpoint56
-
1000+ posts
Explore 3.4, Scratch mod
Thanks! I'm glad you like it. I use your mod. It's awesome!
- powerpoint56
-
1000+ posts
Explore 3.4, Scratch mod
Explore 1.3 is all ready to go except for one thing. Project cloud variables don't save each time you close a project, thus making this kind of cloud variable and all cloud lists not work. Can someone look into the source code of Explore 1.2 (Shift-click File) and see how I can do this? Thanks. 

- BobStanley
-
100+ posts
Explore 3.4, Scratch mod
You don't treat like a variable so you have to redesign it each time (I think)
- powerpoint56
-
1000+ posts
Explore 3.4, Scratch mod
Actually, I think it's a different problem, as far as I know. So that cloud variables don't conflict with other projects, each project is given an ID to attach to cloud variables. But once projects are saved, closed, and opened again, the project doesn't remember the ID so it can't get the cloud variable. You don't treat like a variable so you have to redesign it each time (I think)
So you're right that the ID has to redesign each time. The question is, then, how can projects remember their ID so cloud variables don't reset?
Thanks for your help.

- djdolphin
-
1000+ posts
Explore 3.4, Scratch mod
I think Scratch writes the names of the variables and their values to the project file when it's saved, and creates the variables and sets them to the values when the project is opened. You probably have to figure out how to write the IDs of the cloud variables to the project file and create them when the project is opened.Actually, I think it's a different problem, as far as I know. So that cloud variables don't conflict with other projects, each project is given an ID to attach to cloud variables. But once projects are saved, closed, and opened again, the project doesn't remember the ID so it can't get the cloud variable. You don't treat like a variable so you have to redesign it each time (I think)
So you're right that the ID has to redesign each time. The question is, then, how can projects remember their ID so cloud variables don't reset?
Thanks for your help.
- powerpoint56
-
1000+ posts
Explore 3.4, Scratch mod
Yeah. I'll have to look in the source code and see where that process is done. It's probably somewhere in ScratchFrameMorph. I think Scratch writes the names of the variables and their values to the project file when it's saved, and creates the variables and sets them to the values when the project is opened. You probably have to figure out how to write the IDs of the cloud variables to the project file and create them when the project is opened.
- djdolphin
-
1000+ posts
Explore 3.4, Scratch mod
You should ask someone with a wiki account to make an article for Explore.
- powerpoint56
-
1000+ posts
Explore 3.4, Scratch mod
Yeah. Developer123 does; I'll ask him/her after I release 1.3. You should ask someone with a wiki account to make an article for Explore.
Last edited by powerpoint56 (July 17, 2013 22:58:10)
- powerpoint56
-
1000+ posts
Explore 3.4, Scratch mod
After trying a lot of different things, I've been looking through Insanity 1.2 like crazy to try and find what's making cloud variables not save between opening/closing a project in Explore. Can someone help me find the solution (preferably in the Insanity 1.2 source code)? Thanks.
- powerpoint56
-
1000+ posts
Explore 3.4, Scratch mod
I asked jvvg, and he said he had to hack things to get cloud variables to save between using a project and doesn't have any documentation of how he did it. So I'm just going to stick to “global” cloud variables that can be accessed from any project. After trying a lot of different things, I've been looking through Insanity 1.2 like crazy to try and find what's making cloud variables not save between opening/closing a project in Explore. Can someone help me find the solution (preferably in the Insanity 1.2 source code)? Thanks.
This means, then, that Explore 2.0 (not 1.3 anymore, Explore is going to a whole new level…) will be released by tomorrow.

- powerpoint56
-
1000+ posts
Explore 3.4, Scratch mod
Whoa, that went faster than I expected…
Explore 2.0 is out! You can get it here.
I hope you like it! Please give me feedback and suggestions.
Explore 2.0 is out! You can get it here.
I hope you like it! Please give me feedback and suggestions.

- BobStanley
-
100+ posts
Explore 3.4, Scratch mod
On the explore website, maybe you could add a page where users can upload projects so others can download projects made from explore from like an online database that anyone can download and run programs through that site. (I think it would be fairly simple)
- powerpoint56
-
1000+ posts
Explore 3.4, Scratch mod
Yeah, I was thinking about that, since people technically can't upload Explore projects to ModShare (well, they could call the mod “other” and then upload it, but it's just not the same…). On the explore website, maybe you could add a page where users can upload projects so others can download projects made from explore from like an online database that anyone can download and run programs through that site. (I think it would be fairly simple)
I suppose I could… I'm going to look on Google Sites and see if anything like that is possible; I remember uploading something on there once…
- powerpoint56
-
1000+ posts
Explore 3.4, Scratch mod
No, I can't. I think on Weebly you can, but only if you have Pro.
For now I'll just have people upload onto ModShare.

- powerpoint56
-
1000+ posts
Explore 3.4, Scratch mod
I fixed cloud variables, and now they are like the ones in Insanity 1.2 (they save with the project, and other projects can't access them). I'm going to release a follow-up version to Explore 2.0 with this fix in a moment…