Battle01
|
  |
| Joined: 15 Dec 2010 |
| Total Posts: 601 |
|
|
| 21 Apr 2012 01:41 PM |
Im having a few troubles with lag. Can anyone make me a Anti-Lag script or Anti-exploit script? If you can, send me a message. :D Thx for reading this forum :3 |
|
|
| Report Abuse |
|
|
| 21 Apr 2012 01:50 PM |
Anti lag scripts only increase the lag. There are three main ways to solve lag issues.
1. Group things. I personally can't explain why this works, but it helps. 2. Anchor all non-moving things. This makes it so the game doesn't have to use physics code on the objects. becuase no object, besides it's children (stuff indside the object, like a script or mesh), can cause the brick to move, so the game doesn't have to process it's physics. 3. Block meshes. This way is pretty simple, give as much as you can a block mesh, because that means that the edges are sharp edges, instead of rounded off edges. This improves your rendering, because it decreases the polygon count. Rouned edges are just a bunch of slightly tilted and very thin rectangles, rotated in a way so the form a qaurter of a cylinder. Each of those tiny rectangles count as a polygon, where as a brick with a block mesh only has 6 polygons for the game to render. |
|
|
| Report Abuse |
|
Battle01
|
  |
| Joined: 15 Dec 2010 |
| Total Posts: 601 |
|
| |