Phaser - TileSprite有绿线吗?

时间:2016-03-31 12:30:24

标签: phaser-framework

编辑:通过将移相器从2.4.0更新到2.4.6来解决

我想要重复背景,所以我尝试使用40x40图像的平铺精灵。它的工作方式和绿色线条之外滚动得很好:

enter image description here

这是我正在使用的代码:

this.background = this.add.tileSprite(0, 0, this.game.world.width, this.game.world.height, 'space');
this.background.autoScroll(0, 30);

如何摆脱那些以及它右下角的填充物?

0 个答案:

没有答案