Slick Forums
http://slick.ninjacave.com/forum/

How to make a distributable game
http://slick.ninjacave.com/forum/viewtopic.php?f=13&t=5038
Page 1 of 1

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

Hi,

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:
http://slick.javaunlimited.net/viewtopic.php?p=19877

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
http://www.phpbb.com/