Thanks for your replies :)
I hope my GF will be motivated enough to do the artwork, she's
way better than me for sci-fi stuff. :D
Now the actual problem is this that if your move your ship quickly to the right of an enemy, and then to the left and you do that multiples times, it will execute all the instructions and the laser will quickly change its orientation the same number of times.
I tried to use a variable that increases periodicaly when the player X is > enemy X, and decreases periodicaly when the player X is < enemy X.
When the variable reaches 1 or 0, the laser changes its orientation.
Seems very, very simple (and I'm quite sure it is), but there is something I can't figure out, it doesn't work as it should be.
Here is a test .capx with only the required sprites and instructions (and without the variable), very clear and simple : http://www.canapin.com/shooter/test.capx
(If I stick on the "select nearest laser", I won't need to check UIDs I think)
That's why I think a variable could help. If you have any idea to how fix this... :)
edit a few hours later :
I've made another document which visible variables on the layout :
I don't understand why the variable "timer" perfectly works for the first enemy instance, but not for the next ones.
Is a "for each enemy" a good start or I am wrong?