How to add texture to background

Hi guys. How to add texture to scene background? Is there any simple method?

Just add sprite as background) see “HelloWorld.cpp”
Or you want change textures? Maybe, this help:

 SpriteFrameCache::getInstance()->addSpriteFramesWithFile("backgrounds.plist");
auto Sp = Sprite::createWithSpriteFrameName("background01.png");

Is it possible to make sprite size the same with screen size? And make the sprite image to repeat like texture?

Max size of sprite is 2560X1600px. You can try use setSkewX() to fit it to screen size.

[quote]
And make the sprite image to repeat like texture?
[/quote]I don’t no. Try see “Texture2dtest”.