TexturePacker拼图缝隙,解决方法1

  • Extrude 精灵边界的重复像素个数. 这个与间隔是相对应的–如果你在你的精灵的边边上看到一些透明的小点点,你就可以通过把这个值设设置大一点。
  • Extrude This repeats the pixels around the borders of sprites. This is the opposite of adding padding – if you see transparent “gaps” around the edges of your sprites, you may wish to set this to a higher value.

在TexturePacker里面,把该值设置为2.

猜你喜欢

转载自blog.csdn.net/KAMILLE/article/details/45557459