Impact

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

1 decade ago by spacehunter

Why doesn't this work? I should see a tile place at the coordinates of pos.x/y or should I?

ig.game.backgroundMaps[0].setTile( Math.floor(this.pos.x), Math.floor(this.pos.y), 1 )

1 decade ago by spacehunter

Answer: It does work!

But, one must set the preRender flag to false.

this.backgroundMaps[0].preRender = false;
Page 1 of 1
« first « previous next › last »