Hi guys!
In my game i need to spawn 5 stars, from the center outwards, whenever an enemy is killed, like in a "poof!" cloud
I created the sprite STAR with bullet and fade behaviours.
As a test, I put 5 in the layout, i rotated them by hand in the layout and place them close to each other, to preview it and see how they bullet outwards and fade. It worked fine!
But as far as i know, when event "enemy - on destroyed" occurs, i should set the star spawn 5 times, each with its own angle and position, like this:
System - create object - Star
Star - set angle
Star- set position
System - create object - Star
Star - set angle
Star- set position
System - create object - Star
Star - set angle
Star- set position
System - create object - Star
Star - set angle
Star- set position
System - create object - Star
Star - set angle
Star- set position
Isn't there a way i can take the 5 i put in the layout as a test, group them and turn them into an object "star cluster", remembering how many instances there are/position/angle/scale from each other?
And then just make an event be:
Enemy - on destroyed - System - create object - Star cluster