davidmoten / space-invaders-opengl

Runs the space invaders LWJGL demo as a main or an applet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

space-invaders-opengl

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.

Getting started

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.

About

Runs the space invaders LWJGL demo as a main or an applet


Languages

Language:Java 100.0%