I had the background working perfect but after a lot of problems arose with the layout size I was using I decided to increase my layout size to a 16:9 ratio of H:1024 & W:576, and adjusted all the graphics and sprites to match the new size.
Now the background when the game begins leaves a gap at the top of the screen and because it is supposed to wrap to layout also leaves a gap when the background comes around again. I have tried to set the position of the background at the start of layout using set x y but it seems to override this and go to where it was before.
The only bit of code I have referring to the background is bullet speed 200 and angle of motion 270 as I was it to scroll upwards constantly due to the game being an infinite faller.
Any ideas or advice would be appreciated!