B4k!

http://www.w4jdh.net/~seigfried/j4k/screenshot.png

Here’s my first entry this year, B4k. It’s a Berzerk clone which looks a bit similar to Gridblaster4k, the entry I coded up last year.

The .jar weighs in at 4,088 bytes. It uses procedural graphics (it’s obviously all done with polygons) and a particle engine to handle explosion effects.

Your goal is simply to destroy as many robots as you can while avoiding both the robots and the invincible Evil Otto. The arrows control your movement, space fires, and escape quits.

The only issue I really have with the game right now is that I can’t find a way to either make the close box work or grey it out that doesn’t push the game over the size limit.

The self-executing .jar file is at http://www.w4jdh.net/~seigfried/j4k/b4kv6.jar; it should run on a computer with Java 1.3 or later. Let me know what you think!

  • HC

plays pretty good however enemy path finding is flawed, if you can’t fit a path finding algorithm in there a few random direction movements when the enemy gets stuck might help. however appart from that it looks pretty good.

[quote]The .jar weighs in at 4,088 bytes.
[/quote]
As part of my “Use KZip now!” campaign I have tried compressing your JAR-file using KZip instead. If you use KZip the JAR size becomes 3 986 bytes so perhaps you would have the necessary space to support the close button? :slight_smile:

It’s currently compressed using 7Zip; I’ll give KZip a try tomorrow. :slight_smile:

  • HC

Ah… nice to see you here :slight_smile:

With jws you could save even more bytes (no manifest.mf needed). With kzip you would end up with 3,855 bytes.

For the closing bit… I went with jframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE), others checked in the loop if the frame is visible and if not exit.

Yeah, this was mostly finished a couple months ago, but then my life exploded into twelve different brands of chaos and I wasn’t able to completley finish it and post it. This is a different version, BTW, from the one you’ve seen before.

I’m very wary of taking out the manifest, because I was seriously burned in the judging last year for doing exactly that.

  • HC

Using KZip, I’ve built a version where the close box works. Thanks for the advice!

The new version is at http://www.w4jdh.net/~seigfried/j4k/b4kv10.jar.

  • HC