Particles and damage issue
diegocs
Member Posts: 531
i wan't one of my actors to emit a x amount of particles depending on how much life he has/ amount of damage he has received. Does the particle behaviour allow the number of particles it emits to change during the game?
Comments
You can use an equation for the number of particles. So you could build the equation using your life and damage attributes to vary the look of the particles.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
i did that and it just crashes... i'll try it again
If it's crashing, there might be a bug in your equation.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
i just assigned it a simple equation now which doesn't crash, but when the value of the equation is supposed to be 0 it still emits particles... any ideas?