SFML community forums

General => Feature requests => Topic started by: Vitriol1744 on December 13, 2020, 09:04:36 pm

Title: Animations and Particles
Post by: Vitriol1744 on December 13, 2020, 09:04:36 pm
What do you think about adding Particles system and Animations System?
Title: Re: Animations and Particles
Post by: Nexus on December 18, 2020, 09:33:36 am
SFML is a general-purpose multimedia library, which aims to provide the basic building blocks for easy and fast access to input, graphics and sound. It's not a game engine. The idea is that a lot of stuff, that easily can be built as an extension, is not part of SFML itself, to keep the API lean.

If you're interested in particle systems and animations, you could have a look at my extension library Thor: https://bromeon.ch/libraries/thor/
Title: Re: Animations and Particles
Post by: jamesL on December 18, 2020, 09:34:16 am
they'll sjut tell you to use the particle system at the bottom of this page                     
https://www.sfml-dev.org/tutorials/2.5/graphics-vertex-array.php

or the animation systems in the wiki               
https://github.com/SFML/SFML/wiki/Easy-Animations-With-Spritesheets

https://github.com/SFML/SFML/wiki/Source%3A-Sprite-Sheets

https://github.com/SFML/SFML/wiki/Source%3A-AnimatedSprite

or download Thor                   
https://bromeon.ch/libraries/thor/index.html
Title: Re: Animations and Particles
Post by: jamesL on December 18, 2020, 09:36:26 am
SFML is a general-purpose multimedia library, which aims to provide the basic building blocks for easy and fast access to input, graphics and sound. It's not a game engine. The idea is that a lot of stuff, that easily can be built as an extension, is not part of SFML itself, to keep the API lean.
...

you all keep saying that, but its not really true                       
how many non-game applications have been made using sfml compared to how many games made with sfml   
Title: Re: Animations and Particles
Post by: Tank on December 18, 2020, 10:03:31 am
Quote
you all keep saying that, but its not really true

It still holds true. It does not only matter what people build with SFML, but what its creators defined as its scope. The scope does not imply game-specific components.

If at all, a game module would be imaginable. But that'd most likely lead to a fully fledged game engine, which is just not within SFML's scope. We have to cut it somewhere.
Title: Re: Animations and Particles
Post by: Kvaz1r on December 18, 2020, 11:20:57 am
you all keep saying that, but its not really true                       
how many non-game applications have been made using sfml compared to how many games made with sfml   

In fact there are enough GUI library that based on SFML - A Comparison of GUI Libraries for SFML: TGUI vs SFGUI vs IMGui and more (https://blog.rubenwardy.com/2020/01/21/creating-game-guis-in-sfml/). They could be used for games and could contained any module that suits for their maintainers. And they also could be used for non-game applications because choice from C++ GUI libraries is small (Qt(has license issue), wxWidgets(stable, but use OS's native widgets) and ImGui(immediate mode not always is advantage)).