I have a design/structure question related to player platform behavior movement. Custom controls is set to true. The main question is related to ON_KEY_PRESS vs ON_KEY_DOWN.
Here is the keyboard code:
Here is the actual movement code itself.
For example, the jump is implemented as ON_KEY_PRESS, but I could have just as easily implemented it as ON_KEY_DOWN.
Which do you think is better? Sometimes it just feels like my character isn't too responsive when jumping, especially when attempting to do lots of little hops.
Keyboard logic is separated from movement logic for purposes of handling multiple players.
Looking at this code, what do you think? Is this a poor way of implementing keyboard controls, player movement and animation?