Pacman version in Phaser 3

Hi!

I’m new to the forum, and I share with you a version of the classic Pacman game that I have programmed.

It is almost finished and you can try it to play a game if you want.

The AI ​​of the ghosts is very homemade xD (don’t expect mega-intelligent ghosts), they simply “do their job” so that passing the screen is not easy.

To play:
https://juan1639.github.io/PacClon-vite-phaser

Code in github:

Greetings!

2 Likes

That is superb! I love the scrolling playfield and moving fruit :slight_smile:

Thanks! :slightly_smiling_face:
I wanted to take advantage of phaser cameras to implement scroll.

Greetings!

Fantastic work! Very slick and polished.
Just a few constructive criticisms (I’m sure you are already aware):

  1. I played on a desktop. The keyboard controls are very awkward. I think this is partially due to,
  2. the game pace is too fast, especially right from the get go, and this contributes to the difficulties with the control system. Start slow, increase the pace as the player completes levels or some other goal.
    3…As per ghost AI, there are accounts of how AI is handled in original pacman all over the web. Your could use that as a launchpad.
  3. I’d love to be able to use my gamepad (xbox controller).
    Apart from that, once it’s balanced for it’ll be perfect.
    And - last but not least - thanks so much for linking to the code on Github! we all can learn from that.
    Cheers :slight_smile:

Hi, thanks for comment!

I take note of your constructive criticism :slightly_smiling_face:

When I have time I will add improvements to the game, taking into account what you have mentioned.

At first, I only thought about creating a recreation, a functional clone, that would look cool. Without taking into account more technical aspects, such as the AI ​​​​of the ghosts.

Greetings!