Featured games (91)
games approved by the League of Dukes
Games in Showcase (581)
games submitted by our members
Games in WIP (500)
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] 2 3 ... 12
1  Discussions / General Discussions / Re: Why java over other languages? on: 2013-02-05 17:06:44
You might say so, but there's a paper long predating the lambda proposal out there from one of the big names in Java (might have been Gosling himself) going on about how Java doesn't need any kind of lambda syntax because it has anonymous inner classes.  

Thankfully less conservative voices like Bloch ultimately prevailed, and others like Gilad Bracha, and the aforementioned Gosling signed on to it.  So folks, are they just kiddies with their bling trying to bodge silly hacks, who don't know what they're doing?
You might call them 'less conservative', others might call them opportunistic. You just like them now because you agree with them on this one part.
Though I doubt if Bloch et al would look at your code, you would really want to hear what they have to say.

or as someone once mentioned: Lambdas in several languages seem to be defensive moves more than anything else ("Stick around! We've got those too!!)
When I look around, most of the people calling for these are people coming from other languages asking why their cool feature is missing.

Leaving snark aside (don't worry snark, I'll come back, daddy loves you) one of the main reasons for ultimately adopting lambdas after all, and as has been discussed here previously, is that they're not simply syntax sugar, but can be optimized specially by the compiler.
Got anything to back up that statement? Not just rumours or whatnot, I want to see facts.
Because I honestly only hear about what all these cool features will do, but nothing that would convince me. Show me just how great it really is and how much better everything will be if I do pick it up and you just might sell me on it.

Until then, it is simply today's shiny new toy.

Not that really anything we say or do will change anything. I simply see Java going the way of so many other languages and joining the feature death-march that will only lead to it's demise. Today it might be the one you like, tomorrow it might be something you do not want. Once the 'omg, we need this also' dam is broken, you will be hard set to stop it again.
That was once what made Java so great.
2  Discussions / General Discussions / Re: Why java over other languages? on: 2013-02-05 16:31:50
One(?) word for you - "multicore".  Java has always been pretty good at supporting concurrency, and this feels a natural evolutionary step in that.  Have a look at the slides here - - good overview of some of the thinking behind this (even if the implementation details are a bit old).
I keep on hearing that again and again, but it seems to only boil down to 'annon inner classes suck, but my cryptic hackery is totally cool'.
Trying to sell a feature that supposedly fixes something that is not broken?
3  Discussions / General Discussions / Re: Why java over other languages? on: 2013-02-05 09:50:22
Java might not be perfect, but it is a good language that is verbose enough and (up until now) did not have to have all the bells and whistles. Sadly that has changed. Guess we have to follow every dumb trend just because someone came from a different language and is now complaining that their bells and whistles are missing.

Strange that Java became so widely used even without all this feature bling.

If you want to do functional programming, go grab a functional language. If people do not want to write code, maybe coding is not their thing. Also the compiler should not do your thinking for you. And you should be able to see what the code does WITHOUT the IDE helping.

I guess if my crappy hammer cannot slice and dice and use it as a shovel, it must be a crappy hammer and I am to dumb to see the benefits of said features.
4  Game Development / Newbie & Debugging Questions / Re: Best Database? on: 2012-12-20 11:21:00
Base your storage off of the way you hold your data, not the other way around. Feel me?

If you have something like Minecraft, were you basically have large memory chunks you want to quickly read&write to storage.
Perhaps a memory mapped file is something for you.

But that is for tile information and like. Perhaps for your entities (characters, items, whatever) you would still opt for a db.

Finally, as others mentioned, you have to be aware of size.
Postgres is a great db, but it consumes a lot of space and is not very portable.
H2 and sqlite on the other hand are.

So try to figure out first what you need in every aspect (what has to be stored, how much space do you have, are you running on a client or is there a server, etc pp) and then find something that fulfils those needs.
5  Discussions / Miscellaneous Topics / Re: What music do you listen to while you code? on: 2012-11-28 09:23:48
House music from a Polish online radio station. Mostly because the amount of 'singing' or verbal sounds are limited and those tend to cause mental focus issues for me. Though it should not be void of such sounds, just not constant babbling.
Mind you, I do not speak Polish, I just like their program and you hardly hear any commercials.
6  Games Center / WIP games, tools & toy projects / Re: Far From Home on: 2012-11-08 14:02:01
What kind of game are you going for? I mean a Terraria clone would be one thing, but you could expand in other directions and wind up with a similar, yet different game.

Perhaps a Side-Scroller RPG style game? Because some of the things lacking in Terraria is a level progression, 'roleplay' elements as well as Villages or like.
7  Games Center / WIP games, tools & toy projects / Re: Far From Home on: 2012-11-06 13:26:12
Reminds me of Terraria
8  Discussions / Miscellaneous Topics / Re: Android's best value phone on: 2012-05-25 16:24:36
Samsung Galaxy Gio
9  Discussions / General Discussions / Re: Does really game development on Java suck? Why are we still here? on: 2012-04-12 10:08:35
I love operator overloading.  Looking at bad examples in C++ isn't a proper way to consider the issue.
True, but when considering adding features you must contemplate both good and bad usages as in the end, the feature will be measured by them.

I love operator overloading.
As do I, but I know they can be a blessing and a curse and what where such leads to.
Today, with my 20/20 vision, I would be totally against it.

But overrides are not the only problem. Defines were equally good and bad. IIRC the first Game Programming Gems had an example of how defines could basically be used to create a 'pseudo code' language for AI.
On the other hand, there are the many ugly examples of defines jungle.

Finally, for a language like C/C++, where the developer is basically free to do what he wants, I have no problems with these features.
But in Java, where we do have a more 'restrictive codex', I do not see how it fits.
10  Discussions / General Discussions / Re: Does really game development on Java suck? Why are we still here? on: 2012-04-10 10:20:45
@sproingie: I think OverKill means the ranking position.
I actually rather meant the mess it has become. The first page usually is nothing but a collection of defs, ifdefs, ifndefs and whatnot. Then a file of all kinds of code that you have to figure out for yourself how it all fits together.
Mind you I would love to do more C if they managed to clean it up again and introduce some 'standards' like Java et al have.
And I think the ranking is simply a result of this. Besides that Java is simply a lot more flexible then C/C++.
Not to mention compiles a LOT faster! Cheesy

C# was interesting but had two problems M$ and feature creep. Latter meant that every crazy idea someone said it must have, was added just to keep it 'cool'.
While many think that Java is horribly slow with new features, I personally prefer it that way. Any new addition should be evaluated and 'Javaized' to fit into the specs.
It is kinda like how you write interfaces. You just do not change them constantly because of some new fad.

While I am usually not one of the kind to like to hear this, but I think that if you want new features that do not fit into Java, then it might not be the right language for you.
There are new langauges for the JVM popping up everywhere and perhaps one of those has the feature you are looking for.
But let's not stick some horns on a dog and call it a cow.
11  Discussions / General Discussions / Re: Does really game development on Java suck? Why are we still here? on: 2012-04-02 10:41:43
It'd be great if I could say "everyone's free to make their own choice of language", but it's a na├»ve view of things when you take into account the edicts from customers and managers.  It'd sure be nice if one of the most prominent languages of the world wasn't making "hobble your programmers because they cannot be trusted with power" the byword of project management everywhere.

Given my experience and location, I have a pretty good choice of management environments too, should I need to exercise it, but not everyone's that lucky.  
If you give everyone the freedom, they will use it. Everyone thinks they know how to do things better then everyone else.
That was the demise of c/c++.

see this Dear maintainer entry.

Add in the spec writers giving in to tantrums from language migrators wanting 'features' from every language added, and you will have a mess.

Java is limited, statically defined and whatnot, but that is IMHO a good thing. It means it is reduced to things that EVERYONE can use and understand.
Would I like to see operator overloading? Yes, I could actually use it right now! But I know what could happen if you add it, thus I would rather not have it.
12  Discussions / General Discussions / Re: Does really game development on Java suck? Why are we still here? on: 2012-03-29 09:42:59
This whole Java development page is rather interesting since I used to be a C++ programmer before converting to Java. Java does not suck as a language, the amount of tests and routines I tried on it allows it to be a very good platform for game development. It is very well documented, allows you to deliver games solidly cross-platform, and is easier to use than C++. But, despite this, Java just has a lot of stuff working against it.

1) Most of the world PC's use Windows.

