The first time I played through it also broke for me; though it didn't crash, and no exceptions were reported. The game continued to run, but only a portion of the Applet area was being updated (bottom right corner), as if all of the rendering operations were being translated down & to the right.Refreshing the page fixed the problem.My money is on it being an internal Java2D bug - will screenshot it if it happens again.

Oh yes. Shoot them while they're moving or preparing to shoot. They take three hits.The fast ground sliders can't be killed, though. (In the original, you could stop them temporarily by shooting them, but I didn't include that)

irreversible_kev:That crash MIGHT be if you manage to shoot while getting hurt by an enemy. I'll investigate.

Abuse:It might be a bug caused by me never releasing the Graphics object from the Applet.

Real code should be something like:

1 2 3 4 5

while (true) {Graphicsg = getGraphics();render(g);g.dispose();}

But I do:

1 2 3 4

Graphicsg = getGraphics();while (true) {render(g);}

Putting the getGraphics inside the loop might help if that really is the problem, but iirc, that could use up system resources faster than it could be garbage collected if the loop is tight.

* Fixed the clock. It now works properly instead of resetting when you die.* The clock is shown all the time now instead of just on the final screen.* Tweaked a few game screens.* Added a spike to the last screen. Touching it resets the game.* Fixed the crash bug when shooting while getting hurt.

There’s an impressively large amount of (Nintendo copyrighted ) graphics in this game. I like how even the time is displayed using sprites instead of a font. How did you compress the screens? Are you allowed to shoot through walls in the actual Mega Man games? Sprite movement is not that fluid. Is the screen actually made up of 8x8 pixel blocks almost like ASCII graphics? This game is really difficult to play. It’s a very impressive 4K feat (excellent coding), but due to the difficulty, not all that fun.

The screens are just a big String with different letters for each tile type. This compresses really really well, and with increasing gain the more levels I added.At first I thought I'd only be able to have 10-15 screens, but at the end I got up to 25 with no trouble at all. I could've made 30 with some effort.

Movement is in 8 pixel chunks, yes. In retrospect, this was a mistake. It came from me just having played (and beaten!) Duke Nukem 1, the old platformer game. It also restricts movement to 8 pixel chunks. I liked the feel so much, I decided to build a game around it. I started out with DN graphics, but quickly realized it might make an even cooler mega man game.

The game is very difficult, yes. Unforgiving, one could say. I like that.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org