oosyrag i try madspy's example. I use this to enemy fire projectiles. (i have one sprite of enemy)
Now when player spotted enemy, enemy wil repeat spawning projectiles every 0.1*loopindex
All enemies spwan projectiles the same way, the same speed
I add to each enemy varible 'recoil'
i change 0.1*loopindex to enemy.recoil*loopindex
first enemy has recoil 0.1(slower shooting)
second enemy have recoil 0.01(high speed of shooting)
if two enemies is on screen every enemy spawn projectiles at the same speed. Its possible to fix this ?