This forum is read only and just serves as an archive. If you have any questions, please post them on

1 decade ago by ansimuz


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;

1 decade ago by tunglxx226

My opinion is to use an entity as a background :), then when everything is scrolled, you just need to update this entity's position
Page 1 of 1
« first « previous next › last »