Hello everyone, I have got what I suspect a simple question, but I am still trying to wrap my head around on how everything works as I am an artist rather than a scripting person.
I have looked everywhere and could not find the answer, so maybe you can help.
I am working on a platformer and trying to add a crouch to the character. Could you either help me answering what I wrote down below or direct me to a good tutorial please.
What I have done so far is setting an Arrow Down event which starts the crouch animation, so for as long as you hold down the character remains like that, and on arrow down release, it plays the getting back up animation.
So the problem I am having are:
1. The character keeps moving with the crouch animation if I press forward and then down, how do I stop that without removing the possibility in the future to add attacks and such while the character is crouched?
2. If I keep pressing forward, then release and press down, the Crouch somehow does not start, can you tell me why?