UQcsse3200 / 2024-studio-1

MIT License
4 stars 1 forks source link

Player can still do controls while dying #289

Closed Jordamnmn closed 2 weeks ago

Jordamnmn commented 1 month ago

Description

During the player death animation they still can inputs controls. This allows them to move and shoot as a corpse and even enter other rooms. More problematically the player can use a medkit during the death animation, while locks the player in the 'dead' animation.

How To Reproduce

Steps to reproduce the behaviour:

  1. Die
  2. Attempt to move/shoot during the animation
  3. Use a medkit during the animation
  4. Observe that you are now dead forever here.

Temporary Fix

Don't move while dead

Jordamnmn commented 4 days ago

Note that this issue somehow reappeared in main recently and was closed in the PR 'diagonal shooting'