tianyagulvke

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. tilesprite = game.add.tileSprite(0, 0, the real width of img, the real height of img); tileSprite.scale(yourwidth/ yourtilesprite.texture.width,yourheight/ yourtilesprite.texture.height)
  2. yourtileSprite.scale(yourwidth/ yourtilesprite.texture.width,yourheight/ yourtilesprite.texture.height)