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 - Ulrezaj

Pages: [1]
1
General discussions / Should I go from SDL to SFML?
« on: August 31, 2010, 02:41:54 pm »
Sorry for the doublepost.
I may have misread the documentation of SFML but I didn't find any clipping method for a sprite/image in drawable or the 2 mentionned classes.
Is it named differently?

2
General discussions / Should I go from SDL to SFML?
« on: August 31, 2010, 10:54:27 am »
Thank you very much for your answers that I'm taking in consideration.
I'm doing some last tests and SFML doc read before changing (or not).
Actually, for the pixels, i don't need to change them, just to get the rgba values  : )
As Laurent said it is possible so it's good news!

3
General discussions / Should I go from SDL to SFML?
« on: August 26, 2010, 12:37:40 pm »
Hello everybody!

First of all congrats for the people working on SFML, the library seems very nice. I'm on windows 7 but I saw that with some DLL's it would run on so I guess it's okay ; ) .

I am currently working on a 2D project in C/C++ with SDL and i was wondering to change to SFML since i read some benchmark stuff, and it's oriented object.

The problem for me is not the speed of the library but the weight and the different methods available:

>> I read somewhere that sf::Image is a heavy class, does this mean that I can't load many pictures on the screen? Or maybe I didn't understand  correctly what did you mean.

>>Are there any methods to extract a pixel from a picture (virtual or not (displayed or not)) and get the R,G,B,Alpha values like SDL_GetRGB does?

>>Is the blitting method (with clip etc.) and the key-event management work close to what SDL was doing?

>>Would you suggest me really to change my implementation and go from SDL to SFML? (since it'll require some time to reorganize all the stuff!)

I just passed through the documentation so I'm not that informed yet : ).

Regards

Pages: [1]