This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

Douggresham
Douggresham presents ...

2015/3/2

PacMan

Created By Doug Gresham on March 2, 2015

19518 views / 16 in the last 7 days

4 votes | 0 in the last 7 days

Tags: game pacman with-source pac man

open in greenfoot
Your browser does not support the canvas tag.
lordhersheylordhershey

2015/3/3

This is pretty good. There are some technical issues, but it is entertaining. Can you make the ghost who were eaten have their eyes run back to the ghost box?
RiculoRiculo

2015/3/3

Awesome
fejfofejfo

2015/3/3

I beat the game !
DouggreshamDouggresham

2015/3/6

I have thought about getting the ghosts to return to the boxes after dying but I am not sure how to do it. Since the ghosts could be anywhere on the board when they are eaten, they would have to be able to move back to the box wherever they are.I am not sure how to code where the ghosts would know exactly where to go given any position. Perhaps you can help me with this.
danpostdanpost

2015/3/6

You could create a "transfer" object, using the eyes images for it, to "carry" the ghost back to the ghost box. If interested in this idea, start a discussion thread.
lordhersheylordhershey

2015/3/6

So you just need a way for the ghost to find its way back? More specifically some way of doing it that does not require an overcoplicated search method? I think Dan's idea of using a transfer object is a good start (just an actor that is eyes and it's only job is to go to center) there might be some property of the maze that can be exploited to make this task easier. But maybe this: make the eyes actor, have it move much slower and just have it float the the center (floating through walls and everything else) and when it reaches the center replace it with a ghost.
lordhersheylordhershey

2015/3/6

Float to the center* I
CDX.24CDX.24

2023/8/22

there is an extra orange ghost? ther is two now

Want to leave a comment? You must first log in.

Who likes this?

AJOS814 whattaboutye96 fejfo Riculo