Discuss Scratch

powerpoint56
Scratcher
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.


Explore, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)
shadowmouse
Scratcher
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.

I'm making a game! It's a old-metroid/mega man esque side scroller/shooter. If your interested in anything from drawing to sounds, please message on one of my projects!
powerpoint56
Scratcher
1000+ posts

Explore 3.4, Scratch mod

shadowmouse wrote:

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.
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.


Explore, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)
Walrus227
Scratcher
54 posts

Explore 3.4, Scratch mod

powerpoint56 wrote:

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.
I use your mod. It's awesome!
powerpoint56
Scratcher
1000+ posts

Explore 3.4, Scratch mod

Walrus227 wrote:

I use your mod. It's awesome!
Thanks! I'm glad you like it.


Explore, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)
powerpoint56
Scratcher
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.


Explore, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)
BobStanley
Scratcher
100+ posts

Explore 3.4, Scratch mod

You don't treat like a variable so you have to redesign it each time (I think)

dracae made this picture V | Like a Glover | Tau is awesome | dracae also made that GIF >, Flash 11.8 (release 800)
powerpoint56
Scratcher
1000+ posts

Explore 3.4, Scratch mod

BobStanley wrote:

You don't treat like a variable so you have to redesign it each time (I think)
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.

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.


Explore, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)
djdolphin
Scratcher
1000+ posts

Explore 3.4, Scratch mod

powerpoint56 wrote:

BobStanley wrote:

You don't treat like a variable so you have to redesign it each time (I think)
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.

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.
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.

!
powerpoint56
Scratcher
1000+ posts

Explore 3.4, Scratch mod

djdolphin wrote:

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.
Yeah. I'll have to look in the source code and see where that process is done. It's probably somewhere in ScratchFrameMorph.


Explore, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)
djdolphin
Scratcher
1000+ posts

Explore 3.4, Scratch mod

You should ask someone with a wiki account to make an article for Explore.

!
powerpoint56
Scratcher
1000+ posts

Explore 3.4, Scratch mod

djdolphin wrote:

You should ask someone with a wiki account to make an article for Explore.
Yeah. Developer123 does; I'll ask him/her after I release 1.3.

Last edited by powerpoint56 (July 17, 2013 22:58:10)



Explore, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)
powerpoint56
Scratcher
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.


Explore, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)
powerpoint56
Scratcher
1000+ posts

Explore 3.4, Scratch mod

powerpoint56 wrote:

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.
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.

This means, then, that Explore 2.0 (not 1.3 anymore, Explore is going to a whole new level…) will be released by tomorrow.


Explore, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)
powerpoint56
Scratcher
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, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)
BobStanley
Scratcher
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)

dracae made this picture V | Like a Glover | Tau is awesome | dracae also made that GIF >, Flash 11.8 (release 800)
powerpoint56
Scratcher
1000+ posts

Explore 3.4, Scratch mod

BobStanley wrote:

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)
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…).

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…


Explore, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)
powerpoint56
Scratcher
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.


Explore, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)
powerpoint56
Scratcher
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…


Explore, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)
powerpoint56
Scratcher
1000+ posts

Explore 3.4, Scratch mod

Alright, Explore 2.0.1 is out!


Explore, my Scratch mod | Car Crash | My projects | (image by @MicroMacro)

Powered by DjangoBB