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

I have a Orthographic camera. I have a fixed landscape texture and a texture for a moveable object. If the object moves to the right the camera will also move with the object.

When I also draw an score text that should have fixed position on the screen, that score text position will be update too if the camera's position gets updated so that it looks like that it is fixed on the screen. But if I do that, I have some edge flickering at the text object. I'am using SpriteBatch!

Is there another approach to implement a fixed positioned object on the screen?

share|improve this question
Ok, I only had to create a second spritebatch for the score text. – Matthias Reisner Sep 15 '12 at 15:06
is this for computers or phones? – iQue Sep 15 '12 at 17:12
up vote 2 down vote accepted

I only hat to set a filter for the texture.

Pseudo: texture.setFilter(Linera_Filter, Linear_Filter)

share|improve this answer
Accept this as the correct answer when you get the chance. :) – doppelgreener Sep 16 '12 at 11:34

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.