Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Wait for 2.0-release or compile snapshot?  (Read 3815 times)

0 Members and 1 Guest are viewing this topic.

Haikarainen

  • Guest
Wait for 2.0-release or compile snapshot?
« 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?

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Wait for 2.0-release or compile snapshot?
« Reply #1 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.
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10820
    • View Profile
    • development blog
    • Email
Wait for 2.0-release or compile snapshot?
« Reply #2 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
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Wait for 2.0-release or compile snapshot?
« Reply #3 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.
Laurent Gomila - SFML developer

Lo-X

  • Hero Member
  • *****
  • Posts: 618
    • View Profile
    • My personal website, with CV, portfolio and projects
Wait for 2.0-release or compile snapshot?
« Reply #4 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

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Wait for 2.0-release or compile snapshot?
« Reply #5 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.
Laurent Gomila - SFML developer

Haikarainen

  • Guest
Wait for 2.0-release or compile snapshot?
« Reply #6 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.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Wait for 2.0-release or compile snapshot?
« Reply #7 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
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

pierreyoda

  • Full Member
  • ***
  • Posts: 186
    • View Profile
    • http://pierreyoda.pagesperso-orange.fr/
Wait for 2.0-release or compile snapshot?
« Reply #8 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!
Projects:
- Open Rodent's Revenge (rewriting in progress)
- Open Advanced War (paused)