Unify (if possible) the player translation (and limits) #63
Labels
audience:developer
Related to something only developers or project members see
scope:small
A small and well-defined task
Milestone
Currently, there is separate logic to handle the player translation, for example, on user input vs. attacks.
Such logic should be merged; otherwise, additional translation processing (currently, limits) would need to be applied for each point where translations are manipulated.
A standard pattern for this is all movements should send an event, which is then processed, and applied (according to the rules).
When this is implemented, remove the
dir.x < 0.
condition from theplayer_controller
system.I see this as depending on #99, so it'll be clear which systems handle translation, and how they need to be modified (it's known already which they are, but it's confusing to operate right now, since we'd need to introduce some temporal dependency).
The text was updated successfully, but these errors were encountered: