About: Slick2D and easy-to understand Code

First of all: Hi, I am new here.

I got some questions, regarding LWJGL and Slick2D:


1. Do I need the permission to sell games done with Slick2D ?
Slick2D isn’t an OpenSource project if I am not mistaken so this might be a stupid question, but I just wanted to make that sure since I don’t really want to get in trouble.

2. Starting off…
I already took a look at the LWJGL Wiki but I kind of got my problems with understanding everything. In my case, I can learn programming languages / scripting languages much easier by going through pre-made code / programs. So my question is: Do you know any Games, written in LWJGL which are, in your eyes, easy to understand for newbies?

Thanks in advance.
(And sorry for not using the Search Function)

Slick2D is an open-source project. :slight_smile:

  1. No, its under a BSD style license. You just need to acknowledge that you use it in the credits as well as lwjgl. Generally you can always sell anything that is Open Source, but some licenses require you to make the source available upon request. BSD has no such requirement.

  2. Easy to understand by nature means a very small example. In which case tutorial code would be the best, like the space invaders example by Kev glass. Kev is also the guy who wrote Slick btw.

Ah, thanks for the replies! This really helped me out.

Anyone know of any good Slick2D tutorial sets? I want to move on to this as well.

Also, has anyone ever used the Tiled Map Editor? http://www.mapeditor.org/

You kinda hijacked this thread… Googling “Slick2D tutorials”, this was the first result tutorials [Slick Wiki]. I’ve looked at Tiled Map Editor, I’ve never used it for a game though. The interface and ease of use is nice but I think it writes the maps as xml so you’d have to parse the xml to get the map.

Sorry :o

Note that if you’re using Slick, it comes with an API to load Tiled maps already - see the TiledMap class.

I went looking over the forums and they are a nice bunch they allow you to download their games source. one particular game Called Crush taught me loads so thanks goes to Lex :D, I’m now currently moving an old game to slick for comparison going well so far :slight_smile: