SFML community forums

General => General discussions => Topic started by: Haikarainen on August 28, 2011, 03:51:49 am

Title: Wait for 2.0-release or compile snapshot?
Post by: Haikarainen on August 28, 2011, 03:51:49 am
Hello!

Me and some friends are currently developing a game (should really create a projects-thread about this so I can stop repeating myself) that currently uses an old svn-snapshot of 2.0, so old sf::Texture is undeclared.

And since we want the whole package with pure fragment shaders etc that sfml2.0 will provide, we will use the final 2.0 once it releases.

Now to my point; I need some guidance wether to download a current snapshot of it and start recode my code to make it compatible, and then do the final changes once its officialy released, OR, wait until the final version is out and do all the work later?

Worth pointing out is that it's A LOT of code(approx 3-5k lines), and that I have recently started to namespace and reorganize all of it (making this a perfect excuse for a current svn-remake).

So, are we waiting for some huge changes, or should i go for the svn-version?
Title: Wait for 2.0-release or compile snapshot?
Post by: Groogy on August 28, 2011, 04:13:33 am
I am expecting huge differences from the various hints Laurent have given. But I also read in some post somewhere that SFML2 can be expected to be officially released in a few weeks time or something like that.

I expect that he will release it officially after the whole drawing API has been redone which he has planned for a long time. So yeah there are major changes comming but it's probably the last ones.
Title: Wait for 2.0-release or compile snapshot?
Post by: eXpl0it3r on August 28, 2011, 09:53:11 pm
Although there will be again probably many changes, I suggest to get the newst snapshot. I don't know what will change so the programmer have to actively apply the changes to his code. I could imagine that it would change more in the background.
So having switch from sf::Image to sf::Texture will probably be the same in the final version, maybe with a diffrent way to call the draw function or so.
Having that already changed will make the other changes easier.

But I've no idea what will come!  :D
Title: Wait for 2.0-release or compile snapshot?
Post by: Laurent on August 28, 2011, 10:01:57 pm
Quote
But I've no idea what will come!

The drawing system: Drawable, Sprite, Text and Shape will change or be removed, and other (lower level) classes will be created.

And then SFML 2.0 will be released.
Title: Wait for 2.0-release or compile snapshot?
Post by: Lo-X on August 28, 2011, 10:09:57 pm
Quote from: "Laurent"
Quote
But I've no idea what will come!

The drawing system: Drawable, Sprite, Text and Shape will change or be removed, and other (lower level) classes will be created.

And then SFML 2.0 will be released.


Aow, there will have a lot of code to change :o
Title: Wait for 2.0-release or compile snapshot?
Post by: Laurent on August 28, 2011, 10:13:51 pm
It depends... maybe you'll have to change everything, maybe you'll be able to keep your old code unchanged ;)

The final API is still not decided.
Title: Wait for 2.0-release or compile snapshot?
Post by: Haikarainen on August 28, 2011, 11:56:44 pm
Laruent; Awesome stuff! It's time SFML grows up a little :)

Ohwell, I'll probably start right now since there will be too much to catch up on later.
Title: Wait for 2.0-release or compile snapshot?
Post by: Nexus on August 29, 2011, 12:15:05 am
Quote from: "Laurent"
The drawing system: Drawable, Sprite, Text and Shape will change or be removed, and other (lower level) classes will be created.
I hope the simplicity of SFML still remains in case of low-level classes. But you've proven to find a simple way for almost everything, so I trust in you :D
Title: Wait for 2.0-release or compile snapshot?
Post by: pierreyoda on August 30, 2011, 12:15:07 pm
Looks like I'll have to re-code all my C++-to-Python exporting  :lol:

But anyway can't wait for the new API!