Demonstrates how to use java for hardware accelerated graphics using the OpenGL standard via the LWJGL java wrapper.
Status: working demo
The source code originated here but was not in a useful form to experiment with so this project was created.
To run from the command line:
git clone https://github.com/davidmoten/space-invaders-opengl.git
cd space-invaders-opengl
mvn test exec:java
To start full screen (texture mapping is cool!):
mvn test exec:java -DfullScreen=true
To run in Eclipse as an applet:
- Import the project into Eclipse using File - Import - Maven - Existing projects
- Then in Package Explorer select the
space-invaders-opengl
project, click right mouse button and Run As - Applet.