Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (526)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (593)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Games Center / 4K Game Competition - 2014 / Re: Judging results on: 2014-03-21 18:56:55
As „the newbie“ I want to express my gratitude to all those people who contributed this year to the 4k competition.
It was a nice experience for me.

Although there are not so many entries this year, I had a lot of fun playing them.
As a contributor I learned, that it’s not so easy to make a 4k game.
The source code does not show all the work you have to do for the competition.
You have to make a description, an icon, some advertising in this forum, the compression and so on.
If you didn’t code a 4k game before, it’s easy to underestimate the work.

I’m sure that reviewing the games is a lot of work, too. Thus, I want to say thank you to the judges.
With “In The Dark 4k” we have a worthy (and expected) winner!
(After I saw Gef's game, I was just a step before kicking my game in the trash...)
But now, I’m very proud of my second place.

It’s a little bit sad, that only 11 Persons voted this year.
Is this normal or is it a sign that the interest in the event descend?

Last but not least I owe thanks to some people who helped me.
In my case the HTML-Code for the website does not work. But Appel helped me, so I want to thank him.
And of course I want to say thanx to everyone who helped me downsizing my game so I could implement my radar. Especially Gef brought a breakthrough.

All in all, you are a nice community.

By the way: how can I link my game with my profile?


Have a nice day/night (wherever you are)
Felix
2  Games Center / 4K Game Competition - 2014 / Re: Raid On Java 4K on: 2014-02-22 18:42:31
@Gef: You are soooo coooool!!!  Cool
It works and I uploaded the new version to Java4k!
I dropped a note in the source.

Here is a screenshot:


I’ll analyze the results of the tools later. I’m curious which tool is the booster. But first I’m really happy that the radar is in the game.  It’s an eye candy and useful for the gameplay.

Again, thank you very much to all. I have learned a lot.
3  Games Center / 4K Game Competition - 2014 / Re: Raid On Java 4K on: 2014-02-16 20:49:12
First many thanks to all for the tips.

@Groboclown:
I tried the tip with the binary gfx data. For that, I had to modify my rotation algorithm a little bit. It turns out, that the char data with the old routine can be compressed better than the binary data with the new routine. In total the original char data is 88 Bytes smaller.

@Moogie:
I made some tests with joined arrays but I can’t get smaller results. Because of my limited spare time I don’t want to invest in this way. Nevertheless thank you very much.


At the end I combined the suggestions from Gef and Harm (Gef optimized the cockpit away  Roll Eyes) and won 11 Bytes  Grin.

Here is the source:
http://pastebin.java-gaming.org/1cfb9983584


I think the secret are the compression tools.

Here are my results (with intermediate results):
Original JAR: 11.228 Bytes
(JARG exists with an exception, so I dropped this step.)
After Proguard: 5.512 Bytes
After Pack200 (without compression): 8.966 Bytes

Now I tried 4 different compression tools on the pack200 result:
KZIP: 4.306 Bytes
7Zip: 4.294 Bytes
BJwflate: 4.260 Bytes
Zopfli: 4.240 Bytes

At the end I used deflopt on every result:
KZIP: 4.287 Bytes
7Zip: 4.290 Bytes
BJwflate: 4.258 Bytes
Zopfli: 4.240 Bytes (winner)
 
@Gef:
You said you can reach 4080 Bytes. Which parameters do you use with the tools? How does your proguard file look like? Do you have magic tools?

@Groboclown:
I tried to use your 4k utilities on Sourceforge, but I’m not clever enough to handle all this ant stuff. I was not able to setup a runnable build structure in eclipse. In the read me file you described how to create a build structure. But I can’t integrate your tools and I can’t make a build.xml. Maybe I have not enough background information.
4  Games Center / 4K Game Competition - 2014 / Re: Raid On Java 4K on: 2014-02-10 19:15:10
Nice action-packed game! Love the explosions. Smiley
Thank you! The explosions are the only eye candy that survived Roll Eyes
5  Games Center / 4K Game Competition - 2014 / Re: Raid On Java 4K on: 2014-02-10 19:00:11
I have made some experiments with my compression chain. But I can’t shrink my game as good as Gef.
Especially kzip and bjwflate have not the effect as hoped.
But I found the tool zopfli from google. This tool has good results.
Maybe the weak spot of the compression chain is elsewhere? Maybe my proguard settings are not optimal?

You can found my pro-file here:
http://pastebin.java-gaming.org/7847a3c2087

As announced I uploaded 3 sources.

This is the original 4k-Source:
http://pastebin.java-gaming.org/847ac402781

This is the 4k-Source with radar:
http://pastebin.java-gaming.org/47ac0572185

And finally the full featured version:
http://pastebin.java-gaming.org/7ac0761258c


Here are my compression results (with immediate data):

4k-version:
Original JAR: 10.541 Bytes
After JARG: 5.400 Bytes
After Proguard: 5.328 Bytes
After Pack200 (without compression): 8.586 Bytes

Now I tried 4 different compression tools on the pack200 result:
KZIP: 4.084 Bytes
7Zip: 4.061 Bytes
BJwflate: 4.103 Bytes
Zopfli: 3.980 Bytes

At the end I used deflopt on every result:
KZIP: 4.075 Bytes
7Zip: 4.056 Bytes
BJwflate: 4.103 Bytes
Zopfli: 3.980 Bytes

radar-version:
Original JAR: 11.274 Bytes
After JARG: 5.749 Bytes
After Proguard: 5.679 Bytes
After Pack200 (without compression): 9.083 Bytes

Now I tried 4 different compression tools on the pack200 result:
KZIP: 4.396 Bytes
7Zip: 4.364 Bytes
BJwflate: 4.389 Bytes
Zopfli: 4.262 Bytes

At the end I used deflopt on every result:
KZIP: 4.377 Bytes
7Zip: 4.360 Bytes
BJwflate: 4.387 Bytes
Zopfli: 4.262 Bytes

Full-featured-version:
Original JAR: 12.754 Bytes
After JARG: 6.410 Bytes
After Proguard: 6.357 Bytes
After Pack200 (without compression): 11.114 Bytes

Now I tried 4 different compression tools on the pack200 result:
KZIP: 4.920 Bytes
7Zip: 4.907 Bytes
BJwflate: 4.951 Bytes
Zopfli: 4.874 Bytes

At the end I used deflopt on every result:
KZIP: 4.898 Bytes
7Zip: 4.904 Bytes
BJwflate: 4.950 Bytes
Zopfli: 4.874 Bytes

Maybe these information are useful for someone else.

@Gef and moogie:
It would be great if you have a good idea to save the radar.
Otherwise I think I’ll implement some minor gfx effects into the last bytes I won with zopfli.
Anyway I thank you for your support.

Felix...
6  Games Center / 4K Game Competition - 2014 / Re: Raid On Java 4K on: 2014-02-02 19:40:06
Wow, this is a nice offer!

That would help me to learn the tricks of 4k programming.

But please do not invest too much free time. I would get a bad conscience.

@moody: you should make you 4K entry finished first. Time is running and I'm curious.

I think the radar is the most valuable feature for the gameplay, too.
I could send you in total 3 sources. I could send you the original 4k source, one with all features and one with the radar. With this, you can compare the sources and find the differences easily.
But first, I have to translate my German comments.

How may I send you the sources? Would you pm me your email addresses?

By the way, my compression chain looks like this:
Compiler -> JAR -> Proguard -> Pack200 -> 7zip -> deflOpt
7  Games Center / 4K Game Competition - 2014 / Re: In The Dark 4K on: 2014-02-01 21:12:17
Hey, the button suddenly appear. I will give it a try...
8  Games Center / 4K Game Competition - 2014 / Re: Raid On Java 4K on: 2014-02-01 21:06:13
Thank you for your nice feedback.

@Groboclown:
I’m not very proud of the “grey-square-factories”. And really, deleting the features brought me close to tears…
Here are two screenshots from the full featured game:


Ok, it’s still “programmer art” and not really beautiful. But landing pads look different...
Unfortunately, after my compression chain the file size is 4888 Bytes.

@moogie:
Level 12 is the point where you have to change the tactic.
You cannot just rush to the factories and bomb them.
First, you have to take care of the jets.
Anyway, I think you hold the high score.

I wonder who can complete the game.
9  Games Center / 4K Game Competition - 2014 / Re: Treasure Hunt 4k on: 2014-02-01 21:02:42
I like your map generator. I wish my islands in “Raid On Java 4K” would look as nice as yours.
10  Games Center / 4K Game Competition - 2014 / Re: In The Dark 4K on: 2014-02-01 21:00:32
I cannot find the “appreciate”-button.
Thus, I give you this medal  Grin

11  Games Center / 4K Game Competition - 2014 / Re: In The Dark 4K on: 2014-02-01 20:44:16
Great graphics!
I like the story connection to your former game.
12  Games Center / 4K Game Competition - 2014 / Raid On Java 4K on: 2014-01-29 18:40:43
Hello,

My name is Felix and I’m new here.

I want to introduce my little action game “Raid on Java 4K” for the Java 4K contest.
You can play it on Java4k.com:
http://www.java4k.com/index.php?action=games&method=view&gid=486

Here are some Screenshots:


It’s a 4K version of the good old C64 game “Raid on bungeling bay” by Will Wright, which I really enjoyed in my childhood (Now you can guess my age Smiley ).
Of course it has fewer features. Anyway, I hope you will enjoy it.

Some features of the game are:
  • Heatmap Explosions
  • A lot of jets with a pretty nice AI
  • Defense towers
  • 16 Levels
  • Multidirectional Wraparound Scrolling

During the developing, I concentrated on the features and do not pay attention to the size. Unfortunately there are some features I had to cut off at the end:

  • A radar
  • Some water effects
  • Better looking factories with smoking chimney. Now there are only grey squares (*sigh*).
  • Better looking aircraft carrier
  • Better AI of the defense towers
  • Score counter

I hope, that I deleted not the wrong features and you’ll have a lot of fun.

I stumble over the java 4K contest while I read the Wikipedia entry about Markus Persson. I was curious and so I study the source code of “Left 4K Dead”. To be honest, I implemented the way how Notch handled the sprites and the sprite rotation in “Raid on Java 4k”, please forgive me.

In the end, I wish you happy dogfighting… and which level can you reach?

Bye,
Felix
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

toopeicgaming1999 (72 views)
2014-11-26 15:22:04

toopeicgaming1999 (61 views)
2014-11-26 15:20:36

toopeicgaming1999 (15 views)
2014-11-26 15:20:08

SHC (28 views)
2014-11-25 12:00:59

SHC (27 views)
2014-11-25 11:53:45

Norakomi (32 views)
2014-11-25 11:26:43

Gibbo3771 (26 views)
2014-11-24 19:59:16

trollwarrior1 (39 views)
2014-11-22 12:13:56

xFryIx (78 views)
2014-11-13 12:34:49

digdugdiggy (56 views)
2014-11-12 21:11:50
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!