How can you smooth out combat?

  • What are you attempting to achieve? (Keep it simple and clear)

I want to learn, how to make fresh and clean Combat System (battlegrounds based)

  • What is the issue? (Keep it simple and clear - Include screenshots/videos/GIFs if possible)

It’s pretty hard. All my attempts to smooth out combat are making it even worse, and it’s just don’t feel like a TSB or other battlegrounds game combat.

  • What solutions have you tried so far? (Have you searched for solutions through the Roblox Wiki yet?)

Searching for tutorials, and open-source project to see how good combat are made. Still not found really good one’s.

1 Like

The basic principle for Combat is the same through most games, the way games like tsb make the combat feel smooth and immersive is by adding effects such as screen shake different camera perspectives partials and environment interactions. Another thing to keep in mind is the flow between different animations and that the attacking player along with the enemy should be animated in unison.

  1. Use the client for everything, just put server sided checks to stop exploits, if you can’t use the client, use network ownership.
  2. Get a good animator, the most important thing is good animations in battlegrounds.
  3. Get good vfx and sfx(music and sound effects), these are important for the animations.
  4. Prioritize performance, meaning optimize the code as much as possible.
  5. And lastly, plan everything out, from all the mechanics, blocking, slam, etc, take atleast 2 days to do this.

Do all these, and you will have smooth combat.

Hello! Thank for the respond!

  1. So, i should use it to initialize animation to the current combo, set up combo value (its main question, because i thought i should setup things like this on server), and other stuff on client, but i still got questions: is that mean, i should setup hitbox on the client, then use Remote Function or Remote Event to get all hitbox victim’s and play stuff like getting hit animation on client and stun on server?
  2. Thank for the tip!
  3. Thank for the tip!
  4. Okay, but do you know good tutorials that will help optimize the code? Haven’t seen any of good tutorials.
  5. Including how you going to script these systems as well? Thank for the tip!

I think so, but the answer is not explaining everything. I want to know best ways to interact with the player and enemy, not just having a camera shake or something. Imagine if player plays your game: bad stun, absolutely bad interaction with players, a lot of bugs and some sort of this stuff. But thank for the respond, it will help me to find out answer.

  1. animation should always be in the client, the combo value and hitbox should be in the client but with reliable server sided checks that can stop any exploit, if you can’t do that then use the server instead.
  2. look at google and the devforum on how to optimize/ write performant code
  3. no problem.

Hello, thanks for quick response.
So, if i need to change the value (not just read it),i need to use server?
Thank you again!

How would a client based hitbox work?