Hey
OK, I spawned blood. But how to spawn it and rotate once? You know.. now all blood looks same.
After spawning, in the same spawn event set angle to random(360).
If you want to add even more variety set the scale to random (1,2)*0.5
And for even more variety, add a few different frames (remember to set the animation speed to 0) and add a "set frame to floor(random(sprite.animationFrameCount)" action.
Develop games in your browser. Powerful, performant & highly capable.
mekonbekon Like this?
It's better to put the Set angle action after the Spawn LancBlood.
mekonbekon
thanks, but it's possible to add another one - set opacity? But what then, rendom(100) ?
marcinkowski
Here's an example that combines all the options mentioned above. I've also added in a particle effect for extra variation:
https://www.dropbox.com/s/xac90mlf31rz7 ... .capx?dl=0
marcinkowski mekonbekon Here's an example that combines all the options mentioned above. I've also added in a particle effect for extra variation: https://www.dropbox.com/s/xac90mlf31rz7 ... .capx?dl=0
mekonbekon Here's an example that combines all the options mentioned above. I've also added in a particle effect for extra variation:
that's greate! thanks much man!
You're welcome