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

Author Topic: SFML 2 ready for production?  (Read 6906 times)

0 Members and 1 Guest are viewing this topic.

.teri

  • Newbie
  • *
  • Posts: 28
    • View Profile
SFML 2 ready for production?
« on: July 16, 2011, 11:36:37 am »
Well, I like the design of SFML and i have a personal game engine, that i want release, with it (SFML 1.6, used in a game that i've posted). The problem is that i want add more features to the engine for production, but seeing a possible upcoming release of SFML 2 i dont know i worth lost the time adding the features with SFML 1.6.
I wait for advices and answers, thanks.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
SFML 2 ready for production?
« Reply #1 on: July 16, 2011, 12:00:17 pm »
I would recommend SFML 2, since many things have been improved and the API has changed. Once it is released, only few people are going to work with 1.6, so your engine might become close to useless.

The only problem is, that SFML 2's API currently still changes, especially the graphics/rendering system. So when you port everything now, you might have to change some code again. But I think Laurent can tell you more exactly which of SFML parts he is planning to modify...

[Edit] See also the list of API modifications.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 2 ready for production?
« Reply #2 on: July 16, 2011, 03:28:15 pm »
Only the graphics module should change (drawable classes and image), the rest is ready to be released.

Quote
[Edit] See also the list of API modifications.

Awesome, I didn't remember it. Do you keep it up-to-date?
Laurent Gomila - SFML developer

przemo_li

  • Newbie
  • *
  • Posts: 6
    • View Profile
SFML 2 ready for production?
« Reply #3 on: July 16, 2011, 04:44:32 pm »
How much more work is there left (till API freeze)?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 2 ready for production?
« Reply #4 on: July 16, 2011, 06:33:46 pm »
A total redesign of the drawable API, which is a complex task because I want to provide low-level/flexible features while keeping (some of) the previous high-level/simple stuff.
Laurent Gomila - SFML developer

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
SFML 2 ready for production?
« Reply #5 on: July 16, 2011, 06:47:27 pm »
Quote from: "Laurent"
Awesome, I didn't remember it. Do you keep it up-to-date?
Well, I created it today, so it is quite possible that you don't remember it :D

Yes, I keep it up-to-date. I also encourage every user to help completing it, since I don't use every part of SFML and thus might miss some changes. Maybe I should link the thread on the french forum, too.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

.teri

  • Newbie
  • *
  • Posts: 28
    • View Profile
SFML 2 ready for production?
« Reply #6 on: July 16, 2011, 09:40:50 pm »
Thanks for everybody for the answers :). I see.
I've downloaded the last snapshot, 552c3d114d083d373bc4 and i've started work now. I hope that will be "stable" the SFML 1.6-SFML2.0 hybrid. Is ok?

P.D.: Thanks to Laurent and Nexus by your labor.

.teri

  • Newbie
  • *
  • Posts: 28
    • View Profile
SFML 2 ready for production?
« Reply #7 on: July 17, 2011, 06:07:46 pm »
Quote from: "Laurent"
Only the graphics module should change (drawable classes and image), the rest is ready to be released.


Ah! I guess that i've reading from somewhere that you will delete the drawable class or something... I use the drawable class for modify the color, or the size (scale) objects from lua scripts.

przemo_li

  • Newbie
  • *
  • Posts: 6
    • View Profile
SFML 2 ready for production?
« Reply #8 on: August 08, 2011, 10:49:38 am »
So if I want SFML to handle everything else than graphic (where OpenGL will do its job) than 2.0 is ready for the task?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 2 ready for production?
« Reply #9 on: August 08, 2011, 11:01:33 am »
Quote
So if I want SFML to handle everything else than graphic (where OpenGL will do its job) than 2.0 is ready for the task?

Yes.
Laurent Gomila - SFML developer