Saturday, November 14, 2009
Improving Maneuverability
I realized that making pacman change direction into a new tunnel was very hard since the key had to be pressed at the exact pixel to avoid collision. This would have led to frustrating gameplay. The solution was to keep track of the arrow key that was pressed last - the game knows where the player would like to go and checks at each step if the move can be made. Making turns is now much easier.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment