>
> > Nice idea! I also saw that rex_rainbow made a revive behaviour. Haven't tried it yet, but would that work as well?
> >
>
> I just tried rexrainbow's revive behavior, but encountered an error message after adding it to my enemy sprite from the example capx file I posted earlier.
>
> I'm not sure why the error occurred, and eventually I couldn't proceed with the revive behavior.. but I feel the revive plug-in would be the best way to have enemies respawn once they're destroyed outside of the screen (and respawn from Player.X + 500 or so.)
>
I'll try it, thanks!
I'm not currently working on it right now, but I thought of an idea that could work.
I could set a variable for every enemy called StartX and StartY.
At the start of the layout, set the value of every enemy's StartX and StartY to their starting position.
And reset their position when they go off screen.