• Register

Action RPG about a terminally-ill superhero fighting against Lovecraftian horrors invading the real world, to save the woman he loves before he dies. The catch is that his health deteriorates every time he uses his powers. As the player, you need to ensure the main character stays alive until the end of the year, when the final boss appears.

Post news Report RSS New Attack Input System

I changed the attack input system from starting attacks on button release, to starting attacks on button press. This made input feel more responsive.

Posted by on

Thanks to Demo Day 16, an Anonymous from /agdg/ suggested me something that is probably going to make the attack input better.

Right now, attacks trigger on button release, not on button press. I do that so that I can recognize holding the button long enough for charged attacks.

Current Attack Input

The suggestion was to immediately trigger attacks on button press instead, and if the button is still being held long enough, blend it into the charging animation for charged attacks.

New Attack Input

The problem is that it changes the way you do charged attacks. This new style means if you want to do a charged attack, you’ll have to do a regular attack first, so you’ll have to consume stamina for the regular attack, on top of the stamina cost for the charged attack.

Some attacks also have a very different pose from the charging animation, so blending them looked awkward. I decided I needed to make alternative charging animation poses, depending on which attack you came from.

Current Attack Input

Pros:

  1. If you do a charged attack, you only consume stamina for the charged attack.

Cons:

  1. Input delay when attacking

New Attack Input

Pros:

  1. No input delay when attacking

Cons:

  1. To do a charged attack, you do a regular attack first (you consume stamina for the regular attack on top of the stamina cost for the charged attack).
  2. More animation work for me due to needing to create alternative charging animations.

Despite the cons, this new attack input method is very promising, because the attack buttons feel a little more responsive now.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: