So do you mean to have the keys WASD to instead direct to the corners of the applet? Or do you mean to have some mechanic to be able to let go of say the D key in your example and still be moving as if it was still pressed? I honestly use the mouse almost always.
I got the following when I got to the stairs
java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at EventScript.getIntCommand(EventScript.java:915)
at EventScript.excecuteCommand(EventScript.java:617)
at EventScript.act(EventScript.java:567)
at greenfoot.core.Simulation.actActor(Simulation.java:507)
at greenfoot.core.Simulation.runOneLoop(Simulation.java:470)
at greenfoot.core.Simulation.runContent(Simulation.java:204)
at greenfoot.core.Simulation.run(Simulation.java:194)
Also It's possible to ride the elevator from the hallway.
The text still sometimes doesn't fit on screen.
But looking good!
Basically the fire effect consists of having a 2d array of values of "intensities", where you add 0 & max intensities at the "bottom", then loop through the rest, where at each point - finding the average of what's directly below it and subtracting 1, then setting that to that point. I have a few modifications to making the effect look nice. But then you take the 2d array and loop through each point and translate the intensity onto a color spectrum (white -> yellow -> red -> black), which then is the pixel at that point.
The Spark class is used so to not just be adding randomly 0 or max intensities to the bottom of the array. Basically there is a list of Sparks that cover the length of the bottom of the array, where each have a "home" that it must stay "close" to, but allowed to move randomly around. Also each can randomly change its "length". So using the Spark class, it makes the flames seem to waver, making a nice fire replication.
Nice! I like the rolling feel of the control of the ball. Some kind of upgrade/change in environment may be cool. Maybe a progression could lead to where the platforms didn't necessarily move upward and maybe some other forces could be "chasing" you which will destroy your ball if touches. Just ideas! Good work.
Got to level 4, score: 2751 =)
2012/5/16
Tangled Escape
2012/5/16
Tangled Escape
2012/5/15
Tangled Escape
2011/12/7
Nightmare: Emergence
2011/12/7
Nightmare: Emergence
2011/12/7
GUI Components
2011/12/6
Pyro's Apprentice
2011/12/5
Ball Fall
2011/12/4
City