I like how this framework is shaping up. I did notice that I can dash while in a jump mid-air. Maybe that could be optional? Also, your ActionBus is interesting, where did you learn that from? Thanks for making this.
Viewing post in First Iteration of Physics comments
I did notice that I can dash while in a jump mid-air. Maybe that could be optional?
Yeah I also think the same, I will definitely add a config bool to allow to configure that. It can also be a good approach to prevent dashing if the character depleted its jumps, i.e., he can only dash if he jumped once, if he double jumped = no dashes. Thanks for the feedback, it solved 2 issues at once xD
Regarding the ActionBus is a design pattern I've been wrapping my head around for some time, it is not optimal yet, I think I will add a middle-man, i.e. a manager, to manage the signals and actions through code, so it is more visible and easier to track down related bugs. I'm glad you liked, tho! Don't hesitate to test it to exhaustion.