What to use when making a game?
Hi,
I'm new to JAVA gaming but I was looking to making a bomberman like game in JAVA. I've been searching the web for ways to start programming this game, but there are so many different ways that I'm confused, what to use.
I want to create a client/server system with simpel 2D graphics.
Should I use sockets or TCP or UDP, or something else for the networking? And does anybody have any idea how fast it can be?
Furthermore what shoudl I use for the graphics. Just basic JAVA or JAVA 2D or something else? Is there a way to use hardware? Does using JAVA 2D mean the users needs to download this before he/she can play?
Is Webstart any good, so users can instanly download everyhting the game needs?
Maybe you guys can point me to some helpfull information on the net?
Or maybe some examples to start with.
Hope you can help and thanks in advance?
[906 byte] By [
RXBMana] at [2007-9-29 7:01:36]

I am not an expert at Networking, never tried it really, just read a lot of books about it; and apparently you need UDP as the protocol checks whether the packet has arrived or not.
As for Java2D, the users must have JDK1.2 or higher. So if they have an older version, then yes, then need to download about 8Mb.
As for speed, in 1.4.1 its GOOD. For an applet ofcourse (don't know about applications). However, you do need a decient hardware to run.
Read a book called "Black Art of Java Game Programming". Altough it is old (JDK 1.1) it is still relevant.
Hope that helps!!
> I am not an expert at Networking, never tried it
> really, just read a lot of books about it; and
> apparently you need UDP as the protocol checks whether
> the packet has arrived or not.
Erm, no - UDP is fast because it *doesn't* check. TCP is slow(er) but consistent.
> As for speed, in 1.4.1 its GOOD. For an applet
> ofcourse (don't know about applications). However, you
> do need a decient hardware to run.
Did you mean that the other way round? Apps are pretty much always faster than applets.
To the point - look at the java AWT / java2d tutorials, and use google
Thanks for the answers so far, guys.
I have already made a little client and server program, using simple sockets (TCP) and it seems to work quit well. don't know if there will be any troubles later on though :-)
Furthermore since this will be a simple 2D game I think the standard JAVA routines will be fast enough, although I still need to test that.
I read somewhere that you can use hardware acceleration with the latest JDK, is this true?
Thanks again...