Multiple Worlds
#11
(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]
Reply
#12
YES!!!! Thank you, thank you, thank you! That would make playing and making games much better!!!
Reply
#13
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?
[Image: evil-dead-deer.gif]
Reply
#14
Changing the parent of something to another world will put it there.
Reply
#15
*moving anxious* i have a game idea
[Image: evil-dead-deer.gif]
Reply
#16
So, to swap players between worlds...

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

Etc.?
Reply
#17
Yes.
Reply
#18
Epic genius Jacob, we could do AMAZING things with this.
Reply
#19
Yes, Troll worlds

Random worlds of troll
[Image: AmZJnA9.png]
Reply


Forum Jump:


Users browsing this thread: 8 Guest(s)