Quote:
Originally Posted by Waleed
hey everyone I have an assignment and i have to ccreate a game
I was just thinking of making pacman game but im not sure if i will be able to make it properly
wat do you guys think any suggestions?
i need your advices please help me , thanks
|
Anything's possible!!!
You will need to make the maze and probably fill the walls with cubes or something so the player cannot pass through.
For the PacMan pills or whatever he eats, make a list of every pill you use and manually insert them into the maze, then have something like this:
Code:
for all together (list_of_pills)
[
if (PacMan) distance to (item_from_list_of_pills) <= (whatever number you want)
[
(item_from_list_of_pills) is showing set to false
score_variable increase by (whatever number you want)
]
]
For the ghost AI, you can place an invisible marker at each intersection and have code that picks a random direction.
The hardest part you will find would be, in my opinion, the wall collision detection.