Hello! I’m trying to make a pacman style game and I wish some help in a few steps that I’m not able to do it by myself. At least I don’t know the answer to but it should be easy.
So far, I’ve all the scene set up and working (the ghost runs away from the pacman and all the points are being count so are the lifes - when reaches 0 the game ends or all the points eaten). This are things I would like to know how to solve:
I have a powerup food so when eaten I want the game to reverse (like the original game) so the ghost runs away from me for a short time let’s say, 10 seconds and pacman can eats it wining a few points, and then revert to the normal (ghost seeks pacman if not eaten). How can I do this? I set a message to the colision with the powerup and then the ghost receiving the message but after that I don’t know what to do.
I never made a python script so if needed I would be glad to have some step-by-step guide.
Thank you so much!