This is really hurtful because Microsoft basically controls the gaming market for PC's. C++ is the language of choice and if you are going to affect 70% of the users, who cares about the 30% who get left behind. This mental picture was painted into a lot of my professors and colleagues minds. Support is just better for gaming in Windows and C++.
If you are making a premium title game, yeah. Otherwise I would be careful.
Macs and Linux have a nice base and are interesting markets.

2) You must do it Java's way...

This is major. You can't avoid the JVM, you can't avoid naming classes with filenames, you can't avoid the GC. Yes, there are ways to improve the performance of Java, but in the end, you end up doing about the same amount of work to cut off time, as you would to build the program from scratch in C++. Indie gamers will flock to it because the concept is easier to grasp than C++. Indie gamers love easy to learn concepts. But, to get the true speed out of Java, you really have to put in the extra effort required for C++/C. I specifically found it rather difficult to argue which language was superior.
Your last line really is the most crucial point. Far to many people do not have the basis to make such a comparison.

Also the bias and habits get in the way.

3) Popups

The one complaint I got from users the most was "Why the pop-up?" People just want fast deployment. Indie gamers usually never take the route of packaging the JVM, making things a lot worse since every time, you'll eat the pop-up. In reality, the "Java is slow" mantra has spread more than just comparing it to C++.

