Topics
Published on August 9, 2017 by Derek Banas

Get the Code : goo.gl/fGuwB9
Best Unity 2D Book : amzn.to/2vk75Rd
www.patreon.com/derekbanas

In 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.

Thank you to Patreon supporters like the following for helping me make this video

facebook.com/cottageindustriesbuild/
bugreplay.com
@kyleaisho
@thetwistedhat
@vjFaLk

Leave a Reply

68 Comments on "How to Make Video Games 18 : Make Ms. Pac-Man 2"

Notify of
avatar

Vitezslav Omelka
Guest
Vitezslav Omelka
7 days 19 hours ago

Dude super difficult. Code could be done in no time in Phaser, and the map in Tiles, but i do understand your point with the collision. But, I would just make the collision rectangle of player smaller, then the sprite it self. Ill make this game tomorrow just for fun and to see what is what

Vitezslav Omelka
Guest
Vitezslav Omelka
7 days 18 hours ago

i have not saw the previous ones, but in broad sense , this technique could be use as pathfinding for enemy AI, but for this is a overkill

Derek Banas
Guest
Derek Banas
7 days 18 hours ago

I'm trying to show how to make games without relying to much on Unity's built in tools so that these techniques could be used with or without Unity. I guess I'm doing a bad job of explaining the goals of this tutorial series

Rahul Prabhu
Guest
Rahul Prabhu
8 days 15 hours ago

Another great video! Can't wait for the next tutorial, Derek! Thanks so much!

Derek Banas
Guest
Derek Banas
8 days 13 hours ago

Thank you 🙂 The next part will be up tomorrow morning

Angelina Jolie
Guest
Angelina Jolie
9 days 11 hours ago

Awesome Tutorial as Always Derek ! Loving this series ! if you could include a basic/clone of Atari's Pitfall and RiverRaid it would be beyond awesome.

Angelina Jolie
Guest
Angelina Jolie
9 days 5 hours ago

Awesome ! I'm looking forward to it.

Derek Banas
Guest
Derek Banas
9 days 6 hours ago

Yes that is what I'm referring to. It was a great game!!!

Angelina Jolie
Guest
Angelina Jolie
9 days 7 hours ago

is it this one? the 1983 original arcade version? en.wikipedia.org/wiki/Spy_Hunter

Derek Banas
Guest
Derek Banas
9 days 7 hours ago

Thank you 🙂 I'm glad you like it. How about if I make Spy Hunter?

thong nguyen
Guest
thong nguyen
9 days 18 hours ago

Do you have tutorial for c++ ?

thong nguyen
Guest
thong nguyen
9 days 18 hours ago

Thank you :>

Derek Banas
Guest
Derek Banas
9 days 18 hours ago

Yes here it is youtu.be/Rub-JsjMhWY

GameCreator2004
Guest
GameCreator2004
10 days 1 hour ago

Between Unity and Unreal Engine, what engine will you use to make a game.

Derek Banas
Guest
Derek Banas
9 days 21 hours ago

Unity

CobraL0rd
Guest
CobraL0rd
10 days 4 hours ago

I hope Pac-Man is the last 2d game in Unity. Looking forward to a Unity 3d up next.

fcknpnks
Guest
fcknpnks
10 days 4 hours ago

I'm pretty new to programming but have always been very interested. I started learning Java a few weeks ago and these videos have been very interesting to me. You do a great job of explaining everything step by step and showing everything. Please keep making these videos. I appreciate how much time you put into it and know the value of these videos.

Derek Banas
Guest
Derek Banas
9 days 21 hours ago

Thank you for the nice message 🙂 I have been receiving tons of negative emails lately and I appreciate it. I plan on making game development videos for at least the rest of this year.

Nick B.
Guest
Nick B.
10 days 7 hours ago

Derek is it possible for you to create a Rogue tutorial?

Nick B.
Guest
Nick B.
9 days 17 hours ago

Derek Banas Thank you. I wasn't specifically talking about Rogue, but there are many ASCII roguelikes.

Derek Banas
Guest
Derek Banas
10 days 4 hours ago

I didn't realize you were talking about Rogue: Exploring the Dungeons of Doom. I thought you were talking about the generic rogue like procedurally generated games like The Binding of Isaac. I'll cover all the game mechanics required to make any game eventually.

Nick B.
Guest
Nick B.
10 days 6 hours ago

Thank you for the fast response. Will it be ASCII?

Derek Banas
Guest
Derek Banas
10 days 7 hours ago

Yes I'll make Zelda after Ms. Pac-Man and at some point very soon I'll also create a procedurally generated game

Andybaby
Guest
Andybaby
10 days 7 hours ago

Wow .. Are you actually going to do the (amazing) AI behind the ghosts?!?

Derek Banas
Guest
Derek Banas
10 days 4 hours ago

Yes I know they follow a set path mainly so they don't pack on top of each other. Then I'm guessing a raycast is created that see Pac-Man and then one goes directly for Pac-Man while 2 others aim for the sides of Pac-Man. The one remaining I believe randomly makes turns. All of this is set up to best corner Pac-Man while also trying to avoid falling on top of each other. Yes I will aim to recreate that.

Andybaby
Guest
Andybaby
10 days 6 hours ago

Each ghost (ie the 'enemies') has its own AI/personality, and it's utterly brilliant. Googling 'ms pacman ghosts behavior' brings up some GREAT explanations – might be too complex for a programming tutorial (or maybe not for Banas!) but it might be a perfect segue into game AI tutorials..(?) ps LOVE your work!!!

Derek Banas
Guest
Derek Banas
10 days 7 hours ago

I'm not certain exactly what the ghosts do, but I'm going to try and copy their movements. That should start in part 21 of this series

Markus Sulg
Guest
Markus Sulg
10 days 9 hours ago
Hi Derek! This series has got me hooked on programming and I really love how things are progressing so far. I can`t wait to learn more about making games and other things related to it. I am a 16 year old student and I have decided to try out programming and I will possibly have it as my future job. I have already watched the first 8 episodes of your C# tutorial, but I think I should also learn some other programming languages and other useful stuff like SQL, PHP, HTML and JavaScript. Please tell me what I should do… Read more »
Vitezslav Omelka
Guest
Vitezslav Omelka
7 days 19 hours ago

i would just like to add hybrid app to Derek list with javascript libs, and cordova Ionic you can publish on any platform. Definitely future of development.
Just to show i dont bullshit
 play.google.com/store/apps/developer?id=Vii

"Good degree in computer science" that is pretty much reason why i still work behind bar and cant find even junior position

Derek Banas
Guest
Derek Banas
10 days 9 hours ago
I'm very happy that you like it 🙂 That depends on what your dream job is. If you want to make games keep learning C#. I haven't really stated this in this tutorial series, but I'm actually trying to teach techniques that will work whether you are using Unity or not. So if you like games watch this.If you want to be a web designer learn HTML, CSS, JavaScript, JQuery, PHP and MySQLIf you want to develop mobile you can go in a few directions. I personally use C# and Xamarin to develop Android and iOS apps. There is some… Read more »
1 2 3
wpDiscuz