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: Whats faster?

Previous Thread :: Next Thread 
Jonibus is not online. Jonibus
Joined: 30 Jan 2010
Total Posts: 8985
27 Mar 2014 05:57 AM
RunService.Heartbeat or RunService.RenderStepped?

Follow me on twitter: @Jonibus_RBX
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
27 Mar 2014 06:03 AM
I thought they were the same
Report Abuse
cheatmaster18 is not online. cheatmaster18
Joined: 29 Oct 2010
Total Posts: 1871
27 Mar 2014 06:17 AM
I have heard that RunService.Heartbeat runs at 60 fps on a server and RunService.RenderStepped runs at 60 fps on a client
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
27 Mar 2014 06:21 AM
Ooh, neat.
Report Abuse
masterCameron101 is online. masterCameron101
Joined: 28 Mar 2010
Total Posts: 1377
27 Mar 2014 09:11 AM
What do they do? ö
Report Abuse
Jonibus is not online. Jonibus
Joined: 30 Jan 2010
Total Posts: 8985
27 Mar 2014 09:14 AM
@Master
Faster than your average wait().

Wait() can't go any lower than about 0.034, while renderstepped goes to about 0.017

Follow me on twitter: @Jonibus_RBX
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
27 Mar 2014 09:14 AM
They're just events that happen every 60th of a second, twice as fast as a while wait() loop
Report Abuse
cheatmaster18 is not online. cheatmaster18
Joined: 29 Oct 2010
Total Posts: 1871
27 Mar 2014 10:39 AM
wait() can go at 60 fps if you do wait(1/60)
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
27 Mar 2014 10:40 AM
wasnt heartbeat deprecated?
Report Abuse
MarioKartAddict is not online. MarioKartAddict
Joined: 11 Nov 2009
Total Posts: 42774
27 Mar 2014 10:56 AM
Heartbeat is deprecated
I used RenderStepped, it works great
Report Abuse
Zeloi is not online. Zeloi
Joined: 27 Sep 2010
Total Posts: 1143
27 Mar 2014 11:32 AM
How would you use it in code?
Report Abuse
fireblade2 is not online. fireblade2
Joined: 18 Nov 2007
Total Posts: 4666
27 Mar 2014 11:34 AM
Place this in a Script (not LocalScript)

game:GetService('RunService').Heartbeat:connect(function(Step)
--Code here is executed every 1/60th of a second.
end)

Report Abuse
Zeloi is not online. Zeloi
Joined: 27 Sep 2010
Total Posts: 1143
27 Mar 2014 11:35 AM
WOW 0.o

My minds blown. literally.
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
27 Mar 2014 11:37 AM
"wait() can go at 60 fps if you do wait(1/60)"

Are you sure?
Report Abuse
fireblade2 is not online. fireblade2
Joined: 18 Nov 2007
Total Posts: 4666
27 Mar 2014 11:38 AM
No, wait(1/30) is as quick as it goes. If you do anything less than (1/30), then it defaults to the default wait time, for most people 1/30 unless they change it in studio > settings (not recommended).
Report Abuse
cheatmaster18 is not online. cheatmaster18
Joined: 29 Oct 2010
Total Posts: 1871
27 Mar 2014 03:31 PM
@above You are dont know because you have not got the info from the admins I am a RBXDev member so I got that info
Report Abuse
fireblade2 is not online. fireblade2
Joined: 18 Nov 2007
Total Posts: 4666
27 Mar 2014 04:42 PM
I'm just going off of what I know, maybe they updated it.
Report Abuse
Scriptury is not online. Scriptury
Joined: 21 Aug 2013
Total Posts: 220
27 Mar 2014 04:43 PM
wait() ~ 1 / 30
wait(1 / 60) ~ 1 / 60
Report Abuse
Looah is not online. Looah
Joined: 22 Feb 2013
Total Posts: 922
27 Mar 2014 04:43 PM
Mouse.Move

and let someone move their mouse around continously
yay
i win
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