The users are basing it on how long it takes for when you click the application, to when you actually get to run it.

So, if the deployment time is stopped by a loading screen, a certificate pop-up, and a request to download the latest JVM. It doesn't feel as intuitive as just click .exe program and run. Java might be a lot faster in processing speed, but deployment still seems to be tearing Java's sails. Users immediately think pop-up = bad! (thanks a lot spam) so it works against Java.
If your game has a certain size, you could also simply package the jre with the game.

Note that in C++ you could have similar problems. Do you have the runtimes needed? The right gfx drivers? DirectX?
People have no problems doing all this for C++ game, but if they have to do it for Java it is totally unusable all of a sudden?

I continue to use Java because it has a user community that actually cares about the language. Also, you are never short of documentation on how to get something operating. Its connection to Android is really a deal maker, and I think Java should push itself more into gaming platforms (like Playstation & Wii) and phones (iOS) if possible. I hate the fact that people think of Java as niche software for making quick simple applications. Java deserves more than that. It is a very capable language now, and I think if we don't give up on it, it has great potential to be the next C++.
While I no longer really do any game dev, I still use Java for basically everything simply because it can work everywhere and do nearly anything I need.
13  Games Center / WIP games, tools & toy projects / Re: DarkGalaxy on: 2012-03-28 10:12:23
shooting still somehow managed to feel more like a turret than a fighter
In X2/X3 you could add turrets to ships. And you could get ships from tiny with one laser to huge with multiple turrets spewing out clouds of death. Cheesy
Piloting your armada into a Xenon controlled space with a Xenon battleship + escorts was absolutely brilliant and looked like it came straight from Lucas' studios.

I think that if you are going to go with Newtonian physics, using turrets & missiles would be the best path. Your typical 'single seated fighter' would be to much to handle and you would probably opt for capital ships /destroyers / frigates and like.
14  Games Center / WIP games, tools & toy projects / Re: DarkGalaxy on: 2012-03-26 10:41:56
@sproingie Believe it or not but I've never actually played any of the Elite games, I just like the graphical style and space traders in general.

Game play wise I aiming for something closer to privateer (Newtonian physics in space != fun). I was even thinking about dispensing with real time combat altogether in favor of a more JRPG style turn based combat. Although I love space traders (spent many hours playing privateer) the combat is usually rather boring.
IIRC only 'Final Frontier' had Newtonian physics and it was quite a challenge. The first Elite had the arcade style controls.

For Elite inspirations you could also check out, an Elite clone, as well as my beloved X (X2,X3) series @
Though it is a slippery slope from doing an Elite / Freespace style game to a X2/X3 style sandbox game.

Btw, X3 actually had some nice controls that while not quite Newtonian, did go quite some way where if you turned, depending on mass and speed and such, it took some time for your ship to actually start moving in that direction.
15  Discussions / Miscellaneous Topics / Re: Have you ever been Jumped/Beaten up? on: 2012-01-20 10:53:23
Never had a real fight. Came close a few times. Perhaps the reason is I am a geek in the body of a linebacker. Wink Ok, moving more towards lineman now, but you get the picture.

