PacPac

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
anorak
Prole
Posts: 11
Joined: Mon Mar 25, 2013 8:10 am

PacPac

Post by anorak »

PacPac is pac-man imported from a parallel universe. It's open source, and I'd be happy to receive contributions for new levels. Existing levels are easy to edit with basically no programming knowledge.

Image

Try it out:

http://zarblox.com/pacpac.love

Here's the official codebase; edits welcome:

https://github.com/tylerneylon/pacpac/

I have a list of ideas for new levels in the readme. Here are some of them:
  • A level where the walls are not drawn, but must be implied through the dot positions and
    where the ghosts travel. I played this by accident a couple times, and it's challenging
    and fun.
  • New ghost AI's in different colors.
  • A gun that can shoot ghosts.
  • A level with keys that can open doors. Doors are basically walls that you can erase
    with a key.
  • A level with portal-like mechanics. Maybe a warp door that changes connected doors,
    or a warp gun. (This sounds a little scary to have to debug.)
  • A level where the hero and ghosts switch roles. By default, the ghosts are weak - i.e., flashing
    white/blue and can be eaten. The ghosts eat dots, and if they eat a superdot, then the hero
    becomes vulnerable - i.e., the ghosts appear non-flashing temporarily. However, the ghosts no
    longer reincarnate, and it is the hero's goal to eat all of them.
User avatar
markgo
Party member
Posts: 190
Joined: Sat Jan 05, 2013 12:21 am
Location: USA

Re: PacPac

Post by markgo »

This is very nice. I don't have any suggestions, but looks great and feels just like the original pacman.
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: PacPac

Post by Roland_Yonaba »

That is neat.
In case you're looking for ways to improve (in terms of ghosts AI) this article would help, tremendously.

Good job, anyway!
User avatar
Username
Citizen
Posts: 54
Joined: Mon Jan 28, 2013 1:25 pm

Re: PacPac

Post by Username »

Nicely done.

But I noticed that ghosts that can be eaten do not flee from player.
User avatar
anorak
Prole
Posts: 11
Joined: Mon Mar 25, 2013 8:10 am

Re: PacPac

Post by anorak »

Roland_Yonaba wrote:That is neat.
In case you're looking for ways to improve (in terms of ghosts AI) this article would help, tremendously.
Thanks! I actually used that exact article to build the ghost AI's in PacPac. They are not mathematically identical because PacPac uses a simplified grid system, but the behaviors are extremely similar, including constantly updated ghost target points that are very similar to those in the original game, along with scattering / pursuing waves.
User avatar
anorak
Prole
Posts: 11
Joined: Mon Mar 25, 2013 8:10 am

Re: PacPac

Post by anorak »

Username wrote:I noticed that ghosts that can be eaten do not flee from player.
That's true. Frightened ghosts in the original game also turn randomly (well, pseudorandomly) at intersections. Search for the word "pseudorandomly" on this page to see what Chad Birch says about it.
User avatar
anorak
Prole
Posts: 11
Joined: Mon Mar 25, 2013 8:10 am

Re: PacPac

Post by anorak »

I just added level 3, which has a twist to make it a little more interesting. Here's a preview:

Image
pacpac.love
PacPac v0.3
(606.81 KiB) Downloaded 323 times
Post Reply

Who is online

Users browsing this forum: No registered users and 66 guests