I want to work on a tactical battle system style thing just for fun soon, and I was wondering the best way to go about moving 5 tiles up? (The movement will be based on 32x32 tiles). I want to know if theres a short code that will let me control the character and have him move 5 tiles up when I press the up arrow, and -not- let me press down left or right during the movement?
I know how to do this but I code incredibly sloppy. I'd end up with like, who knows how many if statements lol