Tagged Questions
0
votes
0answers
23 views
How can I find the pixel color of a given position in a SlickUtils Texture?
I'm making a mini-map system for my tile based game, and I thought the best way to accomplish this would be the following: at the beginning of the game, I calculate the predominant color of every ...
1
vote
1answer
265 views
Texture switching with a entity system
I'm using thinking of using an entity system in my game. So far I've been using Artemis with success. However, I have a question about texture switching. I read that switching textures too often is ...
2
votes
1answer
504 views
How do I get the alpha level at a specific pixel with Slick 2D?
I know that there is the Texture.getTextureData() method, and that it returns a byte[], but I have no idea how I could use this data to find the color data at a specific pixel.