WASD for the red character Arrow keys for the blue character [For Mr. Howse] This project can sense the distance each character has moved throughout the game. It also gives the displacement of each character, from where they started. The characters themselves simulate acceleration in the real world as well.
WHY THIS AI IS PRETTY MUCH JUST DOING KEYBOARD INPUT AND IS NOT CHEATING IN ANY WAY: Pretty much, I replaced the blue characters <[right] key pressed> block with <[ARROWRIGHT] = (1)> and so on for all four keys. An external sprite sets the four variables on and off depending on what direction it should move.wa There is also a variable called DIS_TO_P2 which helps tell the AI if it is about to get caught or if is about to catch the player.