Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What are some ways that will make my game less laggy and run more smooth?

Asked by
Sorukan 240 Moderation Voter
5 years ago

As the title says, i'm looking for some ways that'll help make my game run more smooth. One of my biggest question is whether or not the amount of scripts you write influence how well the game runs. Any help would be appreciated.

1 answer

Log in to vote
1
Answered by 5 years ago

Hey, my name is BlackOrange3343 and I'm here to help!

There is actually a whole article on how to reduce lag.

https://developer.roblox.com/articles/Fighting-Against-Lag

But some of the main things you want to do is:

  1. Lower the number of BaseParts in the game
  2. Make sure ParticleEmitter's have a low LifeTime and Rate
  3. Make sure you let the Client handle the effects.
  4. Attempt to improve your Code
  5. Use Unions Properly
  6. Try to use Low Poly meshes
  7. Avoid using the Transparency property for builds
  8. Instead of just moving a UI element of the screen, make it invisible as well
  9. Keep your code updated (not deprecated)
  10. No free models / anti-lag scripts
  11. In general, try to keep a lower amount of instances in the game

Anyway read the article and look at the section "Other articles you might read or like" and it will probably talk more into lag reduction.

Hopefully, this helped!

Best of luck developer!

BlackOrange3343

0
Thanks for the advice! Sorukan 240 — 5y
0
No problem BlackOrange3343 2676 — 5y
Ad

Answer this question