Some things to consider:
While it is good to learn how to defend yourself, in a street fight the rules are different. Go for balls, larynx (note, this could kill someone), nose, solar plexus, liver/kidneys first, then try to break bones (knees are good). A hit in those regions will send most people down for the count.

Look and act mean. All.The.Time. Really. People will jump you if they think they can win. Don't play the pu**y. If someone eyeballs you, give it back.
Just give out the vibe you are one bad arse mofo.

And if you cannot evade the fight, make sure the other pays as well.

Because people can read body language. And you started sending out all the wrong signals.
16  Discussions / General Discussions / Re: Java Lambdas Finalised! on: 2011-12-14 11:00:38
Seriously what is too difficult in doing the following to get similar behavior to multiple inheritance if that is what you want :
Whow, hold yer horsis. What gives you the impression developers of today actually want to write code?
Majical one-liners FTW!
17  Games Center / Featured Games / Re: Starfarer on: 2011-10-06 09:36:16
Finally got around to buying a preorder and besides my issues with my dual monitor setup, it rocks!
18  Discussions / Miscellaneous Topics / Re: Java vs. C# on: 2011-10-04 15:47:26
Come to the dark side.  We have cookies.   Grin

Well, that's hardly a surprise, Scala's got everythingTongue
And in some cases, that is not a good thing!
19  Discussions / Miscellaneous Topics / Re: Java vs. C# on: 2011-09-26 14:22:13
I've been using C# for a few Unity3d projects so far and the more I use it and learn about it, the more I think it is bloated.
It has some nice features here and there, but there's so many and a lot of overlap.
Reading through C# libraries seems quite hard as well, as everything is done in unique ways.
Also, I find myself writing worse code in C#. My choices seems to be based on how short I can write things, rather than readability.
This is exactly the thing wrong with C#, they took Java and tried to throw in all kinds of features.
Now that C# is going down, they want to do the same with features for Java because, wait for it ... C# has them as well. /facepalm

Now besides that, people should take the tool best suited for their needs. If you need gui stuff, take what works best.
It makes no sense to take Java for a GUI just because your server code is based on Java! Same vice versa.
20  Discussions / General Discussions / Re: Java Lambdas Finalised! on: 2011-09-19 15:00:28
So if it does not add anything ... why is it being added? Just so Java can be 'cool'?

I sometimes wonder if people really want to program any more. Just following the next hype that brings nothing to the table except saving people from using the language as it was intended and/or some typing.

If I want to use features from a different language, why don't I just use that language?
21  Discussions / General Discussions / Re: Java Closures Finalised! on: 2011-09-14 09:04:26
I've managed 30 years without needing closures.

Now they're going to co-opt a few more ascii characters to do something that makes not a lot of sense and does even more trickery under the hood. Oh well, not much we can do about it.
Yup. IMHO not much else then 'language x has y feature so we need it to, or else people won't think we are cool'.

Quote from: gouesse
I disagree with a lot of people here. Java is going to become so complicated and remember what happened to C++ in the past... A modern language cannot get all "cool" features, choices have to be made and using several programming languages in a single project should not be a problem. Some languages are better to express of some kinds of things. If a single language tries to express at best anything, it can only become extremely complicated to use. Closures give a (contestable) comfort to some people but Java can live without it.
Agree 100%
People want to turn Java into a different language, one where you don't 'have to type as much'.
22  Discussions / Miscellaneous Topics / Re: Rock stars, banning and cleaning up messages... on: 2011-09-08 08:47:12
The 'poor english' I have also seen from many people from/around India. Dunno why they like to write like that, they just do.

I also find no issues with teletubo's avatar. I have seen (and had) worse.

All in all, the Mods doing their job, which they do great imho!
23  Discussions / General Discussions / Re: Is Java the right way for me to go? on: 2011-08-12 10:48:23
I will be the devils advocate and ask you: what do you want to do?
If you want to focus on front-end development, you could go several different paths. C/C++, Java, Flash, etc.
Each has it's merits and pros/cons.

For back-end development, imho you should go for Java.

