The thing is I'm trying to make encounter rate system. Here is an example that I made.
It's worked perfectly well but then, I realized that when my character is facing the wall and I still pressing up arrow, the variable is keep counting.
Is there a way to solve this problem? It will be really weird if the character didn't move and that bar keep goes up on its' own.
It's worked perfectly well but then, I realized that when my character is facing the wall and I still pressing up arrow, the variable is keep counting.
Is there a way to solve this problem? It will be really weird if the character didn't move and that bar keep goes up on its' own.