When I run your scenario online, I get this stack trace:
java.lang.RuntimeException: The specified gif file doesn't exist.
at GifImage$GifDecoder.read(GifImage.java:501)
at GifImage.loadImages(GifImage.java:115)
at GifImage.<init>(GifImage.java:48)
at MagicPortal.<init>(MagicPortal.java:12)
at JavaRoom.prepare(JavaRoom.java:45)
at JavaRoom.<init>(JavaRoom.java:21)
That stack trace correlates with the GifImage class included with Greenfoot 2.3.0 (or earlier). I suggest you use a more recent version of the GifImage class, for a start.
Thank you for your response davmac. I created a gif in my scenario by importing the GifImage class. If this is what prevents the website from running my scenario properly, could you tell me where I can find the more recent version of the GifImage class? Thank you.
Sorry if I wasn't clear - the GifImage class has been updated since Greenfoot 2.3.0, so to get a more recent version of the GifImage class, start by using a more recent version of Greenfoot (the most recent is version 3.0, but you could also use 2.4.2). Delete the current GifImage class and then re-import it from within the newer Greenfoot version.
Thanks for solving this problem for me davmac. Although the all the images are properly showing up on the scenario, the codes that require keys to be pressed are not functioning properly. For example, whenever I press "E", the scenario does not pick it up and does not do what it is supposed to do. Is it supposed to be like this or is there another mistake in my program that is causing this problem?
They seem to work fine for me. They don't work when you're moving, is that what you mean?
Yes davmac I think that is the problem. Is there an easy way to fix this problem?