Slick2D is an easy to use set of tools and utilites wrapped around LWJGL OpenGL bindings to make 2D Java game development easier.

learn more… | top users | synonyms

0
votes
1answer
55 views

Slick2D ingoring aplha channel?

When I use the draw method inside a image, it completely ingores the alpha channel and fills it in with white. Is there a way I can draw it where the alpha is see through like it's suppost to be? I ...
0
votes
1answer
388 views

How handle nifty initialization in a Slick2D state based game?

I'm using Slick2D and Nifty GUI. I decided to use a state based approach for my game and since i want to use Nifty GUI, i use the classes NiftyStateBasedGame for the main and ...
3
votes
0answers
94 views

Dynamic “Light Level” System based on alpha levels

My team and I have been working on a game in Java using the Slick2D engine and there are a few things I have questions on. As of right now, the code that I've written basically takes a cosine function ...
1
vote
0answers
58 views

Steering behaviour

So I found this steering behaviour code in a book but i dont really understand the last part of the code what exactly is he doing because im unfamiliar with c++. Why would you need to ...
0
votes
0answers
126 views

Slick 2D jar creation

I recently finished making my game using Slick2D, and now I'm trying to create a jar file to play the game. I looked on the Slick forums, and saw that JarSplice was the recommended program. So I used ...
0
votes
0answers
40 views

External classes positions don't work?

I have an external class which reads the user's mouse clicks. I gave a position where the user have to click, and when the user clicks on that position, it would turn my boolean "mouse" to true. But ...
-2
votes
0answers
32 views

Slick2d: Fullscreen display resolution problem

My computer screen size is: 1920*1080 Problem is when this code: try{ AppGameContainer app=new AppGameContainer(new Game()); app.setDisplayMode(1920, 1080, true); ...