Oh and one final word, don't think that choosing one over the other will limit you. One of the most valuable assets for any good programmer is the ability to dig into anything.
Once you can expand your horizons, you can pick up any language or tool-set and use it.
The biggest problem many beginners have is the first step barrier (doing this stuff for the first time). Once you have mounted that step, the rest come a lot easier, as they are often the same thing, just different.
Think of it like an instrument. Once you learned how to play one instrument, learning another or a different style of music becomes easier.
24  Discussions / Miscellaneous Topics / Re: Favorite linux distribution? on: 2011-08-12 10:40:53
Ubuntu for desktops, Debian or Redhat for servers
Similar here, Ubuntu for desktops, Ubuntu server or Debian for servers.

Though I am considering replacing Ubuntu with LinuxMint next chance, mainly due to the desktop nonsense from Ubuntu.
25  Discussions / Business and Project Discussions / Re: how good is your German? on: 2011-07-29 11:19:50
A friend of mine that works at BlueByte just posted this to FB:
Many vacancies for programmers are open in the Online Browser Games department.
26  Discussions / Business and Project Discussions / Re: how good is your German? on: 2011-07-25 15:12:08
There is also BlueByte. But yeah, mostly 'casual' games.

I would not knock it. Unless you area already in the gaming industry, it helps to get your foot inside the door.

I think getting into any high budget game team will be very hard unless you have a proven track record.
The bigger the project, the harder to get in.
27  Discussions / Business and Project Discussions / Re: how good is your German? on: 2011-07-25 10:47:29
Native Speaker.

Gute Deutsch- und Englischkenntnisse in Wort und Schrift
This means you have to know German.
a) In Germany it is typical to list the skills your IDEAL candidate would have. Usually they expect you to have most of the skills, but not all.
b) The IT-Market in Germany is empty and everyone is looking for people.

Given the two above, try your luck!

The rest is the standard stuff you should know from other wanted ads. Rosetta or Google can help you translate.

Do I have to be living in Germany to work for them?
Yes, probably. Some might offer some form of telecommuting but that is something really new here, so I would not bet on it.
Though living in Germany is actually quite nice. Wink

If you would like to know anything more about working in Germany, just post here.

Btw: if you are invited to a face2face interview in Germany, they will pay for your travel (required by law).
Btw 2: if this company is not to your liking but you are still interested in working in Germany, pm me!
28  Discussions / General Discussions / Re: Plagiarism in games (Tetris and so on) on: 2011-05-27 09:54:31
Either via the hosting service if you use one, or your IP->Provider.

You might also want to check out your local laws. f.i. in Germany you HAVE to have such information (Impressum) on your pages or else you can get sued for that alone.
29  Game Development / Game Play & Game Design / Re: Enemy for top down shooter on: 2011-05-24 09:46:42
I think me means like the top-down scrollers where all the enemies fly in patterns past you.
IIRC Commando was also like this.

You basically already have your answer.
Each wave will not only have the entities that move around, it would also have a 'waypoint' system upon which the entities move.
The waypoins would basically be a chain of vectors. i.e. Start @x/y and move to x1/y1, then x2/y2. etc pp.

For the shooting you could just put in a radius around the entity and when the player is in that radius, let the entities shoot with a random chance.
For 'shooting in the general direction' just add a random offset to the xp/yp.

I hope this is what you wanted to know.
30  Discussions / General Discussions / Re: Plagiarism in games (Tetris and so on) on: 2011-05-24 09:41:01
Lol, like anyone on this planet has the balls to piss off China. China just does not care and will do what it want's.

Perhaps you can just put a new spin on the original game and call it 'WTF, there are strange [blocks] falling from the sky!'
Possibly replace the word [blocks] with whatever design you have.
Pages: [1] 2 3 ... 12

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

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (53 views)
2014-04-15 18:08:23

BurntPizza (51 views)
2014-04-15 03:46:01

UprightPath (65 views)
2014-04-14 17:39:50

UprightPath (47 views)
2014-04-14 17:35:47

Porlus (65 views)
2014-04-14 15:48:38

tom_mai78101 (89 views)
2014-04-10 04:04:31

BurntPizza (149 views)
2014-04-08 23:06:04

tom_mai78101 (245 views)
2014-04-05 13:34:39

trollwarrior1 (203 views)
2014-04-04 12:06:45

CJLetsGame (210 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30 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‑
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!