1 decade ago by ansimuz
Hi,
I am creating some backgrounds dynamically and i want one of them to be unafeted by Y scrolling, i have this but its not working.
Any ideas?
I am creating some backgrounds dynamically and i want one of them to be unafeted by Y scrolling, i have this but its not working.
Any ideas?
var bg1 = new ig.BackgroundMap( 16, data1, 'media/mountain-clouds.png' ); bg1.preRender = true; bg1.repeat = true; bg1.distance = 2; bg1.scroll.y = 0;