Thanks for the help.
Is there a way I can tell which sprite number was randomly chosen?
I need to know so that I can work out the collision. My current method just tells me that the sprite dosent exist.
First I paste the sprites for the top row:
`bullets for row 1
Dim Bullets(116)
Bullets(0)=106
`Enemy Fire
EF_XPOS=110
sprite 100,500,100,100
for EF = 100 to Bullets(0)
sprite EF,EF_XPOS,80,100
EF_XPOS=EF_XPOS+75
ROTATE SPRITE EF,180
sync
next EF
Then I try and detect the collision:
if sprite hit(EF,1) then Delete sprite 1
shipexist = 0
I know this would work if I put the first code into the loop, but that's needlesly creating the bullets over and over.