The Slick2D graphic engine and utility collection is meant to make the development of games using LWJGL easier.
-3
votes
1answer
76 views
2D Game Engines [closed]
I'm a computer science student and I recent completed a module based on the development of 2D and 3D games.
I want to develop a 2D game in java as a personal project, the library we worked with ...
-3
votes
1answer
91 views
How to reference or connect a variable to another class without stack overflow? [closed]
I really need to re-arrange all my functions. I created a class. All my var, booleans, int, doubles and other things. I created every new variable so they can reference it and so they don't have an ...
-3
votes
1answer
74 views
Why does my text is shown below an image? [closed]
My text is below an Image but my other text is above the image. I can't find out why. It just have an if statement.
if(renderText==false)
{
g.drawString("heelo", 300, 600);
}
Even ...
-5
votes
2answers
142 views
How to stop reducing life? [closed]
CODE
Input input = gc.getInput();
int xpos = Mouse.getX();
int ypos = Mouse.getY();
emu = "Enemy Life : " + enemyLife;
Life = "Your Life Is" + life;
...
-5
votes
1answer
65 views
Help, i cant reference my vars! [closed]
I have a sub-class(let's call it sub) and it contains all the function of an object in my game. In my main class(Let's call it main), i connect my sub to main. (Example sub
Code:
s = new sub();
...
-6
votes
1answer
331 views
How to remove the FPS text on slick2d?
How do I remove the frame rate text on the upper left corner?
-6
votes
1answer
102 views
Is it the class that slows down the game? [closed]
My framerate lastime exceeds 1000 now the highest is 15. I have thousands lines of code in one class(I was still fresh last time and did not think of putting it in another class) Is it the class that ...