Slick Forums

How to make a distributable game
Page 1 of 1

Author:  mateiuli [ Wed May 30, 2012 1:57 pm ]
Post subject:  How to make a distributable game


I am new to Slick and Java and I made a simple 2D game that uses few .png, and some .xml files.
All those files are placed in a folder called 'data', just like in Spiegel Tutorials.
The game works fine if I run it from Eclipse, but I want to give the game to friends. I have exported it into a runnable .jar but when I double click the file the game doesn't start.
How can I make a distributable version?

Author:  AtomizerZero [ Thu May 31, 2012 8:05 am ]
Post subject:  Re: How to make a distributable game

Read the second post here for a guide:

One thing to note, use the lwjgl.jar from the lwjgl folder, and not from the slick one. Other than that, follow the guide as best as possible, and it should work.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group