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

Pages: [1]
1
General / Problems starting openGL
« on: December 25, 2010, 07:00:20 am »
I link my sfml games with:

g++ -O3 -s -o "%e".exe "%f" -static  -lsfml-window -lsfml-system -lsfml-graphics -lsfml-audio

It works as of right now.

2
General / Awesome library
« on: December 25, 2010, 06:52:59 am »
Being as it was reasonably difficult to port the game to DirectX using DirectDraw (Limited knowledge), I didn't really consider it a fair comparison. Yet I added it anyways.....

I used SFML version "1.6".

I made a simple pong game and ported it over to those platforms.

It took roughly 6 hours to create and an hour to port. The exception being with DirectX as its structure is way different.

My original intent was not to provide a 100% accurate comparison but to get an idea of the differences in performance.

I am well aware of the flaws in thinking this would be even close to a fair comparison.

The purpose of this thread was basically just to thank the developers.

I would have just removed that part but I didn't want to create a stub of a thread.

3
SFML projects / It's Raining Snow! - A retro-arcade style Christmas game!
« on: December 24, 2010, 08:13:22 pm »
Nice. I couldn't play it because I was missing a couple DLL's but I saw the video of it.

The snow... It burns.

4
General / Awesome library
« on: December 24, 2010, 06:45:20 pm »
I wanted to thank all those developers who created the sfml library.

The only problem I had was I couldn't get static libraries to work but even thats not a big deal.

Its wicked fast compared to the other libraries out there.

As a test I made a simple game to demonstrate framerate differences between the different graphic libraries I tested.

These tests were done on a Windows XP box with a really old nvidia video card.

------------------------------------------

Python and Pygame = 20 to 30 FPS

C++ and SDL = 30 to 50 FPS

C++ and DirectX = 60 to 100 FPS

C++ and SFML = 800 to 1000 FPS

------------------------------------------

I don't understand how SFML could unleash the raw power from my video card while the other libraries I tested couldn't.  I didn't even know my video card could do so much until I found SFML.

On my laptop however I can only get 300 to 400 FPS using SFML but its got an old Intel GMA onboard graphics so thats no surprise.

I will most certainly recommend this library to anyone else who wishes to program games in C++.

Pages: [1]