Add another project as a scene for your project?

I want a script that imports a project and puts all the sprites and data in a new scene, or when importing it on a project that's still editing, it just turns the project into a new scene instead.

Native or non-native blocks(JavaScript), I want the script.

also add names of the scenes in the "switch to scene" block menu.

Thanks in advance!

I could look into figuring this out, but I have a huge question. Why? Why do you need this?

Also, if you want to be able to make a project do what something in the snap ui can already do, just look through the source code. You will most likely find the solution. The best way is to search for the string of text that appears in the ui.

It could be useful for a OS or something.

why import a scene? it barely interacts with the rest of the project, what difference would it have in your case from just opening the other project?
i don't know any way scenes can be imported without js, i feel like you should either load a sprite using the buggy scisnap primitives, or parse an xml file to create rings, costumes, and sounds.
if you want to use js you can probably just use the browser debugger to step through what happens when adding a scene, although it would probably break the ui on the project page like the sprite snap primitive

I'm working on a Wii launcher, i dont know why i just felt bored and wanted to do it.

Well, it could be for the other project I'm working on...

image
image
Is this not what you're talking about?

I think he wants something like this:
untitled script pic

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.