WheelyCatStudios / torte

GNU General Public License v2.0
4 stars 0 forks source link

Run Button Behavior #21

Closed MacroScenery closed 3 years ago

MacroScenery commented 3 years ago

Describe the bug Run button does not work while the entity is already moving.

To Reproduce Steps to reproduce the behavior:

  1. Move Entity
  2. Hold run button

Expected behaviour Speed increase from speed to speed * runspeedmodifer.

Actual behaviour Speed does not increase until

  1. Entity stops moving, then moves while the run button is held.
  2. Entity changes directions.

Additional context This is an issue with the new input system. Holding the button does not affect the speed until the state of the movement action changes (i.e. changing direction or stopping).

Video

https://user-images.githubusercontent.com/66145294/102950111-ddfc9300-4497-11eb-8527-d7997c57a9a0.mp4

Development Version