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

Author Topic: Particle Editor based on the Thor library extension  (Read 4797 times)

0 Members and 1 Guest are viewing this topic.

Trinity

  • Newbie
  • *
  • Posts: 10
    • View Profile
Particle Editor based on the Thor library extension
« on: September 04, 2018, 07:51:53 pm »
Hello,

I recently created a particle editor based on the Thor library extension to speed up the development of my own projects with SFML and Thor. The editor covers most of the features from the Thor particle module and has additional support for:
  • Save particle data to a json file
  • Open an exisiting json file with particle data
  • Change particle texture with file browsing
The editor can be seen in the following screenshot:



Integrating the saved particle data into a project is very easy and example code can be found at the github repository.

Github: https://github.com/Jakobzzz/ParticleEditor
« Last Edit: September 30, 2018, 11:04:51 am by Trinity »

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Particle Editor based on the Thor library extension
« Reply #1 on: September 15, 2018, 11:47:28 am »
Hey,

Cool project, and nice to see that Thor could help you with it :)

Out of interest, was it generally easy to work with the emitters and animations, or did you run into limitations/problems?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Trinity

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Particle Editor based on the Thor library extension
« Reply #2 on: September 19, 2018, 11:48:43 pm »
Yes, pretty much everything was easy to work with and it's all fairly simple but of course it becomes a bit more tedious when you have to create an editor for it as you for instance have to check the numeric limits of properties. I haven't tried the animation part yet but one thing that could be a limitation is the possibility to simulate explosion effects more easily. The firework example on Git is good but when you try to achieve the same effect with an editor it quickly becomes a lot harder ;D