SFML community forums

General => General discussions => Topic started by: Laurent on April 29, 2013, 07:44:37 pm

Title: SFML 2 and its new website released
Post by: Laurent on April 29, 2013, 07:44:37 pm
Yeah, finally ;D


For feedback about the website, please post here:
http://en.sfml-dev.org/forums/index.php?topic=11300.0
Title: Re: SFML 2 and its new website released
Post by: netrick on April 29, 2013, 07:53:25 pm
Easily the most beautiful website I've ever seen. Amazing!
Also, big + for using Ubuntu font - the website looks so great on Linux.
Title: Re: SFML 2 and its new website released
Post by: SpectreNectar on April 29, 2013, 08:01:11 pm
What a wonderful surprise to find the site suddenly refreshing itself ^^ Beautiful job.

...and yay for 2.0 being officially completed!
Title: Re: SFML 2 and its new website released
Post by: kloffy on April 29, 2013, 08:01:58 pm
Congratulations, excellent work!
Title: Re: SFML 2 and its new website released
Post by: danijmn on April 29, 2013, 08:34:17 pm
Many thanks, you've done some wonderful work!
Title: Re: SFML 2 and its new website released
Post by: Nexus on April 29, 2013, 08:34:40 pm
Very nice! :D
Title: Re: SFML 2 and its new website released
Post by: Grimshaw on April 29, 2013, 08:51:24 pm
Congratulations Laurent! I bet you're very happy today :D
Title: Re: SFML 2 and its new website released
Post by: G. on April 29, 2013, 09:21:48 pm
Very neat. :)
Title: Re: SFML 2 and its new website released
Post by: china92 on April 29, 2013, 09:23:23 pm
Site looks awesome, great job, keep it up! :)
Title: Re: SFML 2 and its new website released
Post by: matkod on April 29, 2013, 09:38:06 pm
nice and clean =D
Title: Re: SFML 2 and its new website released
Post by: vanpet on April 29, 2013, 09:46:49 pm
Félicitations! It's really good! Suddenly the forum looks a bit old in comparison (with the old logo) but that's a small thing compared to the excellent work you've done!
Title: Re: SFML 2 and its new website released
Post by: GarrickW on April 29, 2013, 09:47:35 pm
Congratulations!

Also, Android support?  I think I'm in love, even if it's just "soon."
Title: Re: SFML 2 and its new website released
Post by: Tank on April 29, 2013, 10:12:09 pm
Congratulations to Laurent and all contributors for the 2.0 release. The website is awesome -- simple and clean.
Title: Re: SFML 2 and its new website released
Post by: G. on April 29, 2013, 10:22:03 pm
Is "old-forum" dead for ever now?
Title: Re: SFML 2 and its new website released
Post by: eXpl0it3r on April 29, 2013, 10:25:28 pm
YEY! :D
Looks great! :)
Title: Re: SFML 2 and its new website released
Post by: Laurent on April 29, 2013, 10:42:20 pm
Yes, old forum and wiki are gone.

Some news for the near future:
- SFML 2.1 will be released as quickly as possible and be a bug fix release
- SFML 2.2 should add support for iOS, I'm already working on it
Title: Re: SFML 2 and its new website released
Post by: eXpl0it3r on April 29, 2013, 10:48:58 pm
- SFML 2.2 should add support for iOS, I'm already working on it
What about Android?!!  :o
Title: Re: SFML 2 and its new website released
Post by: ptchaos on April 29, 2013, 11:17:11 pm
Really nice layout.
Congratulations on the final release of 2.0   :D
Title: Re: SFML 2 and its new website released
Post by: The Terminator on April 29, 2013, 11:42:31 pm
Omg omg omg beautiful.
Title: Re: SFML 2 and its new website released
Post by: Laurent on April 29, 2013, 11:50:42 pm
Quote
What about Android?!!
I can't do both at the same time... but don't worry.
Title: Re: SFML 2 and its new website released
Post by: eXpl0it3r on April 29, 2013, 11:55:06 pm
Quote
What about Android?!!
I can't do both at the same time... but don't worry.
But Android >>>>>> iOS. :P
Yeah, don't worry, I'm patient. :)
Title: Re: SFML 2 and its new website released
Post by: DJuego on April 30, 2013, 12:06:44 am
¡Felicidades Laurent!. ¡Un estupendo sitio para una estupenda librería!  ;)
¡Muy feliz por todos nosotros!

