Hi Slick Forum!
In order to build a small lightning system I want to edit my tiles. Therefore I want to read the single sprites.
For testing I tried this line in my rend method:
Bildschirmfoto 2012-09-04 um 19.51.33.jpg [ 172.13 KiB | Viewed 543 times ]
It seems that the pixel which are normally not visible are now at the top left corner. Even the FPS display moves. (please ignore scaling differences in the images)
This works fine:
Bildschirmfoto 2012-09-04 um 19.29.33.jpg [ 161.49 KiB | Viewed 543 times ]
In which points are they different? It makes no different if I use getSprite or getSubImage. My parameters are okay, because before using sprites I used to do it with "image.draw()" and it worked fine. I wonder because the getSprite function returns "image" and my source is fine as the second example shows.
Is it a bug?
Which causes this behavior?
I hope you can help me.
Open source isometric engine made with slick: http://wurfelengine.net