l4krits

Screenshot:

http://www.mojang.com/notch/j4k/l4krits/l4krits.gif

Play now!

Nice one. My girl friend has bookmarked it. But i ran into a deadlock in this situation: http://www.jpct.net/img/Image1.jpg
The game stopped responding with no exception and 50% (on a dual core machine) cpu load.

Uhm… webstart?

D:>java -cp .;l4k.jar L
Exception in thread “main” java.lang.NoSuchMethodError: main

shrug

edit: its an applet?

It’s an applet. :wink:

Well, applets are webstartable, too.

http://kaioa.com/k/l4k.jnlp (If you copy this file over change the href to the jnlp.)

edit: Oh and the game itself is an awesome implementation. Amazing work! :slight_smile:

Tough Game, as it gets really fast :o
And it is hard to hit when the balls at the top of the screen.
But i managed to get a score of 4828

Debugging 4k code isn’t very easy. :o

I’ve managed to reproduce the deadlock, though.

The movement of the paddle isn’t very responsive on my system. It takes several seconds to move from its current position to where the mouse is now…Yet the animation of the balls moving is smooth…

JDK6.0b98, Ubuntu 6.10…

DP

I’m in love. Markus, you never cease to impress me. However, this is not a 4k game. It can’t be. And neither can miners. Pah.
(Way to go!)

Hello Markus,

Great Work!

In the first ‘round’ the balls were moving towards the end but when I ‘solved’ them all the balls stopped moving. I could add the right color over and over again and the score increased. No challenge :slight_smile:

Could not see a mesage in the java console…

Best regards from

Very good and addictive game!
I had one time the same proble as me (the user). And if you solve one cue while the last one solved is still dropping the ‘bonus’, the first bonus dissapears and then you get only the last one.

Very nice code there, however you have some bugs (as you’re already aware). I don’t think anyone reported this yet, but occasionally I pop all the balls in a string and the black one just gets stuck there. This happened the first time I played and I was really confused as to how I was supposed to get rid of the black ones. :slight_smile:

Looks like this

http://img127.imageshack.us/img127/9549/errorvm0.png

And there are NO other strings at all visible on the board. When just one black ball is present, my colors cycle through like crazy. I think this occurring has something to do with me shooting the black ball from behind as it goes up that first turn.

Oh and when that black ball reached near the end, I suddenly saw a long stream of sparkles appear backwards up the track the length of 10-15 balls or so and then I proceeded to lose.

I THINK that happens when you insert a ball in a train just as a new train is supposed to spawn. I think.

This code is a mess. :frowning:

[edit:]
Good thing I’ve got 'til march. :smiley:

Looks great and is very smooth :slight_smile:

I took the liberty to run your Jar through my in-progress optimiser utiltity and was able to shave off 244 bytes. (4,027 bytes to 3,783 bytes)

I have attached the optimised Jar to this post… (you will have to remove the .pdf extension after you download it)

It may give you some breathing room for bug fixes :stuck_out_tongue:

I hope to release my utiltiy once it is in a more usable state… I seem to have probelms deleting files at the moment (see http://www.java-gaming.org/forums/index.php?topic=15458.msg123131#msg123131) if you have any ideas on how to proceed).

I would imagine some more compression would be gained when using the original class file instead of the obsfucated one.

The file isn’t optimized for size at all yet, but thanks for bragging. :wink:

lol!

i did wonder as the gain was more than my experiments gave.

Awesome!

i’ve said it before, but i want to be just like markus when i grow old :wink: