forked fromBrugernavnTaken/OOSE2015
- Notifications
You must be signed in to change notification settings - Fork0
Starting seed for a Slick2D project using Eclipse
License
NotificationsYou must be signed in to change notification settings
joshzambales/OOSE-LunarLander
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This an eclipse project containing all the files necessary to begin developing games withSlick 2D. You can fork this repository, clone it on your disk and start to work in Eclipse.
After having cloned the repository to your disk you have to follow these few steps:
- Open Eclipse.
- Create a new java project selecting the local cloned folder.
- Right-click on the project and selectProperties.
- Click onJava Build Path.
- Expandlwjgl.jar.
- SelectNatives Library Location and click theEdit button.
- Click theWorkspace button.
- Select thenative folder in your project.
- ClickOK until you get back to the default eclipse window.
- SelectSimpleSlickGame.java from thePackage Explorer and press play to check it it works.
To generate an executable version of the game you will need to useJarSplice and follow these steps:
- Right-click on the project and selectExport.
- Click onJava and selectRunnable JAR File.
- Select your main class in theLunch configuration drop-down menu.
- SelectExtract required libraries into generated JAR and press theFinish button.
- DownloadJarSplice athttp://ninjacave.com/jarsplice and execute it (double-click on it).
- Select1) ADD JARS, press theAdd Jar(s) button in the bottom and select the previously exported JAR file.
- Select2) ADD NATIVES, press theAdd Native(s) button in the bottom, go to you projectsnative library and select all the files inside it.
- Select3) MAIN CLASS, and in theEnter Main Class area type in the name of your main class including the name of the package (e.g. examples.SimpleSlickGame).
- Select4) CREATE FAT JAR and press theCreate Fat Jar button.
- The Jar you generated can be distributed and played on Windows, Linux and Mac.
About
Starting seed for a Slick2D project using Eclipse
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Languages
- Java100.0%