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: Ways to Remove Game Lag?

Previous Thread :: Next Thread 
JekutoNightra is not online. JekutoNightra
Joined: 02 Mar 2011
Total Posts: 112
13 Aug 2013 12:08 PM
I was wondering if anybody knew any techniques on removing lag, and I had a couple questions.

Does removing instances of PointLights fix lag? Does turning CanCollide off for most bricks help? What do you guys do to prevent lag? I've used 0 free models (ew) and I've tried making all the bricks not collidable, and this barely helped.
Report Abuse
Salinas23 is not online. Salinas23
Joined: 28 Dec 2008
Total Posts: 37141
13 Aug 2013 12:09 PM
In 2010 I thought that by changing some Debris's stuff lag could be removed.
No, or at least not that I know.

But if you have scripts the best way to make them reduce lag is by making them simple and as short as possible.

What is your place about?

==Salinas23, LMaDer since August 2012! Scripter since July 2013!
Report Abuse
johnhugh is not online. johnhugh
Joined: 26 Mar 2009
Total Posts: 1971
13 Aug 2013 12:16 PM
How to reduce lag:
Get better internet
Get better computer
Clean up your game.
Report Abuse
gamehero is not online. gamehero
Joined: 12 Jun 2007
Total Posts: 1455
13 Aug 2013 01:05 PM
Now if you mean CPU lag, lower your game settings, or use less bricks. Then again, I don't know what your game looks like to suggest what you can do.



If you mean Network lag, press Ctrl+Alt+Delete and check the network activity. If it's using more than 5% from Roblox alone, it can probably be improved.

I usually run a script that slowly deletes each object slowly, while telling me which object is getting removed, so if I see the network activity go down by a large amount, I know what object to look into in Edit Mode.
I suppose you could use a delete tool also.


Usually network lag comes from Vehicles, and AIs, or floating bricks, or scripts modifying bricks faster than they need to.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
13 Aug 2013 01:27 PM
Reduce the number of scripts and make each script faster.

If something is an AntiLag, it will lag you. Remove it.

Don't se free models.

There you go.
Report Abuse
MHebes is not online. MHebes
Joined: 04 Jan 2013
Total Posts: 2278
13 Aug 2013 02:30 PM
Also, make as many parts as you can anchored so the physics engine doesn't have to deal with them.

~ Oh, I'm sorry, did I break your concentration? ~
Report Abuse
JekutoNightra is not online. JekutoNightra
Joined: 02 Mar 2011
Total Posts: 112
13 Aug 2013 02:30 PM
If you read the actual post, I noted that I didn't use free models.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
13 Aug 2013 02:31 PM
I am merely listing waays.
Report Abuse
JekutoNightra is not online. JekutoNightra
Joined: 02 Mar 2011
Total Posts: 112
13 Aug 2013 02:34 PM
My internet is screaming fast and I have a good computer I purchased in April. I make office buildings for clans and stuff, and I went all out on this one and included lots of tiny parts and dynamic television screens. While I've cut back on these screens and other dynamic things, there are still OnClick Cframe doors. Suggestions?
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
13 Aug 2013 02:35 PM
Combine multiple scripts into one and dont use too much detail.

Over 20k too much, really.
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