beachbum111111 gave me a really good idea.
Wouldn't it be great if you could link worlds together?!
So I created a small, but powerful tool to do just that.
It allows another world to be loaded at runtime.
WATCH THE NEW VIDEO TUTORIAL!!!
I forgot to mention in the video tutorial:
The worlds must be in the same folder/directory.
__________________________________________________ _______
This is useful for linking different levels or parts of a game together, without bloating up the size of each world. This can aid in greatly decreasing lag and it allows for infinitely long worlds. An example of where this would help could be in jediaction's Halo - the generator (or Halo 2).
When you run the world the next world should load whenever this method gets activated, providing the next world actually exists.
When posting linked world on the Alice Community, post them all together and instruct users to download them all into the same folder as each other.
WARNING - if you are developing the world, make sure you save before playing, because this automatically bypasses the ask to save dialog before loading the next world. Also, do not rename the tool object in the world or it wont work.
I hope this helps you.
__________________________________________________ _______
UPDATE 2 - v2 : fixed a script bug
UPDATE 3 - actually v2 this time
UPDATE 4 - (OLD) VIDEO TUTORIAL HERE
UPDATE 5 - v3 : fixed another script bug
UPDATE 6 - v4 : new and revised features added. It can now:
- Detect non-existing worlds and gives the user the choice of locating the world.
- Detect loading failures and displays an error message.
- Carrying over variables is possible (see video tutorial), so your score etc doesn't get lost.
- Going back to a pre-defined world in the sequence of links when any loaded world is stopped is possible (see video tutorial).
The loadWorld method has been renamed to load_world .
UPDATE 7 - NEW VIDEO TUTORIAL HERE
UPDATE 8 - v5 : Variables other than strings should carry now
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
I have mostly moved on from Alice, but may still respond to messages if important [¬º-°]¬