Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (636)
Games in Android Showcase (178)
games submitted by our members
Games in WIP (685)
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 1192 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.

Dwinin (59 views)
2015-11-07 13:29:08

Rems19 (72 views)
2015-10-31 01:36:56

Rems19 (63 views)
2015-10-31 01:32:37

williamwoles (101 views)
2015-10-23 10:42:59

williamwoles (87 views)
2015-10-23 10:42:45

Jervac_ (102 views)
2015-10-18 23:29:12

DarkCart (128 views)
2015-10-16 00:58:11

KaiHH (112 views)
2015-10-11 14:10:14

KaiHH (148 views)
2015-10-11 13:26:18

BurntPizza (162 views)
2015-10-08 03:11:46
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

Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11 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!