2DWorlds Forums
Multiple Worlds - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: 2DWorlds Discussion (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=10)
+--- Thread: Multiple Worlds (/showthread.php?tid=5217)

Pages: 1 2


RE: Multiple Worlds - Kieron - 05-31-2011

(05-31-2011, 08:52 PM)Jacob_ Wrote: I'm going to make a downloadable editor first, since I've seen that requested a couple times, then I'll work on the worlds. It might take several days to do--all of the game's code assumes that there is only one world.

I was originally going to have each World object in the editor correspond to a physical world, but then I realized that the World is a service, so there can only be one. So instead each world will be a completely separate game hierarchy, and you'll access them using game:getWorld("worldname"), which will return another root object.

This will take a long time to code, but I think it'll be worth it!

Yes, yes it will....
[Image: meerkat-com.jpg?w=450]


RE: Multiple Worlds - Ice - 05-31-2011

YES!!!! Thank you, thank you, thank you! That would make playing and making games much better!!!


RE: Multiple Worlds - Who - 05-31-2011

Answer me this, Would it be posible to switch from worlds just like that?

Suposse i have the "Red world" and with the click of a tool i can pass to the "blues world", would it be posible?


RE: Multiple Worlds - Jacob__mybb_import1 - 05-31-2011

Changing the parent of something to another world will put it there.


RE: Multiple Worlds - Who - 05-31-2011

*moving anxious* i have a game idea


RE: Multiple Worlds - KeyBored - 05-31-2011

So, to swap players between worlds...

[lua]
Player.Character.Parent = game:getWorld("World2")
sleep(25)
Player.Character.Parent = game:getWorld("World")
[/lua]

Etc.?


RE: Multiple Worlds - Jacob__mybb_import1 - 06-01-2011

Yes.


RE: Multiple Worlds - Slendurrman - 06-01-2011

Epic genius Jacob, we could do AMAZING things with this.


RE: Multiple Worlds - Glome - 06-01-2011

Yes, Troll worlds

Random worlds of troll