Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  l4krits  (Read 2880 times)
0 Members and 1 Guest are viewing this topic.
Offline Markus_Persson

JGO Kernel
*****

Posts: 2092
Medals: 10


Mojang Specifications


« on: 2006-12-03 07:17:20 »

Screenshot:


Play now!


Play Minecraft!
Offline EgonOlsen

JGO Strike Force
***

Posts: 821
Medals: 6



« Reply #1 on: 2006-12-03 07:36:31 »

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.

Offline oNyx

JGO Kernel
*****

Posts: 2943
Medals: 5


pixels! :x


« Reply #2 on: 2006-12-03 07:41:07 »

Uhm... webstart?

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

*shrug*

edit: its an applet?

弾幕 ☆ @mahonnaiseblog
Games published by our own members! Go get 'em!
Offline Markus_Persson

JGO Kernel
*****

Posts: 2092
Medals: 10


Mojang Specifications


« Reply #3 on: 2006-12-03 07:42:25 »

It's an applet. Wink

Play Minecraft!
Offline oNyx

JGO Kernel
*****

Posts: 2943
Medals: 5


pixels! :x


« Reply #4 on: 2006-12-03 07:56:25 »

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! Smiley

弾幕 ☆ @mahonnaiseblog
Offline toasten

Jr. Member
**

Posts: 56



« Reply #5 on: 2006-12-03 07:59:31 »

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

JGO Kernel
*****

Posts: 2092
Medals: 10


Mojang Specifications


« Reply #6 on: 2006-12-03 08:26:27 »

Debugging 4k code isn't very easy.  Shocked

I've managed to reproduce the deadlock, though.

Play Minecraft!
Offline darkprophet

JGO Neuromancer
****

Posts: 1171


Go Go Gadget Arms


« Reply #7 on: 2006-12-03 08:38:06 »

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

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline Morre

JGO Ninja
***

Posts: 507


I'm Dragonene on IRC.


« Reply #8 on: 2006-12-03 09:06:29 »

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!)

Online me

Full Member
**

Posts: 158
Medals: 1


Java games rock!


« Reply #9 on: 2006-12-03 09:55:18 »

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 Smiley

Could not see a mesage in the java console....

Best regards from



M.E.
--------
Games published by our own members! Go get 'em!
Offline x30ice

JGO n00b
*

Posts: 30



« Reply #10 on: 2006-12-03 10:26:54 »

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.
Offline nva225

Sr. Member
**

Posts: 298



« Reply #11 on: 2006-12-03 15:13:34 »

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. Smiley

Looks like this


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.
Offline Markus_Persson

JGO Kernel
*****

Posts: 2092
Medals: 10


Mojang Specifications


« Reply #12 on: 2006-12-03 16:00:28 »

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. :-(

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

Play Minecraft!
Offline moogie

JGO Strike Force
***

Posts: 775
Medals: 5


Java games rock!


« Reply #13 on: 2006-12-03 22:29:47 »

Looks great and is very smooth Smiley

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 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.



Offline Markus_Persson

JGO Kernel
*****

Posts: 2092
Medals: 10


Mojang Specifications


« Reply #14 on: 2006-12-04 03:30:27 »

The file isn't optimized for size at all yet, but thanks for bragging. Wink

Play Minecraft!
Offline moogie

JGO Strike Force
***

Posts: 775
Medals: 5


Java games rock!


« Reply #15 on: 2006-12-04 05:09:37 »

lol!

i did wonder as the gain was more than my experiments gave.
Offline f.l.x

Sr. Member
**

Posts: 305


there is no place like 127.0.0.1


« Reply #16 on: 2006-12-05 08:29:20 »

Awesome!

i've said it before, but i want to be just like markus when i grow old Wink

Litterarum radices amaras, fructus dulces
http://flx.proyectoanonimo.com
figth spam!
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.173 seconds with 22 queries.