Scrolling Repeating Background
sam.furnessmain
Member Posts: 2
Trying to create a scrolling background similar to the one in the tutorial on this website. I want my background to scroll to the left, however when I try to set the new image to spawn anywhere to the left of x=0 it doesnt spawn. Currently have spawn from position=(-self.size.width/2) and I can move the spawn position further to the right however anywhere below x=0 isn't being registered as a valid location.
Comments
Follow up - I can spawn the image at a negative y value but still not a negative x
have you set the wrap x scene variable to true (on)?
Are you using Wrap X?
Might be your best option!
Best,
Two.E
GSLearn.com | Templates | Free Demos | Udemy Course
Heres two ways of doing it, just depends on how your building game.
Standard very easy
Universal-game builds more work.