Hi, i'm an avid developer currently working on a 2d mmorpg.
along my travels i have come to rest on the wonderful api that is SFML.
now i just wish to post a few troubles i've had with the engine
Firstly, decimals and rendering.
when drawing to the screen, the float x and y should be cast to int.
why?
well, if you don't you'll experience strange rendering, positional and tearing glitches. where part of the sprite tears, or is compressed.
IMHO this should be fixed, as for me atleast it was confusing that when i started moving my characters they all of a suden became distorted.
this should ALSO be applied to view co-ordinates, as this has the same effect.
I would also ask, why sprite's require float X and Y coordinates, as from my experience you cant have half a pixel on the screen, as that doesn't make any sense.
If float variables are needed, atleast have an option when drawing to use non-rounded variables, or explicitly in the documentation refer to this drawing behaviour.
Another issue i have had with SFML is the font system, which in my opinion is a bit retarded...
firstly, i don't see why you couldnt just add an option to disable smoothing for sprites, it took me all of 2 minutes to add the code to the SVN release. 2 MINUTES, and it fit into the rest of the API
font->SetSmooth(bool Smooth);
Heres the code if you are indeed to busy
(goes into font.hpp)
void SetSmooth(bool Smooth);
(goes into font.cpp)
void Font::SetSmooth(bool Smooth){
texture->SetSmooth(Smooth);
}
i mean, really?
Other then this i have no REAL issue with the engine, it has done what it was supposed to do, at perfect speeds.
and to this i thank you Laurent
as i'm sure most of the SFML community does.
Please Reply people if you would like to point out my stupidity, i love to learn and love criticism