can someone help me with the following?
I am making a pacman kinda game (surprise.surprise)
I got this:
A 18x18 grid for the game tiles
A 18x18 grid for pacman to move on
A grid for the pills and a grid for the ghosts
Pacman moves but doesnt move through walls by checking the game grid, if next tile is bladiebla don't move..:))
Ok now everything seems to work fine except for:
Pac moves but pressing up when you cannot go up result ending the movement. How to avoid????
Pac moves to fast since he is moving through a grid in order to check if there is a wall. Can I slow this down? and still use the grid?
I cannot get the &_")" ghosts to attack pac (sorry for the language). AI doesnt work...
I quite like the idea of the grid and tiles since this is being used in most old arcade games so I really would like to keep on using this technique.
Does anyone have the answers???
Thanks,
Rik
btw check http://www.peabug.com and search for evil franks snowman game in the planet rock section..one of my latest creations...!!!! also check out the rest :))
