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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

[ Content Deleted ]

Previous Thread :: Next Thread 
Quenty is online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
19 Apr 2012 09:31 PM
Is activity really equal lag? Because I have a script doing 23% activity right now, and no lag. But when I go over to a simple rotation thing w/ CFrame using 6% activity, I get lag.

Also, I expect the activity to go up, since I'm doing 1/3 of what I was planning on doing. (I'm constantly rendering and destroying polygons).

What would you suggest?

Report Abuse
NVI is not online. NVI
Joined: 11 Jan 2009
Total Posts: 4744
19 Apr 2012 09:39 PM
Um, I think you answered this yourself, activity != lag. Lag is really dependent on what you're actually doing. It also doesn't help that Roblox has inherently asynchronous scripts. Also, the whole CFrame system is incredibly inefficient. You'd be surprised - orthogonalization of a matrix isn't the fastest algorithm ever and they perform it on every CFrame to make sure parts don't get sheared visually.
Report Abuse
Radioaktiivinen is not online. Radioaktiivinen
Joined: 25 Apr 2009
Total Posts: 18629
20 Apr 2012 06:15 AM
Your script might not lag because some of the stuff might be done C-side or something.

And if youre going to cframe multiple parts every frame, make sure its local. Because normal bodies in roblox probably replicate only a single cframe (cframe for the body), while doing it manually replicates it for each part which lags a lot.
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
20 Apr 2012 07:52 AM
[ Content Deleted ]
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
20 Apr 2012 11:29 AM
When you're talking percentages, you can't say anything for sure.

75% of the cars in a car park might be white, but that doesn't mean there's a lot of white cars. There might only be 3. Hell, there could be 3/4 of one and a quarter of a red car!

Or 750 white cars! :O
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