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

Report as inappropriate.

stephen
stephen presents ...

2009/3/11

Pacman

uh... it is pacman dude... What kind of description do you need? JUST KIDDING

Controls
arrow keys
(no joke it is that simple)

you need to move in order to start the game

Cheat Codes keys
z - b (mabye v)
Warning! use of cheat codes at personal risk. The use of the codes in a inappropriate way could result in losing the game.

If you find a bug tell me and I will correct it!

6642 views / 12 in the last 7 days

Tags: game with-source gis, stephen, ghosts, ai pacman,

open in greenfoot

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.

A new version of this scenario was uploaded on Wed Mar 11 08:00:22 UTC 2009
A new version of this scenario was uploaded on Wed Mar 11 08:03:20 UTC 2009
mjrb4mjrb4

2009/3/11

Hi Stephen, This doesn't work at the moment because of the filetype case problem - it seems you're using an old version of Greenfoot (it's picked up before you upload in the newer versions, so you might want to upgrade!) Image names are case sensitive - so for example the new version of Greenfoot gives the following: java.lang.IllegalArgumentException: Filename 'vulnerable.png' has the wrong case. It should be: 'vulnerable.PNG' at greenfoot.util.GreenfootUtil.checkCase(GreenfootUtil.java:547) at greenfoot.util.GreenfootUtil.getURL(GreenfootUtil.java:515) at greenfoot.GreenfootImage.loadFile(GreenfootImage.java:170) at greenfoot.GreenfootImage.<init>(GreenfootImage.java:75) at Ghost.<init>(Ghost.java:13) at PacWorld.<init>(PacWorld.java:19) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at greenfoot.platforms.ide.WorldHandlerDelegateIDE.instantiateNewWorld(WorldHandlerDelegateIDE.java:400) at greenfoot.core.WorldHandler.instantiateNewWorld(WorldHandler.java:377) at greenfoot.gui.GreenfootFrame$3.run(GreenfootFrame.java:812) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) You may need to update some of your other images if the cases don't match on them as well - then it should work.
Drumlind11Drumlind11

2009/3/18

It works just fine when you download the source but it looks like it wont even compile whi use the one here. try compiling then uploading an update for this.
mjrb4mjrb4

2009/3/18

Hi Drumlind, The problem isn't with compilation - everything on the gallery is already compiled, regardless of how the scenario shows up. This is instead a runtime error - because of the wrong image cases the scenario freezes before it's done anything. You can't actually upload to the gallery without compiling - it won't let you ;)

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

Who likes this?

No votes yet.