Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (669)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (727)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Request for guidance  (Read 1252 times)
0 Members and 1 Guest are viewing this topic.
Offline tristanb

Junior Newbie

Java games rock!

« Posted 2005-02-24 20:13:43 »

Good evening,

I am an experienced Windows/DirectX/C++ programmer who moved to Linux/OpenGL/Java. Quite new on this terrain I do this request for guidance, hoping that you might lead the way.

Which API is best for input-devices?

Which API is best for sound-devices?

Which libraries should I use for quick 2d/3d-math-operations?

How are finished projects distributed? Jar?

Where can I find hints about java-code-optimization and performance-issues?

Please be so kind and provide me with catchwords, so I might deepen my research.

Good night and thanks in advance.
Offline weston
« Reply #1 - Posted 2005-02-26 19:07:16 »

check out for access to: Audio (OpenAL), Input, 3D graphics (OpenGL (which can be used for 2D graphics)).  As for the math, I believe there are a few things in lwjgl for doing that sort of thing. You may also be interested in checking out JOGL, JOAL, and JInput if you are interested in seeing some alternative libraries.

Finished projects, thats sort of an in depth question, but the short answer is that you can use java webstart or an applet (depends on what your doing) or natively compile it, or use a native installer to hide the java stuff from your user and just let them interact with shortcuts.

Performance issues: read through some posts on the 'Performance Tuning' forum. If your worried about the garbage collector (seems like most people are afraid of that when considering java...) the key is to just not make tons of objects in every iteration of your main loop, theres no need to do it. There are also ways to tune the GC if it still ends up being a problem; you'll find info on this in the forum I mentioned previously.

if you are just starting opengl as well, then check out and when you are ready to start using it with lwjgl (if you choose to use lwjgl that is, otherwise I'm sure there are jogl resources around).

As for learning java, get a good book on the basics and then google and the java documentation will be your best friend from there Grin

Good Luck!

for(int i = 1; i > 0; i++)
     System.out.println(i+" cups of java downed");
Offline weston
« Reply #2 - Posted 2005-02-26 19:09:02 »

Also: you have a lot to learn, don't even bother looking into performance stuff until it becomes a problem for you.

for(int i = 1; i > 0; i++)
     System.out.println(i+" cups of java downed");
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline CaptainJester

JGO Knight

Medals: 12
Projects: 2
Exp: 14 years

Make it work; make it better.

« Reply #3 - Posted 2005-02-27 01:28:27 »

Before you do anthing else, you should do The Java Tutorial( from front to back.  It will teach a lot about the language and its libraries.
LWJGL( is specifically directed to game creation.  It has graphics(OpenGL), sound(OpenAL), input(platform dependent) and timers and some other small utilities.

JOGL/JOAL/JInput is more general purpose.  However, people have also made games with them.

Also don't worry about optimizations until your program is running slow and you need them.  Trying to second guess the compiler and the garbage collector can only lead to trouble.

Offline tristanb

Junior Newbie

Java games rock!

« Reply #4 - Posted 2005-02-27 10:44:23 »

Thank you very much for your kind replies.

Unfortunately I did not make clear that I am not a java-newbie. I am new into  using java to create games.
Offline tom
« Reply #5 - Posted 2005-02-27 11:32:23 »


Which libraries should I use for quick 2d/3d-math-operations?

Have a look at javax.vecmath. It's part of Java3D. There is also a free third party implementation if your worried about licencing.

Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

IanParcs (34 views)
2016-04-18 14:18:53

KaiHH (34 views)
2016-04-18 08:35:41

KaiHH (66 views)
2016-04-15 12:43:58

theagentd (64 views)
2016-04-14 02:16:17

theagentd (71 views)
2016-04-14 02:15:43

IanParcs (65 views)
2016-04-12 03:51:16

IanParcs (35 views)
2016-04-12 03:50:03

IanParcs (32 views)
2016-04-12 03:49:54

IanParcs (27 views)
2016-04-12 03:49:52

IanParcs (36 views)
2016-04-12 03:49:52
List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48 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!