rotate breakout

Game
The game is basically a simple breakout clone. Instead of a racket you can rotate all blocks

Background
The game is mainly a testcase for my engine. After i spend severeal time(in fact years) programming a half finished game and than restart with a 3D engine i finally want to finish at least a simple game. The game use particleeffects, a scenegraph, collision detection with octree and obj import models.

http://www.henningbrackmann.de/breakoutdist/screenshot.jpp

runnable jar:
windows 32
windows 64
source code:
source code

I’m on a Linux so I could not try :frowning:
JPNL for all systems? Java is afterall easily ported :smiley: Where is your stop-block?

I get an error:

Exception in thread "Thread-2" javax.media.opengl.GLException: java.lang.ArrayIndexOutOfBoundsException: 2
        at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
        at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
        at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
        at com.sun.opengl.util.Animator.display(Animator.java:144)
        at com.sun.opengl.util.Animator$MainLoop.run(Animator.java:181)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 2
        at engine.polygonMesh.obj.ObjParser.loadObjFromFile(ObjParser.java:139)
        at engine.polygonMesh.obj.ObjParser.<init>(ObjParser.java:68)
        at engine.polygonMesh.obj.ObjFactory.createObjParser(ObjFactory.java:40)
        at engine.polygonMesh.obj.ObjLoader.loadObjParser(ObjLoader.java:32)
        at engine.polygonMesh.MeshFactory.createPolygonMeshs(MeshFactory.java:59)
        at engine.sceneGraph.NodeFactory.createPolygonMeshLeaf(NodeFactory.java:196)
        at engine.sceneGraph.NodeFactory.createPolygonMeshLeafColred(NodeFactory.java:172)
        at test.breakout.Breakout.construct(Breakout.java:180)
        at test.breakout.Breakout.access$100(Breakout.java:21)
        at test.breakout.Breakout$1.run(Breakout.java:126)
        at engine.universe.Universe.render(Universe.java:199)
        at engine.utility.engineusage.EngineForm.display(EngineForm.java:124)
        at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
        at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
        at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
        at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:452)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

And then its just a black screen with title bar saying 1000 fps ???

Also I had to use the command-line version of java instead of double clicking, cause I got an error message saying “Could not find the main class. Program will now exit”.

The error is fixed.

Does other runnable jars run on your pc?

I dont know where to download the Linux binarys for the old jog (i guess its 1.1). And i cant Test on Linux.

Applet please!

[quote=“OttoMeier,post:4,topic:35788”]
Use my JNLP file as an example, I use JOGL 1.1.1a.