Greetings all, I’ve been working on my own battlegrounds game for about half a year at this point, and I am currently about 3 rewrites in, as every time I make my combat it feels extremely unresponsive and laggy.
For example, here is some footage from my own game.
As you can see it, it looks stiff, and while playing with a friend, the lag was real.
In my game, the player activates a tool (shown as a move in the hotbar) and it sends a remote event to the server, which does and calculates everything (excluding bodymovers)
, including cooldowns, damage values, animations, etc.
Whereas in a different game (for this example I’ll use Jujutsu Shenanigans), the game has no real lag (excluding voxel lag), no players teleporting around during dashes and combat feels less stiff than in my own game.
Looking into it a bit more, I found that JJS uses Knit in the game: About | Knit
What I want to know is, how would using things like Knit (or any other frameworks like it) help with responsiveness or smoothness in general, and what folder structures, coding practices and other things should I use when working on it?
Thanks in advance, sorry if this thread is a bit rambley, I just really want my game to be fun and playable, haha.