Pac-Man Diary #11

I extend the ‘eating ghosts’ code so that when you eat them a sound plays and the amount you’ve scored for eating it is displayed. I want it look just like the arcade version. The game now has a brief pause when you eat a ghost, this is basically to Read more…

Pac-Man Diary #10

Well, tomorrow is here. Changed quite a few things cosmetically! There’s now a picture surrounding the maze on a dark blue background. The only black area now is in the game area itself. There was a reason for this. The only way I could think of implementing the passageway was Read more…

Pac-Man Diary #09

I decide to rewrite a lot of the code to do with moving the ghosts. It’s just getting too messy. I’ve now included more arrays so I can configure each individual ghost more easily. As it was, there was no easy way to control the individual speed of each ghost Read more…

Pac-Man Diary #08

Oh my, and I thought last night was bad. Things start off okay, I manage to implement the ghosts changing into just eyes when you eat them. Simple enough, just hide the appropriate sprite leaving just the eyes. The problem started when I began programming them to go back to Read more…

Pac-Man Diary #07

I would like to get the Power Pills working tonight. They have have a different code from standard pills in the array so I know when one has been eaten. Changing the ghost sprites to the blue edible ones is a little tricky, but not too bad. I change the Read more…

Pac-Man Diary #06

My main task for this evening is to add some Artificial Intelligence (AI) to the ghosts. At the moment they’re just picking random directions and they’re not even doing that very well. My plan is to let them know the coordinates of Wobman so they have a ‘target’ to head Read more…

Pac-Man Diary #05

Pills, pills…I need some pills! Well, at least for my game anyway. As I discovered earlier, the best method is to have the pills in the with the maze bitmap. I edit it in paint ( I will order PSP, I’m just too busy at the moment). Ok, load it Read more…

Pac-Man Diary #04

Found a problem with the maze collision. Pac-Man…err…I mean Wobman is able to turn a corner when he isn’t fully in the corridor. After some investigation I discover this is due to the calculations being in done purely in Integers – thus, positions like 17.5 are rounded to 17. This Read more…

Pac-Man Diary #03

I spend some time screen dumping from M.A.M.E. to capture all the animations for Pac-Man and the ghosts. Pac-Man has 15 different poses. At first I’m fooled into thinking the ghosts are a complete sprite, then I realize that the eyes are actually a separate sprite overlayed onto the ghosts. an and Read more…

Pac-Man Diary #02

Today is collision detection day. Mmmm…my favourite. I use the term ‘day’ loosely, as it’s actually 10pm. I have to go to work you see, and this takes up all my day when I could be doing….anyway, I digress. Suddenly, I have a remarkable brain wave – why not create Read more…