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

Author Topic: Thor 2.0 released!  (Read 350638 times)

0 Members and 1 Guest are viewing this topic.

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Thor 2.0
« Reply #435 on: July 11, 2015, 09:27:47 pm »
Go for it!
I've been using git snapshots of your library for a long time and my judgement is that it's more than ready (I know few developers who write as high-quality C++ code as you do). :)
Fix up any minor issues in a 2.1 release , but just ship the damn thing now as 2.0 ;)
« Last Edit: July 11, 2015, 09:34:22 pm by Jesper Juhl »

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: Thor 2.0
« Reply #436 on: July 11, 2015, 09:38:50 pm »
Thanks for the nice feedback again, Jesper :)

Yes, it's so annoying, I have wanted to release it for such a long time already, but there were always issues (like triangulation bugs) that would come up unexpected, or then I was short on time... And there are still some designs I'm not 100% happy with, but I'd rather change the API slightly after 2.0 than be stuck with bad things for years ;)
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Thor 2.0
« Reply #437 on: July 11, 2015, 09:53:35 pm »
There will always be bugs. The thing to realise (in my experience) is that there are bugs and then there are show-stopper bugs. You can always ship/release with bugs - that's just how things are. What you don't want is to ship with major show-stopper bugs. And I don't think you are in that risk category :)

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: Thor 2.0 released!
« Reply #438 on: July 12, 2015, 01:00:33 pm »
Took a decent amount of time, but I'm finally able to announce:

Thor 2.0
[-> Download]

Almost everything has changed in the last three years, some parts multiple times. A few examples:
  • Input actions to expressively define and combine user input
  • Particle affectors, emitters and animations: copy semantics, similar usage, possibility to combine
  • Distributions to allow flexible specifications, e.g. of emitter values
  • ResourceManager + ResourcePtr -> ResourceCache + shared_ptr -> ResourceHolder + anything
  • More vector algebra functions
  • Predefined loaders for SFML resources
  • String conversion of input keys/mouse buttons/joystick axes
  • More flexible color gradients
  • A lot of internal optimizations, bugfixes and modernizations
  • Outsourced C++ language-level functionality to Aurora
  • ...
As mentioned multiple times, I won't maintain a strict API backwards compatibility policy. I thought long about this, and my conclusion was that for Thor users, API quality is my absolute priority; see also my reasoning here.

Anyway, have fun 8)
« Last Edit: July 12, 2015, 01:04:03 pm by Nexus »
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Thor 2.0 released!
« Reply #439 on: July 12, 2015, 01:11:10 pm »
I wonder if it took longer than SFML 2 :P
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10901
    • View Profile
    • development blog
    • Email
Re: Thor 2.0 released!
« Reply #440 on: July 12, 2015, 02:05:41 pm »
Yay! :)

Congratulation on the release.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Hapax

  • Hero Member
  • *****
  • Posts: 3364
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Thor 2.0 released!
« Reply #441 on: July 12, 2015, 05:37:13 pm »
Congratulations!  :)
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

UroboroStudio

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • Email
Re: Thor 2.0 released!
« Reply #442 on: July 12, 2015, 05:53:10 pm »
Nice! Good job Nexus!  :)

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Thor 2.0 released!
« Reply #443 on: July 12, 2015, 11:01:58 pm »
Congratulations on wrapping up Thor 2.0.
It's a great improvement. Works well. And complements SFML very nicely.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: Thor 2.0 released!
« Reply #444 on: July 12, 2015, 11:36:25 pm »
Thanks for all the nice comments! Also thanks for Laurent's comment ;D

No, really, thank you for all the constructive feedback you've given me in the past years. This thread alone is a great example, so are the dozens of e-mails and private messages. And I truly appreciate the additional services for Thor, like eXpl0it3r's nightly builds or zsbzsb's NetEXT C# port! :)

Something very interesting for me would be to see how and where Thor is used. It would also show me different use cases, which I can incorporate in future API design. I've seen a few projects here and on GitHub... If you have an example where Thor helps achieve some features in a game or multimedia application, that would be nice to know 8)
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Thor 2.0 released!
« Reply #445 on: July 13, 2015, 12:05:50 am »
I don't have code to show you (it's just not ready yet), but I can tell you that Thor has saved me a bunch of time from not having to write my own animation code, giving me an easy way to deal with input remapping and letting me implement some nice particle effects in a couple of hours rather than days. And more.
I hope to finish my little game project before my 40'th birthday (in april) and although it probably won't be open source (initially) I guess I could give you a copy to see how I used Thor :)
« Last Edit: July 13, 2015, 12:07:51 am by Jesper Juhl »

JackPS9

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: Thor 2.0 released!
« Reply #446 on: August 30, 2015, 08:04:21 pm »
Can someone help me out with a rain/snow particle system?
I have an emitter working, but the problem is I can't figure out what would be the best way to go about it.

LanceJZ

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Thor 2.0 released!
« Reply #447 on: October 11, 2015, 04:37:47 am »
This works fine with the new release of SFML 2.3.2? I'm about to compile it. Thank you for your time.

bjadams

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: Thor 2.0 released!
« Reply #448 on: October 22, 2015, 01:42:11 pm »
Most probably the most useful lib after SFML itself!

I am reading the book SFML Essentials and I am glad that Thor has done a more complete Asset Manager & Animation system than the basic one described in the book

Hope this lib will continue to be developed

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: Thor 2.0 released!
« Reply #449 on: October 22, 2015, 01:53:22 pm »
Thank you! Development will definitely continue ;)

I have already started to implement some bigger improvements in the Animations module. I'll push them once I've got something usable :)
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development: