new TileSprite(game, x, y, width, height, key, frame)
A TileSprite is a Sprite that has a repeating texture. The texture can be scrolled and scaled independently of the TileSprite itself.Textures will automatically wrap and are designed so that you can create game backdrops using seamless textures as a source. TileSprites have no input handler or physics bodies by default, both need enabling in the same way as for normal Sprites. You shouldn't ever create a TileSprite any larger than your act