how do i make a pac-man game in actionscript 2.0? (im using flash 8)
im working on a pac-man game in flash 8, using actionscript 2.0, i need pac-man to only move in a certain area, i also need pac-man to move forever when a key is only pressed, not holding the key
i also need pac-man to move to the direction when he gets to an area where you can make the direction (example: pac-man is about to move to the left, that has an open area for pac-man to go up, when i press the up key before pac-man enters the area, pac-man will go up when he reaches a wall and go up)
i also need pac-man to stop moving when he goes to a wall, but still be able to control pac-man
like this:
(the yellow square is pac-man, the orange stuff is the area)

