Don't worry, I fixed it myself. The answer was to clamp down the uv textures thus:
spritetexture=LoadTexture(file$,50)
where the 50 means:
2 - Alpha Channel
16 - Clamp Down U
32 - Clamp Down V
It was wrapping the texture around. The horizontal line was coming from the bottom of my texture and wrapping round to the top.
spritetexture=LoadTexture(file$,50)
where the 50 means:
2 - Alpha Channel
16 - Clamp Down U
32 - Clamp Down V
It was wrapping the texture around. The horizontal line was coming from the bottom of my texture and wrapping round to the top.