HoloRacer Screenshot Intended to be the fastest racing game possible

Holoracer is intended to be the fastest racing game possible. Based on the game Trailblazer, it is designed to be fast and furious with psychadelic graphics with incredible speed. Also includes network play.

License: free
Requirements: java

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
noyesnononoyesyes
Suggest an update

Comments

Re: HoloRacer posted by gouessej on Oct 24 2007 12:00 PM
What about using Java Web Start? It would be easier to launch your game and if you need some help, you can look at my own config files.

Do you plan to use JOGL? It would be quicker.

Re: HoloRacer posted by gouessej on Oct 24 2007 12:05 PM
You're already using JOGL but an old version. You would have better performance if you used JDK 1.6 with JOGL 1.1.0 (the current stable release). I will try your game tonight if possible.
Re: HoloRacer posted by gouessej on Oct 24 2007 12:08 PM
In Canvas3D.java I saw this :

import net.java.games.jogl.*; import net.java.games.jogl.util.*;

You're using JOGL. Why do you say that you use LWJGL?

Re: HoloRacer posted by gouessej on Oct 27 2007 11:24 AM
I got this when I launch your game under Linux by using start.sh :
Exception in thread "main" java.lang.UnsatisfiedLinkError: net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT0(Ljava/nio/Buffer;)Z at net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT0(Native Method) at net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT(JAWTFactory.java:37) at net.java.games.jogl.impl.NativeLibLoader$1.run(NativeLibLoader.java:78) at java.security.AccessController.doPrivileged(Native Method) at net.java.games.jogl.impl.NativeLibLoader.load(NativeLibLoader.java:58) at net.java.games.jogl.impl.x11.X11GLContextFactory.(X11GLContextFactory.java:50) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at net.java.games.jogl.impl.GLContextFactory.getFactory(GLContextFactory.java:69) at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:150) at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:118) at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:85) at ssmith.opengl.Canvas3D.getGLCanvas(Canvas3D.java:287) at ssmith.opengl.Canvas3D.(Canvas3D.java:57) at holoracer.MainWindow.(MainWindow.java:64) at holoracer.Main.(Main.java:35) at holoracer.Main.main(Main.java:54)

I think that's because I don't use the same version of JOGL. Is there another reason?
So there are still braindead people who write 3d `games' in java?
Re: heh posted by creichen on Sep 12 2006 9:36 AM
May I be so bold as to ask what property of Java would make it unsuitable for writing 3D games?
Re: heh posted by komakino on Sep 12 2006 9:36 AM
Yep, people like Oddlabs who make Tribal Trouble. Java, when well programmed, is perfectly capable of decent 3D performance.
Re: heh posted by anonymous on Sep 12 2006 10:19 AM
To the original author: The opinion that Java is kind of slow isn't true anymore. Java perfomance increased a lot in the last years.

To the author of the previous post: Now that you mention Tribal Trouble I would like to post an email from one of the developers. I asked them whether TT was completely written in Java because I discuss a lot with my collegues about crossplattform development. I also always try to point out that java isn't slow anymore and try to prove it with mentioning TT.

Here is the answer:

Hi Silvio,

The short answer is yes, everything is written in java. The long answer is that _almost_ everything is written in java. In particular we've had to use LWJGL (http://lwjgl.org) to access certain native APIs that java doesn't have builtin. These include OpenGL for 3d rendering and OpenAL for sound and music. LWJGL is simply a glue layer and only contains the absolute minimal amount of native C code to access the APIs through JNI. It doesn't contain any logic, so it's safe to say that everything is java. For example, this is the java method for glDrawElements in GL11.java:

public static void glDrawElements(int mode, IntBuffer indices) { long function_pointer = GLContext.getCapabilities().GL11_glDrawElements_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureElementVBOdisabled(); BufferChecks.checkDirect(indices); nglDrawElements(mode, (indices.remaining()), GL11.GL_UNSIGNED_INT, indices, indices.position() << 2, function_pointer); }

and this is the native C part of it:

JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL11_nglDrawElements(JNIEnv *env, jclass clazz, jint mode, jint count, jint type, jobject indices, jint indices_position, jlong function_pointer) { const GLvoid *indices_address = ((const GLvoid *)(((char *) (*env)->GetDirectBufferAddress(env, indices)) + indices_position)); glDrawElementsPROC glDrawElements = (glDrawElementsPROC) ((intptr_t)function_pointer); glDrawElements(mode, count, type, indices_address); }

That's the general pattern of all OpenGL and OpenAL functions.

Regards,
Elias Naur
Oddlabs ApS
Re: heh posted by anonymous on Sep 12 2006 11:36 AM
i'd say java is an ideal language to write 3d games in, especially with fast opengl bindings like LWJGL.

any one dismissing a game because its written in java doesn't really know what they are talking about and their arguments are usually out of date by about 10 years.

Java game programming posted by jrodman on Sep 12 2006 2:19 PM

The usual problem with java as a game development language isn't that the JVM executes the code slowly. The problems are that the language is fat and verbose, which slows down development compared to other virtualized languages, the libraries are often poorly implemented, and that the behavior of the JVM, combined with poor libraries and a low quality culture of coding practices leads to incredibly bloated memory use.

The only unavoidable problem here is the language verbosity, and since most game developers are selecting among C, C++, and Java (when considering Java), Java doesn't lose by much. It's perfectly possible to be very circumspect about your library choices, and it's possible to not blindly use foolish development practices (eg. pattern madness). Game development where performance matters (like 3d work) should tend to enforce this kind of rigor.

Unfortunately there are plenty of Java games that underline that it is all too common to fail to make such good choices when there is no enforcing rigor. Sillysoft's Risk clone for java (the name escapes me) cannot manage to simply play some bitmap animations and a few mixed sounds on a p3-900mhz class machine. This is stuff that was accomplished on 8mhz computers.

Re: Java game programming posted by anonymous on Sep 12 2006 4:32 PM
must say the some of the libraries in java are a little bloated for game development as the risk clone you mention, but the cool thing with bindings like LWJGL is that they provide you with every that you need so its entirely possible to write a good 3d game using nothing but the base jre. Another great thing is projects like GCJ have matured to a level were its now possible to compile your entire app into native code a good example of this would be the commercial game http://www.tiltilation.com . IMO the future looks bright for java gaming.
Re: heh posted by gouessej on Oct 24 2007 11:58 AM
Yes there are still people writing games in Java and he can be proud of the result.
Re: heh posted by anonymous on Nov 2 2007 9:43 AM
Java is still much, much, much better than mono.
Re: heh posted by anonymous on Nov 2 2007 6:41 PM
Ah. So by this scientific metric, Java is 3 "Much"es better than Mono. *scribbles a note* Thanks, that will come in handy.
Made my head hurt a little, but it was fun.
Right now it's using all my processor time (not good), any way to compile this myself to try to squezze out some more performance from it ?
Re: How do you compile it ? posted by anonymous on Sep 13 2006 5:38 AM
compiling with something like GCC (GCJ) won't really give you better performance as the jre already does lots of optimisations, but what will give you a good performance boost is if you upgrade to the latest java 6.0, it has some damn good speed boosts, its still beta though but being a linux users i'm sure you wont' mind :)
Re: How do you compile it ? posted by Draconishinobi on Sep 13 2006 11:11 AM
Betas ... ok, alphas .. no way ;)

Log in or register to rate this game or post a comment.