I have started working with VFX in my game and, unfortunately, I have been hitting a couple of walls when it comes to particle systems in Urho. My particles always end up looking like the simple stuff in Unity:
Does anyone have any examples of more elaborate systems in Urho?
I don’t have concrete examples but for complicated systems you would need multiple emitters each with a different particle effect.
You could define a node : Node * particleSystemNode, and then attach multiple emitters to that node to accomplish this.
In that video example it seems he is using the unreal gui to accomplish the same. You can see he is using multiple emitters. To enable the system, enable the node. Maybe someone with more knowledge of the code base could answer whether it would be good to have a dedicated particle system class that does stuff like this for you or there is a better way of doing this.
What would be a great addition is curves that define the progression of values for a single particle. I think this might not - or hardly - require modifying Urho’s particle system, but rather a more advanced editor.
I have had thoughts about curves recently too, our support exists, but its not great, I could use curves to modify the position of an agent moving across a navmesh offmesh link, but theres no easy way. We should support a range of basic curves, to support lerping in many forms
That definitely looks cool! I think I might be having a hard time translating the “node graph” experience that I have with particles to code. Also, “edit, compile, run” is not a good flow for tweaking particles. Do you guys know a way of auto-refreshing particles so I can tweak the values and see the changes in realtime?
Also: How can I do those curves in Urho’s particle code?
As for suggestion on how to improve: a small sample showcasing every property of a particle XML would be awesome. What does what. I think that’s the hardest thing, going through and understanding how they come together.
The thought I shared was with high uncertainty. The furthest I got with particles was for heXon, which does nothing too complex… but I imagine combining AttributeAnimations and particles more interesting things should be possible.
You may also be interested in the AnimatedBillboardSet that I made for heXon and OG Tatt.
To quickly create texture animation frame data you can use anido.