Hello
How can I create a simple electricity effect in GDevelop?
Can it create this effect, or should I import an animation?
regards,
Hello
How can I create a simple electricity effect in GDevelop?
Can it create this effect, or should I import an animation?
regards,
Hi you could create an object. Create a spark image …a few animation frames with random blank frames and then
When the event happens use a timer or variable that counts down and use the expression
If timer less than say one secs
If number of sparks on the scene less than 5
Create spark at pos you want it to be plus something like random in range (-400,400) then set spark scale to random in range (1,3) and set spark angle to angle between spark and the position you’re creating it. Create a random length object timer (or variable called timer (and reduce that by one each frame))
Repeat for each spark…
If spark timer greater than something like .2secs .,…delete spark
Its obviously easier to use a particle emitter but then you can’t animate them
Your idea is great.
I need something simpler—just an electricity effect between two points. Assume it flows from Point A to Point B.
Do you know where I can find it? I’ve searched through many marketplaces. Just looking for something (line) with a glow.
Ill have a think - you mean like plasma ball branching stuff? You could do it with a string of linked objects that are created and deleted in quick succession but its probably much easier to do it as an animation and set the start point to point to A and width to distance between A and B and its angle to angle between the two positions.

Or with shape painter like the link above. I was trying to think about how to do it with shape painter… someones already done it!
Hi,
Can GDevelop create a glow effect for a project like this?
Thanks a lot. But my question is: is there any function to make an object glow?