Before you start
This tutorial, Part 1 of a four-part "Create an Eclipse game plug-in" series, will concentrate on building the framework for a simple shootout video game that can be launched and played inside Eclipse by creating a plug-in, installing it, integrating it with the Task List, and adding some basic visual components with the SWT and OpenGL. You'll develop a simple shoot-'em-up game that will read the computer bugs you've entered on the Tasks view, and blast them to bits. The game will run inside Eclipse as a plug-in that will demonstrate how to write to the Eclipse API, while using the Standard Widget Toolkit (SWT), the Open Graphics Library (OpenGL), and the Lightweight Java Games Library (LWJGL).
In this series, you will be introduced to the basic techniques, tools, and libraries used to create a full-featured Eclipse plug-in that uses the Standard Widget Toolkit (SWT) and OpenGL libraries for providing graphics. Part 1 looks at building the framework for a simple video game that can be launched and played inside Eclipse by creating a plug-in. Part 2 takes the basic framework created in Part 1 and starts adding the actual visual elements using OpenGL. Part 3 adds the actual game elements, enabling the user to interact with the graphics created in Part 2. Part 4 takes everything created in the previous three parts and makes sure it all works.
Here in Part 1, you will be introduced to the Eclipse plug-in architecture and learn how to define your own plug-in using the Eclipse tool itself. You will also begin to leverage the SWT to develop a simple user interface for your plug-in. You'll also create code to demonstrate how to interact with other Eclipse resources -- in this case, the Task List. By the end, you will have a good framework for which to build a simple breakout video game that will work directly in Eclipse; you will add that functionality in the remaining tutorials.
You will need Eclipse V3.2, and a Java compiler and interpreter, V1.4 or higher.

