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

Author Topic: Animations and Particles  (Read 14328 times)

0 Members and 1 Guest are viewing this topic.

Vitriol1744

  • Newbie
  • *
  • Posts: 1
    • View Profile
Animations and Particles
« on: December 13, 2020, 09:04:36 pm »
What do you think about adding Particles system and Animations System?

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: Animations and Particles
« Reply #1 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/
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

jamesL

  • Full Member
  • ***
  • Posts: 124
    • View Profile
Re: Animations and Particles
« Reply #2 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

jamesL

  • Full Member
  • ***
  • Posts: 124
    • View Profile
Re: Animations and Particles
« Reply #3 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   

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Re: Animations and Particles
« Reply #4 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.

Kvaz1r

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • Email
Re: Animations and Particles
« Reply #5 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. 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)).

 

anything