#💬 memzdevʹs Feedback

1 messages · Page 1 of 1 (latest)

echo hillBOT
ripe sable
#

why it teleporting like that

#

because of robloxs remote events?

ripe sable
#

all i know about it is, prediction, and rollback.....

#

will later

opaque slate
#

you could add interpolation to make it smoother

opaque slate
#

cant you make the client run behind the server

#

i think thats what rts games do

#

ok then it makes sense

#

if you had a server you can make it run ahead of the client so you can interpolate and make things smoother

#

true its more usefull for fps and stuff like that

#

im assuming your making a fighting game so the amount of data wont be a lot

#

the game state that needs to be sent is just like position

#

is jumping

#

stuff like that

#

inputs sent from client to server, server sends game state back to client

#

if there is a discrepancy between the clients game state and the servers game state then you snap to what the server sent

#

it doesnt you can snap with interpolation

#

the interpolation is more just so there isnt so much snapping

#

idk how you would do it without a server

ripe sable
#

how much frames are you recording for rollback?

#

im guessing around 512?

opaque slate
#

yh thats fine it better if its not jarring especially if it happens so often like in your clip

ripe sable
#

my brain cant comprehend bigbrain

opaque slate
#

i do

#

its to provide lag compensation

#

you play the game as if you have 0 latency

#

yea i got the terms mixed up

#

your determinism wont get messed up if you interpolate

#

its just so its not as visually bad

#

bruh

#

thats why you have a server ahead of the client

#

yea i acknowledge that

#

thats why i said

#

"idk how you can do interpolation without a server"

#

depends on the servers location

#

if the server is directly in the middle theres no ping difference theoretically

#

thats the ping compensation in action

#

he uses a determistic system for movement and keeps track of the game state for the past 24 frames

#

when you recieve the input the game teleports into the future to what the state should have been as if you had 0 ping