DJuego

Congratulations Laurent!. A cool website for a cool library!  ;)
Very Happy for us all!!  ;D

DJuego
Title: Re: SFML 2 and its new website released
Post by: eigenbom on April 30, 2013, 12:48:15 am
Quote
What about Android?!!
I can't do both at the same time... but don't worry.
But Android >>>>>> iOS. :P
Yeah, don't worry, I'm patient. :)

Nope. iOS >>>>>>>>>>>>>>>>>>>>>>>>> Android.  ;D Ooh I'm very excited about the iOS version... :O
Title: Re: SFML 2 and its new website released
Post by: fstream on April 30, 2013, 01:16:47 am
Quote
What about Android?!!
I can't do both at the same time... but don't worry.
I'm sure there is a huge bunch of people eager to assist you in making SFML work on Android (and other platforms)! :)
Title: Re: SFML 2 and its new website released
Post by: Sonkun on April 30, 2013, 01:26:14 am
I already started porting SFML to Android (and Raspberry Pi btw) and I'm having the entire framework working except the network module which hasn't yet been ported. https://github.com/Sonkun/esfml (branch Android)

As for SFML 2.2, I think you should focus on adding support for OpenGL ES 1.1 first, as it doesn't take much effort (OpenGL ES 1.1 being close to OpenGL 2.x).

A iOS port needs OpenGL ES 1.x supported and won't be possible without redesigning the entire window module. In my humble opinion, you should keep this huge API break for SFML3.0 and concentrate on adding interesting features such a video module, signal&slot to the system module, etc. and all this stuff  without breaking the API.
Title: Re: SFML 2 and its new website released
Post by: Yuraj on April 30, 2013, 01:30:00 am
Hi,
Thanks for v2.0, nice!  :)

BTW: I am using .net binding but you have mistake on website in .net 32bit binding link - sfml-dev.org/download/sfml.net/SFML.Net-2.0-32bits.zip
Title: Re: SFML 2 and its new website released
Post by: eXpl0it3r on April 30, 2013, 02:03:09 am
I'm kinda missing a feature list. If you send a new user to the website and ask him to answer the question "What is SFML?" he won't be able to properly answer it, since he can't get any information on what SFML really is. ;)

You also might want to update the release thread (http://en.sfml-dev.org/forums/index.php?topic=76.0), but I guess you haven't forgotten that and you're still compiling the huge, huge change log. ;D
Title: Re: SFML 2 and its new website released
Post by: Omega on April 30, 2013, 02:15:15 am
I just got SFML 2.0 and, after spending about an hour trying to figure out all the problems* I was having making it work and finally getting it to work, I am already liking how much better it is over v1.6.

Many thanks for all the time you've put into this. Cheers!

* Problems: It turns out, if you have ANY of the old v1.6 files in your include and library directories (I was using Visual Studio 2010 Express' VC/include and VC/lib folders), you've gotta clear them ALL out and replace them with the new files. Took me a while to figure that one out. And, apparently, I am using the 32bit version of VS2010 and thought I had been using the 64bit version, so I got the 64bit v2.0 and had linker errors. So, looks like you gotta know what bit compiler you're using, too. ;)

tl;dr -- Solutions: v1.6 include and lib files must be replaced with v2.0 files; 32bit compiler != 64bit SFML v2.0
Title: Re: SFML 2 and its new website released
Post by: Perde on April 30, 2013, 03:10:47 am
Fancy, and a nice surprise indeed! Congrats!
Title: Re: SFML 2 and its new website released
Post by: santiaboy on April 30, 2013, 03:28:20 am
I like it, it's slick ;D
Title: Re: SFML 2 and its new website released
Post by: pdinklag on April 30, 2013, 03:32:25 am
Congrats! :)
Title: Re: SFML 2 and its new website released
Post by: Tuffywub on April 30, 2013, 03:40:05 am
Awesome! Good job!!!  ;D
IOS + Android??? SSSSWWWWEEEEeeeeeeeeeeeeetttttt!!!  :)
Title: Re: SFML 2 and its new website released
Post by: Laurent on April 30, 2013, 08:37:33 am
Quote
I'm sure there is a huge bunch of people eager to assist you in making SFML work on Android (and other platforms)!
If so, they can already start working on it ;)
I already got contributions, even partial ports for iOS in the past, and those definitely help me today. But I never got anything for Android :P

