Hi, I have an action rpg project. In the player object i have an enum with 3 states: move state, dash state and melee state. When I´m dashing or attacking the player just stops until it finish the action.
It turns out that I´m trying to make the player move when i´m attacking or dashing (before the player dash, you can press the right button of mouse, select where you´re gonna dash, and release the button, making the player dash to where you selected. In this case, I want to make the player move when I´m selecting where I´m gonna dash).
If someone has an ideia to how overcome this, I would be so grateful. Thanks.
It turns out that I´m trying to make the player move when i´m attacking or dashing (before the player dash, you can press the right button of mouse, select where you´re gonna dash, and release the button, making the player dash to where you selected. In this case, I want to make the player move when I´m selecting where I´m gonna dash).
If someone has an ideia to how overcome this, I would be so grateful. Thanks.