I developed my first computer game with Slick2d game engine. Yey! This post, and (maybe) the following posts will show how I created the game. For now, let's start with setting up the development environment.
First, you need to download the following libraries:
- Slick2d Library from http://slick.cokeandcode.com/
- LWJGL from http://lwjgl.org/
- I assume you have your Eclipse installed on your computer, if not download Eclipse from http://www.eclipse.org/downloads.
Open your Eclipse and start a new Java Project
- Go to File->New->Java Project. New project window will open. After giving name to the project (in this case "Project1"), click "Finish".
![](http://4.bp.blogspot.com/-4DUHrhvW-w4/Tm3P1-KJKcI/AAAAAAAAAGc/4Bw957ktST8/s320/new%2Bproject.png)
- Select "Java Build Path", then "Libraries" tab, then "Add External JARs". Locate and add the lwjgl.jar and slick.jar files.
- Now, it's time to set up the lwjgl natives. Click the arrow beside the lwjgl.jar then select "Native Library Location". Locate the lwjgl folder, open the natives folder and choose the native that is appropriate for your OS.
And that's it, we're done! You may now try to create slick2d games.