generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Placement of Maps

Previous Thread :: Next Thread 
Lucidic is not online. Lucidic
Joined: 16 Dec 2014
Total Posts: 429
15 Feb 2015 08:13 AM
Would it be more appropriate to place the maps of a game into...

ServerStorage

or

Lighting

??

Thanks.
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
15 Feb 2015 08:44 AM
Place them all into ServerStorage,
Predecide the map for next round and move it to ReplicatedStorage
Move from ReplicatedStorage into Workspace

Saves by preloading data to the client and stuff
Report Abuse
Lucidic is not online. Lucidic
Joined: 16 Dec 2014
Total Posts: 429
15 Feb 2015 09:21 AM
So something like

gameChosen = math.random(1,#minigames)
cloneMap = gameChosen:Clone()
cloneMap.Parent = "ReplicatedStorage"

if previousMap = nil then

cloneMap.Parent = "Workspace"

end


This is not the full script, but just a gist.
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
15 Feb 2015 09:33 AM
local currentMap = someMap;
local nextMap = someMap;
currentMap.Parent = workspace;
nextMap.Parent = ServerStorage;
while roundTimer do
currentMap.Parent = ServerStorage;
currentMap = nextMap;
currentMap.Parent = workspace;
nextMap = someMap;
end


Sort of like that.
Report Abuse
Lucidic is not online. Lucidic
Joined: 16 Dec 2014
Total Posts: 429
15 Feb 2015 09:43 AM
I've got something similar in my code.

Thanks!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image