Basic Setup

From Slick2D Wiki
Revision as of 05:05, 20 June 2013 by Shpitzick (Talk | contribs) (Created page with "==Basic Setup== 1.Download Slick2D from [http://slick.ninjacave.com/slick.zip here] and LWJGL from [http://lwjgl.org/download.php here]. 2.Create a library in your [http://en....")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Basic Setup

1.Download Slick2D from here and LWJGL from here. 2.Create a library in your IDE, call it however you want! 3.Include slick.jar (under the lib folder inside the slick.zip file), lwjgl.jar (under the jar folder inside the lwjgl.zip file) and lwjgl-util (again, under the jar folder inside the lwjgl.zip file). 4.Create a new project in your IDE and add the library you created. 5.Extract the native folder from the lwjgl.zip file. 6.Go to your project properties (yeah, the one you created with me) and add the natives path. But how?

Adding natives in NetBeans

1.Right click your project -> properties 2.Select the run category. 3.Enter the following into VMOptions: -Djava.library.path=<lwjgl-X.X path>/native/<linux|macosx|solaris|windows> (complete needed) 4.Cheer.