Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

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. :) –  Jonathan Hobbs Sep 16 '12 at 11:34
add comment

Your Answer

 
discard

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.