henrywangzh / Xinshen

Xinshen [SRS23]
3 stars 1 forks source link

[Programming:Player] Discord Stance #22

Open henrywangzh opened 1 year ago

henrywangzh commented 1 year ago

The discord stance is our hero's base stance. It's essentially equivalent to basic 3d sword attacks.

We can split this into movement and attacks. In general, attacks cannot be cancelled mid animation: this makes for a more punishing and precise gameplay experience.

Movement:

  1. walking will be for very slight movements
  2. holding w for more than 0.5 seconds will shift the player into running mode
  3. holding w against a wall will move the player into climbing mode (certain walls, ropes, ladders)
  4. pressing shift will cause the player to perform a roll in the current movement direction
  5. falling for more than 1 second causes the player to enter falling mode, and perform a landing animation upon hitting the ground. option for fall damage.

Attacks:

  1. basic 2 hit attack combo

(that's it, the base stance is very sad)