3D Pong Clone

by wazz
Simple Pong clone, where you (blue) one needs to score 10 goals against simple AI (red). Instead of rectangle shape paddles, I used circular ones. Each hit against ball makes it go faster. Uses Java and OpenGL 2.0.

Use WASD to move your paddle around. Use cursor keys or WASD and [ENTER] to navigate through menu. No mouse and sound (did not had time) implemented.

Comments5

pattb01128 Mar 2015, 19:51
Wow! I really enjoyed this.
The graphics are brilliant. Retro-like and 3D.
I really enjoy the way that scores are shown and the goals are obvious and not too hard to score into.
The Menu is simple, which is a good thing, though it could do with some controls-manual in-game although I see you have them above.

Other than that. Great job, A well made, simple, enjoyable entry.
scorched
scorched29 Mar 2015, 17:37
Good graphics, I should have added some colored lights to my game :-)
SpaceEmotion30 Mar 2015, 19:36
I am sadly getting an exception when starting the game:

Catched MalformedURLException: Could not open InputStream for URL 'rsrc:gluegen-rt-natives-macosx-universal.jar', while addNativeJarLibsImpl(classFromJavaJar class com.jogamp.common.os.Platform, classJarURI jar:rsrc:gluegen-rt.jar!/com/jogamp/common/os/Platform.class, nativeJarBaseName gluegen-rt-natives-macosx-universal.jar): [ rsrc:gluegen-rt.jar -> rsrc: ] + gluegen-rt-natives-macosx-universal.jar -> slim: jar:rsrc:gluegen-rt-natives-macosx-universal.jar!/
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /System/Library/Frameworks/gluegen-rt.Framework/gluegen-rt
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1083)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:551)
at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:64)
at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:96)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:414)
at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:388)
at com.jogamp.common.os.Platform$1.run(Platform.java:209)
at java.security.AccessController.doPrivileged(Native Method)
at com.jogamp.common.os.Platform.<clinit>(Platform.java:179)
at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:83)
at main.GameLoop.<init>(GameLoop.java:108)
at main.GameLoop.main(GameLoop.java:78)
... 5 more

But it certainly looks good!
tito7615 Jul 2017, 10:19
Reupload please? :P

Other games by @wazz

Found a bug?
Tell us on Discord