How to Make Video Games 18

Ms Pacman CloneIn the next 2 videos I’ll cover how to lock Ms. Pac-Man perfectly inside of the maze as she moves around. We will do this not through colliders, but instead by using pivot points, which will make the movement very clean and also resource light. We’ll cover how to Setup Pivot Points, Putting GameObjects in an Array, Selecting GameObjects in Code, Cycling through GameObjects in Empties, Moving Ms. Pac-Man, Animating Ms. Pac-Man and much more.

The images are here and the code follows the video below.

If you like videos like this, consider donating $1 on Patreon, or simply turn off AdBlocker.

Gameboard.cs

TurningPoint.cs

MsPacman.cs

Leave a Reply

Your email address will not be published.

Google+