Hello,
I have a question about Pacman. And over the walls. I made a keycontrol for my Pacman and it works perfectly but now I have the problem with the walls because the Pacman can walk trough the walls and I don't know how to code this. My ghosts are working perfectly if the hit a wall they turn and walk. But i can't copy this method because I don't want the Pacman to turn automatic and walk. The only thing I need is a method that says ,, If the Pacman hits a wall he can't continue to walk. I have 4 different types of walls ( WALL, WALLSMALL, WALL1, WALL1SMALL). Would be nice if you have some ideas.
Thank you