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
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
|
| 27 Mar 2014 06:03 AM |
| I thought they were the same |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
| |
|
| |
|
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
|
  |
| 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 |
|
|
|
| 27 Mar 2014 10:39 AM |
| wait() can go at 60 fps if you do wait(1/60) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 27 Mar 2014 10:40 AM |
| wasnt heartbeat deprecated? |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2014 10:56 AM |
Heartbeat is deprecated I used RenderStepped, it works great |
|
|
| Report Abuse |
|
|
Zeloi
|
  |
| Joined: 27 Sep 2010 |
| Total Posts: 1143 |
|
|
| 27 Mar 2014 11:32 AM |
| How would you use it in code? |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| Joined: 27 Sep 2010 |
| Total Posts: 1143 |
|
|
| 27 Mar 2014 11:35 AM |
WOW 0.o
My minds blown. literally. |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 27 Mar 2014 04:42 PM |
| I'm just going off of what I know, maybe they updated it. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|