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 » Scripting Helpers
Home Search
 

Re: Is it possible..

Previous Thread :: Next Thread 
obedientyankees96 is not online. obedientyankees96
Joined: 17 Jul 2010
Total Posts: 2023
01 Aug 2011 11:01 AM
To make a map that goes on infinitely without lagging? Like the map is loaded and/or created when you get to that part?
Report Abuse
obedientyankees96 is not online. obedientyankees96
Joined: 17 Jul 2010
Total Posts: 2023
01 Aug 2011 11:03 AM
I mean with a script.
Report Abuse
newfyworld is not online. newfyworld
Joined: 16 Jul 2011
Total Posts: 89
01 Aug 2011 11:03 AM
Im preeeeeeety sure, though im not a good scripter, im sure it has something to do with like... a map loop or sumthin like that
Report Abuse
xvgigakid is not online. xvgigakid
Joined: 22 Jun 2008
Total Posts: 4407
01 Aug 2011 11:03 AM
function create()
--your map creating script here
end

while true do
create()
wait(0)
end


Does that answer your question?
Report Abuse
obedientyankees96 is not online. obedientyankees96
Joined: 17 Jul 2010
Total Posts: 2023
01 Aug 2011 11:04 AM
Yes it does. Thank you.
Report Abuse
obedientyankees96 is not online. obedientyankees96
Joined: 17 Jul 2010
Total Posts: 2023
01 Aug 2011 11:05 AM
Wait, but wouldn't that just create it right when the server begins?
Report Abuse
xvgigakid is not online. xvgigakid
Joined: 22 Jun 2008
Total Posts: 4407
01 Aug 2011 11:08 AM
Yeah... But you can delay it.

while bob.Value == true do

Now whenever bob == true you can use it.
Report Abuse
xvgigakid is not online. xvgigakid
Joined: 22 Jun 2008
Total Posts: 4407
01 Aug 2011 11:10 AM
And for your question about it not lagging. Simply make it so that all surfaces of the brick are smooth. Group the bricks and not just leave them lieing around. Group them in seprate piles depending on their characterstics. EX. Green Bricks go in green brick model
Blue in blue model
Red in Red model


Green, blue, red bricks go in the Brick Model
Ect... Ect... Ect...
Report Abuse
obedientyankees96 is not online. obedientyankees96
Joined: 17 Jul 2010
Total Posts: 2023
01 Aug 2011 11:17 AM
But if I want to make a game that you have to dodge obstacles for as long as possible, won't the massive number of bricks lag the game really badly?
Report Abuse
agent767 is not online. agent767
Joined: 03 Nov 2008
Total Posts: 4181
01 Aug 2011 11:41 AM
try to make the script create random obstacles everytime the players passes one and then remove the old obstacles the player had already passed
Report Abuse
obedientyankees96 is not online. obedientyankees96
Joined: 17 Jul 2010
Total Posts: 2023
01 Aug 2011 05:25 PM
So like when the players position reaches a certain X or Y value? would that work?
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
01 Aug 2011 05:28 PM
It will lagg. More bricks == more lagg.
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
01 Aug 2011 05:39 PM
Look up perlin noise.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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