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

Report as inappropriate.

gusbus123
gusbus123 presents ...

2012/6/19

pacman

A version of the game Pacman, created for school work. NOW COMPLETED!
I'd be happy to get suggestions of how parts of codes could be changed (its a bit messy as i am new to greenfoot).

To change your controls go to the first help page and click on whichever key you want to change (the pictures of the keys).

Player 1 Controls:
Arrow keys

Player 2 Controls:
W A S D

P - pause

32803 views / 43 in the last 7 days

15 votes | 0 in the last 7 days

Tags: game with-source

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Thu Sep 20 11:49:23 UTC 2012 little adjustments. Recent bug still not fixed yet.
BatmanBatman

2012/9/20

just like pacman :)
gusbus123gusbus123

2012/9/21

thx
A new version of this scenario was uploaded on Tue Oct 09 09:25:52 UTC 2012
sp33dysp33dy

2012/10/9

It's great! ..but after a set period of the Ghosts heading in their pre-planned route, they should then head towards Pacman when he is in sight! Makes the game far more exciting.
gusbus123gusbus123

2012/10/9

yer the ghosts move around randomly and once the player is within range the ghosts try to go towards the player, but sometimes they can get out of range midway when they are trying to find a way around a wall to the player. Right now the AI is a little glitched and i am going to try fix it when i have the time, but from what i am seeing i think the glitch is java based. But i will give it another look when i have time.
A new version of this scenario was uploaded on Mon Oct 29 10:30:59 UTC 2012 I've been real busy so havnt accually done anything on this, but heres an update and the source code is released if you want to look at it. The code is very messy as it is old (i had only just begun learning Greenfoot when i started this) and i havnt had time or even the patience to clean it up yet, maybe in the future but exams are coming soon. Added: - When all food are eaten world resets. Needed/Planned: - Fix ghost AI (same old glitch) - add high score system - clean up the WHOLE code (most likely restart whole code in new file then transport over)
gusbus123gusbus123

2012/10/29

Oh and i will either make PAXON in a new scenario or make it as a game mode in this scenario. But that will be in a long time... Im too lazy these days, need to get back to coding and away from videos and school :)
some_GEEKsome_GEEK

2012/12/4

Great Job on the game
nico_vonico_vo

2016/1/27

how do you make it so that when it touches one side, it comes up in the other? I want to put that in my game :D

See all comments

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

Who likes this?

chiconese Antonio MarcoAntonio nooby123 calovi Busch2207 angeloanan CrazyGamer1122 winnerpig mulletman96 jDog1298 Demogirl hmemon vigonator MatheMagician