#RunService Question

1 messages · Page 1 of 1 (latest)

gray mauve
#

Is runService dependent on local framerate if you are running it on a local script? Or in general?

next osprey
#

The difference between things like .Heartbeat and .RenderStepped is when durring the frame they are called

gray mauve
#

this don't answer my question

subtle owl
#

I mean there are not different framerate, your framerate is your framerate

#

wdym in general

gray mauve
#

i meant in a server script

subtle owl
#

yeah same

#

it runs it owns machine

next osprey
#

It is unrelated to the client framerate

subtle owl
#

also on the server I think only Heartbeat can be used

gray mauve
#

if the server is running at 60fps
and a player is running at 30fps

and im running a server script that does something

subtle owl
#

🤔

gray mauve
#

would the player be lagging behind because their fps is half of the servers

subtle owl
#

yes?

next osprey
subtle owl
#

I mean if server is 60fps but my client is 10fps Im going to be laggy asf

gray mauve
#

lets say the server is trying to add velocity to an object

#

if im a player running at 30fps

#

would the velocity added be half of what the server is trying to add

next osprey
#

no

gray mauve
#

lets say its on a local script

#

it would be half of the intended force

subtle owl
#

Im pretty sure they are handled with delta time so no

next osprey
#

Wonderful video on the topic
https://www.youtube.com/watch?v=yGhfUcPjXuE

DeltaTime. This video is all about that mysterious variable that oh so many game developers seem to struggle with. How to use DeltaTime correclty? I got the answers and hope this video will help to deepen your understanding about how to make frame rate independent video games.

0:00 - Intro
0:34 - Creating The Illusion of Motion
1:11 - Simple Li...

▶ Play video
gray mauve
#

ok i understand