Quote
I already started porting SFML to Android (and Raspberry Pi btw) and I'm having the entire framework working except the network module which hasn't yet been ported. https://github.com/Sonkun/esfml (branch Android)
Awesome! I'll have a look at your work.

Quote
As for SFML 2.2, I think you should focus on adding support for OpenGL ES 1.1 first, as it doesn't take much effort (OpenGL ES 1.1 being close to OpenGL 2.x).
This is exactly what I'm doing. As long as OpenGL ES 2.0 is not required, I won't break the rendering API.

Quote
A iOS port needs OpenGL ES 1.x supported and won't be possible without redesigning the entire window module. In my humble opinion, you should keep this huge API break for SFML3.0 and concentrate on adding interesting features such a video module, signal&slot to the system module, etc. and all this stuff  without breaking the API.
The iOS port will be ported to the current API. I may add some features, but I won't redesign anything. If I design a specific API that better suits mobile devices, that won't happen before SFML 3.

So, to summarize: iOS + current API + OpenGL ES 1.1 = quickly done.

Quote
BTW: I am using .net binding but you have mistake on website in .net 32bit binding link - sfml-dev.org/download/sfml.net/SFML.Net-2.0-32bits.zip
Fixed, thank you.

Quote
I'm kinda missing a feature list. If you send a new user to the website and ask him to answer the question "What is SFML?" he won't be able to properly answer it, since he can't get any information on what SFML really is.
I hope that people will know what SFML is before visiting the website. And the homepage says that SFML is a C++ library that deals with graphics, audio, network and windowing. I think it's enough to get the feeling of what SFML does. Details are in the documentation and tutorials.

Quote
You also might want to update the release thread, but I guess you haven't forgotten that and you're still compiling the huge, huge change log.
Done. No changelog this time, I gave up a long time ago. There's one for SFML 2.0 RC, but it's incomplete and inconsistent (since the naming conventions have changed).
Title: Re: SFML 2 and its new website released
Post by: Hiura on April 30, 2013, 11:07:36 am
Yeay ! Long Life To SFML !  ;D
Title: Re: SFML 2 and its new website released
Post by: Atomical on April 30, 2013, 11:09:28 am
I don't know how much this is relevant but freeglut 3.0 has Android support with OpenGL ES 2.0 http://freeglut.sourceforge.net/docs/android.php

The new design is so cleeaaan
Title: Re: SFML 2 and its new website released
Post by: Sonkun on April 30, 2013, 11:10:45 am
Quote
I already started porting SFML to Android (and Raspberry Pi btw) and I'm having the entire framework working except the network module which hasn't yet been ported. https://github.com/Sonkun/esfml (branch Android)
Awesome! I'll have a look at your work.

Quote
As for SFML 2.2, I think you should focus on adding support for OpenGL ES 1.1 first, as it doesn't take much effort (OpenGL ES 1.1 being close to OpenGL 2.x).
This is exactly what I'm doing. As long as OpenGL ES 2.0 is not required, I won't break the rendering API.

Quote
A iOS port needs OpenGL ES 1.x supported and won't be possible without redesigning the entire window module. In my humble opinion, you should keep this huge API break for SFML3.0 and concentrate on adding interesting features such a video module, signal&slot to the system module, etc. and all this stuff  without breaking the API.
The iOS port will be ported to the current API. I may add some features, but I won't redesign anything. If I design a specific API that better suits mobile devices, that won't happen before SFML 3.

So, to summarize: iOS + current API + OpenGL ES 1.1 = quickly done.

The plan wasn't to introduce the project like this but never mind :p

You'll find on the master branch OpenGL ES 1.1 supported (including the context creation and the EGL error macro),  as well as some minor improvements regarding CMake and OpenGL/OpenAL macros.

Then, the Android branch takes over to bring Android support :) It provides a sfml-main module to have a portable int main() and which forward lifecycle callbacks. I rewrote the native glue code provided by the NDK to remove useless stuff and to make use of the system module (threads + string).

Not to break the API, it uses some tricks:

I need to rebase on the last SFML2 commit and give instructions to compile. From what I remember, that's something like
NDK=/$HOME/Workspace/android/ndk cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/Android.cmake ..

To get a bit of context, you may want to read the wiki (which actually introduces the project :p).
Title: Re: SFML 2 and its new website released
Post by: Laurent on April 30, 2013, 11:31:40 am
Quote
I don't know how much this is relevant but freeglut 3.0 has Android support with OpenGL ES 2.0
And? They don't have a high-level graphics API on top of that, so it's not a problem for them, supporting OpenGL ES 2.0 is just a few lines to change in the context creation code.

