Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For OpenGL text drawing I use Slick2D library. Default Slick2D 0:0 coordinates are at upper-left corner. But in my project I use bottom-left corner for 0:0. Is it real to configure Slick2D with bottom-left corner as starting point?

share|improve this question
up vote 1 down vote accepted

I extended AngelCodeFont and Image classes to implement text drawing I need.

In AngelCodeFont I updated yoffset for each char:

def.yoffset = lineHeight - def.height - def.yoffset;

where lineHeight was parsed from common line in .fnt file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.