Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mrAndersen

Pages: [1]
1
Graphics / Fill sf::Sprite with constant color
« on: November 24, 2017, 12:43:52 pm »
Hi! I have some problems changing color of sf::Sprite. As said in manual - i can multiply sprite color by some value with sprite->setColor(...) this is perfectly fine, until i want full sprite to be specific color.

In other words. How i can change all pixels of sf::Sprite that are not transparent to specific RGB value on an existing sprite?

2
General / Re: Font problems
« on: November 22, 2017, 08:13:56 pm »
You need to render the text at integer positions. Make sure your view is zoomed at a good factor or not at all and is moved only at integer positions or not at all.

Thanks a lot! That solved problem completely!

3
General / Font problems
« on: November 22, 2017, 07:24:47 pm »
Hi! I am developing some small game with SFML, and OpenSans seems to draw not so good as intended to. Here is some screens with 14px Regular and 14px Light versions. First problem i see here is some cut off near bottom of the strings, and of course some strange blur maybe...

Regular

Light

Pages: [1]