Quote
You'll find on the master branch OpenGL ES 1.1 supported (including the context creation and the EGL error macro),  as well as some minor improvements regarding CMake and OpenGL/OpenAL macros.
Is Android 100% compliant with the generic EGL API? Because iOS is not (they have their own Objective-C layer on top of it, EAGL... >:()

Quote
Then, the Android branch takes over to bring Android support  It provides a sfml-main module to have a portable int main() and which forward lifecycle callbacks.
I've had a look at your code this morning, and saw that.

Quote
Not to break the API, it uses some tricks:
sf::Event::Resized event means the screen orientation has changed
It sends sf::MouseMove events when detecting finger motion events
sf::Event::Closed event means the app wants to terminate
It sends MouseLeft/MouseEntered when the activity is paused/resumed
It sends LostFocus/GainedFocus when the activity is stopped/restarted
Looks like what I wanted to do for iOS ;)
One more thing: map the accelerometer to joystick #0.
And what's the difference between "activity paused", "activity stopped" and "app terminated"?
Title: Re: SFML 2 and its new website released
Post by: Sonkun on April 30, 2013, 11:55:37 am
Quote
You'll find on the master branch OpenGL ES 1.1 supported (including the context creation and the EGL error macro),  as well as some minor improvements regarding CMake and OpenGL/OpenAL macros.
Is Android 100% compliant with the generic EGL API? Because iOS is not (they have their own Objective-C layer on top of it, EAGL... >:()
100% compliant, you chose the dark side :p

Looks like what I wanted to do for iOS
One more thing: map the accelerometer to joystick #0.
And what's the difference between "activity paused", "activity stopped" and "app terminated"?
Great idea for the accelerometer! I'll do it.

An activity is the Android term to mean an application responding to lifecycle events.
An activity gets paused when something is brought to front and so, hides partially the activity screen (the activity no longer receives input events).
An activity is stopped when the user leaves the application (by pressing the home button or because you're having a call, etc.). In those cases, the main thread still runs but should do nothing (the window and its attached context is disabled).
An activity is terminated when the main finishes or because the OS has asked for that (mainly for memory reasons).

How does that work on your side ?
Title: Re: SFML 2 and its new website released
Post by: Laurent on April 30, 2013, 12:11:55 pm
Quote
How does that work on your side ?
They have a bunch of detailed notifications. I haven't investigated much, for now I just map the EnterBackground/EnterForeground notifications to the LostFocus/GainedFocus events. They seem to match your description of the "activity stopped" notification, so I think we are good.
Title: Re: SFML 2 and its new website released
Post by: Foaly on April 30, 2013, 03:00:55 pm
Wow this is awesome! Great to see 2.0 finally released! Congratulations to everybody who contributed!

Some news for the near future:
- SFML 2.1 will be released as quickly as possible and be a bug fix release
- SFML 2.2 should add support for iOS, I'm already working on it
That is great news too. Can't wait for 2.2

The release made it in a big German technologie news site: heise.de (http://www.heise.de/open/meldung/SFML-2-0-veroeffentlicht-1853104.html)
Title: Re: SFML 2 and its new website released
Post by: eXpl0it3r on April 30, 2013, 03:08:49 pm
The release made it in a big German technologie news site: heise.de (http://www.heise.de/open/meldung/SFML-2-0-veroeffentlicht-1853104.html)
Nice! I wonder though if I had anything to do with it, since I sent out a mail to them yesterday, but only got an "Out of Office" reply. ;D
(Still waiting for a response from Golem.de)
Title: Re: SFML 2 and its new website released
Post by: binary1248 on April 30, 2013, 04:20:34 pm
Don't forget to contact the package maintainers for the major distros.

Here are some package pages I found:
http://packages.debian.org/sid/libsfml-dev
http://packages.ubuntu.com/quantal/libsfml-dev
https://admin.fedoraproject.org/pkgdb/acls/name/SFML

Gentoo and Arch are already using 2.0.

Which reminds me... someone has to update the GitHub wiki FAQ :P.
Title: Re: SFML 2 and its new website released
Post by: eXpl0it3r on April 30, 2013, 04:26:37 pm
Which reminds me... someone has to update the GitHub wiki FAQ :P.
*points at binary1248* :P

Btw. Laurent, as I've mentioned once via PM, I think it would now soon be a good time to make the General Rules topic sticky in all the help forums and also be nice to have a sticky thread pointing to the FAQ in all the help forums, so people will actually start using it more often. binary1248 has already made quite an effort to get some good answers in. :)
Title: Re: SFML 2 and its new website released
Post by: Tank on April 30, 2013, 05:40:40 pm
Quote
The release made it in a big German technologie news site: heise.de
That's awesome. For non-German-speaking people: It's one of the largest (if not THE largest) IT-related websites in Germany.
Title: Re: SFML 2 and its new website released
Post by: Lo-X on April 30, 2013, 06:21:53 pm
Wow =)

The website is very attractive, simple and with good colors.
Congrat's for SFML2 release, it's been waited :p

Edit : Special congrat's for the documentation design(I mean CSS design). One of the clearest I've ever seen
Title: Re: SFML 2 and its new website released
Post by: 4ian on April 30, 2013, 08:08:36 pm
Awesome as usual  :D
The documentation is really pretty indeed  ;)
Title: Re: SFML 2 and its new website released
Post by: Alec on April 30, 2013, 08:33:01 pm
Congratulations, and thanks.

Any chance of a download for Linux, which would require little more than a ,/configure, make, make install to work?  (W/ some brief docs on usage of this download, including required dependencies.)
Title: Re: SFML 2 and its new website released
Post by: fstream on April 30, 2013, 08:49:55 pm
Any chance of a download for Linux...
Dependencies and instructions here: http://www.sfml-dev.org/tutorials/2.0/compile-with-cmake.php

Basically what you have to do is:

If you want version 2.0:
Code: [Select]
$ wget https://github.com/SFML/SFML/archive/2.0.tar.gz
$ tar zxvf SFML-2.0.tar.gz
$ cd SFML-2.0

-OR- if you want the greatest and latest:
Code: [Select]
$ git clone https://github.com/SFML/SFML.git
$ cd SFML

Then you do:
Code: [Select]
$ mkdir build
$ cd build
$ cmake ..
$ make
# make install

Which will build the shared libraries and install them in your system \o/
Title: Re: SFML 2 and its new website released
Post by: Cornstalks on April 30, 2013, 09:35:41 pm
Super duper congrats Laurent!
Title: Re: SFML 2 and its new website released
Post by: Alec on April 30, 2013, 10:41:49 pm
Thanks for this.  (I guess that CMake itself will be available wherever wanted.)
Title: Re: SFML 2 and its new website released
Post by: Ivan on April 30, 2013, 11:31:33 pm
Yeay ! Long Life To SFML !  ;D
+1

Congrats Laurent and thank you for your work.
Title: Re: SFML 2 and its new website released
Post by: Lo-X on May 01, 2013, 02:20:50 pm
Dunno if there's still somewhere to put that into the website main menu but I kinda enjoyed the direct link to SFML GitHub page on the old version. I know it's still accessible from "download" section, but still.

I perhaps am the only one that enjoyed that fast way to access GitHub from website in wich case I'll add a bookmark somewhere :p
Title: Re: SFML 2 and its new website released
Post by: firefly2442 on May 01, 2013, 03:17:45 pm
Congrats on the new website and the 2.0 release.  It really does look nice. :)
Title: Re: SFML 2 and its new website released
Post by: axus on May 01, 2013, 04:37:27 pm
 ;D Congratulations!  Wish I had more time to program, and use your beautiful library!
Title: Re: SFML 2 and its new website released
Post by: Jove on May 02, 2013, 07:40:27 pm
I've just installed 2 having previously been using a RC version from last year and I've notoiced some impressive performance improvements on the CPU trace.

Nice work Laurent, and congrats on the new release!
Title: Re: SFML 2 and its new website released
Post by: Ceylo on May 16, 2013, 02:08:35 pm
Really nice work! :)

I like the global website and documentation design too. The only point I would change is the font size, 16 is too much.
Title: Re: SFML 2 and its new website released
Post by: timo777 on May 17, 2013, 09:02:13 pm
I nearly passed out when I mistyped an address and saw the new beautiful site. D:

Good work!
Title: Re: SFML 2 and its new website released
Post by: StormWingDelta on May 19, 2013, 05:30:48 pm
 ;D I come back and see all things got upgraded. :p