hey, i wonder how hitboxes in games like project slayers or bloxfruits made because they feel so smooth, are they client or server sided?
Server sided, a client side hitbox is a horrible idea.
could u tell me why is it bad idea? i heard a lot of people saying its better
Relying only on the client Is never a good idea. It is like leaving a bank vault open 24/7.
Maybe in my previous message, I should’ve said that using both is better than focusing only on one.
The client-sided one to make it more “responsive” for the player, but the server-sided one to make checks, etc…
okay so would it be a good idea to use client hitboxes for meele attacks and server for projectiles/explosions?
Uh, I would say a mix for the melee hitbox, you do not want the client to have full authority.
And use the server entirely for the projectiles / explosions.
thats what i meant, i was recently playing around with that and made client sided hitbox for projectiles and i just couldnt really make it secure, it allowed to hit any player in range of the projectile even with my sanity checks
how do you know games like bloxfruits or project slayers use server-side hitboxes?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.