#How do good games write crisp PVP networking?

1 messages · Page 1 of 1 (latest)

crimson nacelle
#

I am trying to develop a game with pvp in it, I am asking for some advice how to get the PVP networking right and get that smooth crisp pvp games like other games have. Its a sword game with possibly projectiles such as arrows later on, I am focusing on delivering the MVP first so I only need the bare minimum setup first (so people don't get frustrated with bad hitreg.. etc)

jaunty scarab
# crimson nacelle I am trying to develop a game with pvp in it, I am asking for some advice how to...

I don't have a lot of knowledge when it comes to making a pvp networking so anything i say might be wrong but one thing is that you should not make physical objects for the projectiles as they will take up a lot of performance(especially when you have a lot of projectiles at the same time) you should try your best to make an instance(which is the projectile) into a bunch of numbers that you can use to predict where the instance is going and when it will reach that spot

crimson nacelle
jaunty scarab
#

that is made on the server

crimson nacelle
#

so the firerate wouldn't be all that

#

a few seconds per arrow

jaunty scarab
#

wait how much people are you planning to have in a single server?

crimson nacelle
#

50-100

jaunty scarab
#

holy

crimson nacelle
#

you can count around 20 people to never be firing arrows, and 30 more that might not use arrows cuz they will have swords instead

jaunty scarab
#

okay

crimson nacelle
#

cuz the game will revolve around 20 people doing logistics

jaunty scarab
#

Only sync relevant players nearby, not the whole server yk what i mean like no need to show a player that is swinging a sword and is far away from one another

#

Honestly your best bet about learning such thing is to use google as many people in this discord server isn't like a scripter who understand such stuff

crimson nacelle
#

I made the sword module in like 15 minutes with anticheat checks

jaunty scarab
#

that is pretty good

#

But it is better if you handle the code and not ai

crimson nacelle
#

and it works

jaunty scarab
#

because ai is popo

crimson nacelle
crimson nacelle
jaunty scarab
#

Have you tried going to the dev forum?

crimson nacelle
#

I cannot send messages there

#

yet

jaunty scarab
jaunty scarab
crimson nacelle
#

but I mainly read docs

#

if I need something