Abyssal cave 4k

Ok, it could have been better but I’ve run out of time.
It’s quite beautifull but I would have like to implement some features like fishes and a torch.
Maybe next year or out-contest ;D

Here you have a couple of screenshots:

http://juanmi.malak.googlepages.com/abyssal1.jpg

http://juanmi.malak.googlepages.com/abyssal2.jpg

And the game: Abyssal Cave 4k

Comments are apreciated, I’m aware of some bugs like the bad looking went you’re at the end of a cave, but you can comment as many bugs and stuff as you like, It’s useful to learn :slight_smile:

Is this for the 4k, though? The download in opera tells me it’s 4.8kb :confused:

Oh! yes, It’s over the max :-[ I din’t realise it, the previous version was ok ¬¬

Ok, never mind, the time is over, so enjoy the game althought it is out of contest :wink:

Very nice animation on the seaweed. Overall not bad.

It is not too late to make this fit. Here are some things you can try.

Your jar file has 4 entries in it. This contributes to the overall overhead in the file.

  1. Remove the manifest file and make it webstart instead.
  2. Files ‘a’ and ‘b’ are for images? External data? Incorporate their data directly in the program instead.
  3. Have you run ProGuard against it yet? If not do so, it is very effective.
  4. Have you recompressed using something other than WinZip or the JAR tool? Try 7zip or if you are on WIndows you can also try BJWflate. BJWflate gives me better compression than 7zip. And 7zip gives me better than kzip.
  5. If you haven’t gone to the WikI, check it out for coding tips. http://wiki.java.net/bin/view/Games/4KGamesDesign

Hi Captain Jester,

Thank you for commenting. But I thought that the time was over, isn’t it?

I didn’t use proguard, but jshrink, a java program I found I don’t remember where :stuck_out_tongue_winking_eye:

Yes, the files are for the images of the player, I wanted to put some images but I preffered to do more procedural graphics, but they are binary coded into unsigned ints, so If I write it in the .java they would be bigger, wouldn’t they?

I check the wiki, but I didn’t have time to revise all the code in order to apply some of the tricks.

can I do these things yet? can the game enter the contest? ::slight_smile:

I guess you can. The algae effect is beautiful, it would be a pity if you didn’t enter this game…

You have until March 1, 00:00 EST. Check the current EST time here:

http://www.worldtimezone.com/time-usa12.php (the rightmost zone)

I guess you still have about 8 hours left…

As ahristov says, you still have time.

ProGuard gives far better results than jshrink

Your source might be a little bigger, but that will be offset by the lack of file entries in the zip.

One big one from the WiKi is the keyboard controls. That can save you up to 100 bytes, depending on your keyboard use.

Thak you very much, I will try to fit it the 4kb :slight_smile:

I did it! more or less…

I had to sacrifice the colorful corals and now you have random color corals :stuck_out_tongue_winking_eye:

In fact, now it is a bit smaller than the maximun but I’m too tired to improve it anyway.

I’m glat because the game will enter the contest altought I now that it has some bugs and the gameplay it is not very exciting :stuck_out_tongue_winking_eye: Thanks to Captain Jester and ahristov, you have made it possible 8)

The definitive game: Abyssal cave 4k (final version)