I'm getting crazy trying to draw a very simple rect and a text in order to just understand how it works with the slick 2d java library.
This is what I try:
g.setColor(Color.green);
g.fillRect(50, 50, 50 ,50);
g.setColor(Color.orange);
g.drawString("Write something", 100, 100);
I just got to have everything I draw either in green or orange, but not one green and the other orange, as I would like to do...
Can someone help me to figure this out ???
Many thanks in advance