On Fri, Jul 31, 2009 at 12:03 PM, Andre Miller <[email protected]>wrote:
> Hi there, > > I'm just starting out with cocos2d and have noticed something strange. When > I move a sprite (or text) away from the center of the screen it appears that > it is becoming blurred, almost like its out of focus. > > Am I doing something wrong? > > To me the image sample don't really look too much blurred, but yes, it seems to have a little too much grey pixels.lThe grey pixels I assume are coming from the font antialiasing, and from the pyglet machinery to render text: font glyphs are rendered to textures (font objects) then are blited to the viewport (text render). If the pyglet layout dont carefully calcs the glyphs positions in the viewport, it can spread a glyph texture pixel between 2 viewport pixels, introducing additional blurriness. I don't know the pyglet text code details, so I cant tell if really pyglet is at fault. Note that the font is a serif font, that is, has tiny decorations. You can try a sans serif font, which does not have those tiny decorations. Also in general a strong font ( no tiny lines ) can look better. Your code looks fine to me. -- claudio --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
