A new idea for a faster, simpler anti-moonwalk

The idea, (Untested so far), is to make a variable called Stopped. When 2 of the opposite keys are pressed (Example: Up and down), it activates the variable called stop, which de-activates the ability to change animation or move. Then on Draw Actor, if the stopped variable is 1, use a bunch of animindex switches to determine the stopped animation
For example...
And so on from there
It might work
And it could look professional in gameplay wise
It'll also save from typing zillions of lines of code lol

- Code: Select all
if (stopped == 1)
{
switch(animindex)
{
case 0:
ChangeAnim(Bleh...);
}
}
And so on from there

It might work

