for i = 1 to 2 //move background sky
setspritex(bkg3[i], getspritex(bkg3[i]) + 0.2)
if getspritex(bkg3[i]) > 768
setspritex(bkg3[i], getspritex(bkg3[i]) - 2 * getspritewidth(bkg3[i]))
endif
next i
for i = 1 to 2 //move background buildings
setspritex(bkg2[i], getspritex(bkg2[i]) + 1)
if getspritex(bkg2[i]) > 768
setspritex(bkg2[i], getspritex(bkg2[i]) - 2 * getspritewidth(bkg2[i]))
endif
next i
for i = 1 to 2 //move background main
setspritex(bkg[i], getspritex(bkg[i]) + 3)
if getspritex(bkg[i]) > 768
setspritex(bkg[i], getspritex(bkg[i]) - 2 * getspritewidth(bkg[i]))
endif
next i
for some reason, there is a blinking vertical line between the two cloud sprites after the first loop. the other 2 layers of background scroll fine. Is it possibly because of the very slow movement speed? Hopefully one of youz guyz has already tackled this beast and has a solution for meh. As always, thanks a bunch for the feedback!