Tagged Questions
0
votes
2answers
72 views
Images not rendering in Slick
I have built a game that uses the Slick framework. The maps are tmx files and were built using TileD. The game iterates through a list of players and maps - once a game with a player and map is ...
4
votes
4answers
384 views
Can a high FPS negatively affect how a program runs?
Yeah I know this is a broad question and will get down rated, I'm just hoping for some answer before it gets closed.
Anyway, I'm using Slick 2D/Java to play around with graphics. I'm having some ...
0
votes
1answer
834 views
Slick2D - Cannot instantiate the type Image
I am getting this strange error and I cannot for the life of me figure out why:
Cannot instantiate the type Image
CODE:
import java.awt.Image;
import org.newdawn.slick.GameContainer;
import ...
1
vote
2answers
577 views
Dynamically load images inside jar
I'm using Slick2d for a game, and while it runs fine in Eclipse, i'm trying to figure out how to make it work when exported to a runnable .jar. I have it set up to where I load every image located in ...
1
vote
1answer
494 views
Using Slick2D/LWJGL to brighten an Image
Using the Slick2D Library for Java, I want to know if there is a way to brighten an instance of org.newdawn.slick.Image. I'm willing to use other image-manipulation libraries if need be.
1
vote
2answers
672 views
How do I set a single pixel of an image in Slick2D?
I would like to set an individual pixel in Slick (i.e Image.setPixel(x, y, r, b, g)) but I can't figure out how.
There is an Image.setPixel function but it doesn't take x and y coordinates. Any ...