How many frames should i run per command read? I plan on reading the command(s) and then running 5 to 10 frames of animation. Or how else should I do it?
Like this:
Main Loop:
*ReadCommands
*Set animation,etc
*Renderworld,etc 5(10)x
I'm also attempting to get a multiplayer server going and would like to know how to properly set up the animation/renderworld. I'd like to have x# amount of frames run between each readplayer, so how should i do this? Heres what I figure out what the client and server should do.
Server Main Loop:
Read each player
MoveEachplayer
Send each player e/player
send each mob/etc
updateworld
Client Main loop:
readcommand
sendcommand
read each player
read each mob/etc
updateworld
Like this:
Main Loop:
*ReadCommands
*Set animation,etc
*Renderworld,etc 5(10)x
I'm also attempting to get a multiplayer server going and would like to know how to properly set up the animation/renderworld. I'd like to have x# amount of frames run between each readplayer, so how should i do this? Heres what I figure out what the client and server should do.
Server Main Loop:
Read each player
MoveEachplayer
Send each player e/player
send each mob/etc
updateworld
Client Main loop:
readcommand
sendcommand
read each player
read each mob/etc
updateworld